| All Verbs | /SignDocumentEYPV2/ |
|---|
Imports System
Imports System.Collections
Imports System.Collections.Generic
Imports System.Runtime.Serialization
Imports ServiceStack
Imports ServiceStack.DataAnnotations
Imports DaB.Imzager.Services.ServiceModel
Namespace Global
Namespace DaB.Imzager.Services.ServiceModel
Public Partial Class BaseResponse
Public Overridable Property ServiceSuccessResult As Boolean
Public Overridable Property ErrorMesage As String
End Class
Public Enum EYPImzaType
ParafOzetiImza = 1
PaketOzetiImza = 2
NihaiOzetMuhur = 3
End Enum
Public Partial Class SignDocumentEYPResponse
Inherits BaseResponse
Public Overridable Property Result As Boolean
End Class
Public Partial Class SignDocumentEYPV2
Public Overridable Property eypImzaType As EYPImzaType
Public Overridable Property ClientKey As String
Public Overridable Property AuthorizationID As String
Public Overridable Property UserSSN As String
Public Overridable Property AgentMessage As String
Public Overridable Property DocumentId As Long
Public Overridable Property stampYn As Boolean
Public Overridable Property StampSSN As String
End Class
End Namespace
End Namespace
To override the Content-type in your clients, use the HTTP Accept Header, append the .json suffix or ?format=json
To embed the response in a jsonp callback, append ?callback=myCallback
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
POST /SignDocumentEYPV2/ HTTP/1.1
Host: imzagerservices.eyyubiye.bel.tr
Accept: application/json
Content-Type: application/json
Content-Length: length
{"eypImzaType":"ParafOzetiImza","ClientKey":"String","AuthorizationID":"String","UserSSN":"String","AgentMessage":"String","DocumentId":0,"stampYn":false,"StampSSN":"String"}
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: length
{"Result":false,"ServiceSuccessResult":false,"ErrorMesage":"String"}