DaBRemService

<back to all web services

AddRemAttachment

The following routes are available for this service:
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

F# AddRemAttachment DTOs

To override the Content-type in your clients, use the HTTP Accept Header, append the .other suffix or ?format=other

HTTP + OTHER

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/jsonl
Content-Type: text/jsonl
Content-Length: length

{"ClientKey":"String","AuthorizationID":"String","RemID":0,"AttacmentName":"String","Content":"AA==","SubscriberID":"String"}
HTTP/1.1 200 OK
Content-Type: text/jsonl
Content-Length: length

{"AttachmentID":0}