| All Verbs | /AddRemAttachment/{ClientKey} |
|---|
namespace DaBRemServices.ServiceModel
open System
open System.Collections
open System.Collections.Generic
open System.Runtime.Serialization
open ServiceStack
open ServiceStack.DataAnnotations
[<AllowNullLiteral>]
type AddRemAttachmentResponse() =
member val AttachmentID:Int64 = new Int64() with get,set
[<AllowNullLiteral>]
type AddRemAttachment() =
member val ClientKey:String = null with get,set
member val AuthorizationID:String = null with get,set
member val RemID:Int64 = new Int64() with get,set
member val AttacmentName:String = null with get,set
member val Content:Byte[] = [||] with get,set
member val SubscriberID:String = null with get,set
To override the Content-type in your clients, use the HTTP Accept Header, append the .jsv suffix or ?format=jsv
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
POST /AddRemAttachment/{ClientKey} HTTP/1.1
Host: remservices.eyyubiye.bel.tr
Accept: text/jsv
Content-Type: text/jsv
Content-Length: length
{
ClientKey: String,
AuthorizationID: String,
RemID: 0,
AttacmentName: String,
Content: AA==,
SubscriberID: String
}
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length
{
AttachmentID: 0
}