| DELETE | /api/objectConnection/{ObjectConnectionId} |
|---|
namespace Eros.Saguna.Common.WebAPIModel.ServiceModels
open System
open System.IO
open System.Collections
open System.Collections.Generic
open System.Runtime.Serialization
open ServiceStack
open ServiceStack.DataAnnotations
[<ApiResponse(Description="Deletes Objectconnection.")>]
[<AllowNullLiteral>]
type DeleteObjectConnectionResponse() =
member val ResponseStatus:ResponseStatus = null with get,set
///<summary>
///Delete the object connection
///</summary>
[<Api(Description="Delete the object connection ")>]
[<AllowNullLiteral>]
type DeleteObjectConnection() =
member val ObjectConnectionId:Guid = new Guid() with get,set
F# DeleteObjectConnection DTOs
To override the Content-type in your clients, use the HTTP Accept Header, append the .csv suffix or ?format=csv
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
DELETE /api/objectConnection/{ObjectConnectionId} HTTP/1.1
Host: pfapi.pstpf.com.au
Accept: text/csv
HTTP/1.1 200 OK
Content-Type: text/csv
Content-Length: length
{"ResponseStatus":{"ErrorCode":"String","Message":"String","StackTrace":"String","Errors":[{"ErrorCode":"String","FieldName":"String","Message":"String","Meta":{"String":"String"}}],"Meta":{"String":"String"}}}