Platform API

<back to all web services

DeleteObjectConnection

Delete the object connection

Requires Authentication
The following routes are available for this service:
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 .jsv suffix or ?format=jsv

HTTP + JSV

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/jsv
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length

{
	ResponseStatus: 
	{
		ErrorCode: String,
		Message: String,
		StackTrace: String,
		Errors: 
		[
			{
				ErrorCode: String,
				FieldName: String,
				Message: String,
				Meta: 
				{
					String: String
				}
			}
		],
		Meta: 
		{
			String: String
		}
	}
}