| DELETE | /api/objectConnection/{ObjectConnectionId} |
|---|
import Foundation
import ServiceStack
/**
* Delete the object connection
*/
// @Api(Description="Delete the object connection ")
public class DeleteObjectConnection : Codable
{
public var objectConnectionId:String
required public init(){}
}
// @ApiResponse(Description="Deletes Objectconnection.")
public class DeleteObjectConnectionResponse : Codable
{
public var responseStatus:ResponseStatus
required public init(){}
}
Swift DeleteObjectConnection DTOs
To override the Content-type in your clients, use the HTTP Accept Header, append the .other suffix or ?format=other
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/jsonl
HTTP/1.1 200 OK
Content-Type: text/jsonl
Content-Length: length
{"ResponseStatus":{"ErrorCode":"String","Message":"String","StackTrace":"String","Errors":[{"ErrorCode":"String","FieldName":"String","Message":"String","Meta":{"String":"String"}}],"Meta":{"String":"String"}}}