Platform API

<back to all web services

GetObjectConnections

Get object connections for the specified object and connection method.

Requires Authentication
The following routes are available for this service:
GET/api/objects/{RmsTableCtxIdConnectionMethod}/connectionsFrom/{FromObjectId}
GET/api/objects/{RmsTableCtxIdConnectionMethod}/connectionsTo/{ToObjectId}
GetObjectConnections Parameters:
NameParameterData TypeRequiredDescription
FromObjectIdqueryGuidYes'From' object ID in the connection.
ToObjectIdqueryGuidYes'To' object ID in the connection.
RmsTableCtxIdConnectionMethodqueryGuidYesGuid representing the Connection Method to use to connect the objects with.
RecordStatusquerystringNoStatus of object Connections to retrieve, if not specified active connections are retrieved by default.
GetObjectConnectionsResponse Parameters:
NameParameterData TypeRequiredDescription
ObjectConnectionsformList<ObjectConnectionModel>No
ResponseStatusformResponseStatusNo
ObjectConnectionModel Parameters:
NameParameterData TypeRequiredDescription
ObjectConnectionIdformGuidNo
ObjectIdFromformGuidNo
ObjectFromReferenceformstringNo
ObjectToReferenceformstringNo
ObjectIdToformGuidNo
ConnectionMethodIdformGuidNo
ObjectFromNameformstringNo
ObjectToNameformstringNo
RecordStatusformstringNo

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

To embed the response in a jsonp callback, append ?callback=myCallback

HTTP + JSON

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

GET /api/objects/{RmsTableCtxIdConnectionMethod}/connectionsFrom/{FromObjectId} HTTP/1.1 
Host: pfapi.pstpf.com.au 
Accept: application/json
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: length

{"ObjectConnections":[{"ObjectConnectionId":"00000000-0000-0000-0000-000000000000","ObjectIdFrom":"00000000-0000-0000-0000-000000000000","ObjectFromReference":"String","ObjectToReference":"String","ObjectIdTo":"00000000-0000-0000-0000-000000000000","ConnectionMethodId":"00000000-0000-0000-0000-000000000000","ObjectFromName":"String","ObjectToName":"String","RecordStatus":"String"}],"ResponseStatus":{"ErrorCode":"String","Message":"String","StackTrace":"String","Errors":[{"ErrorCode":"String","FieldName":"String","Message":"String","Meta":{"String":"String"}}],"Meta":{"String":"String"}}}