Platform API

<back to all web services

GetDocumentationAutomation

Get details of a specific documentation automation

Requires Authentication
The following routes are available for this service:
GET/api/automation/{AutomationId}/documentation
GetDocumentationAutomation Parameters:
NameParameterData TypeRequiredDescription
AutomationIdpathGuidNoAutomation Id.
GetDocumentationAutomationResponse Parameters:
NameParameterData TypeRequiredDescription
AutomationformAutoDocumentationModelNoDocumentation Automation
ResponseStatusformResponseStatusNo
AutoDocumentationModel Parameters:
NameParameterData TypeRequiredDescription
ReportIdqueryGuidNoReport Id
ReportquerystringNoReport Name
DocumentTypeIdqueryGuidNoDocument Type Id
DocumentTypequerystringNoDocument Type
DocumentStatusIdqueryGuidNoDocument Status Id
DocumentStatusquerystringNoThe Document Status
AutomationModel Parameters:
NameParameterData TypeRequiredDescription
AutomationIdqueryGuidNoThe unique automation Id
AutomationTypeIdqueryGuidNoThe automation type Id
AutomationTypequerystringNoThe automation type
ObjectIdqueryGuidNoThe object this automation applies to
ObjectNamequerystringNoThe object name this automation applies to
RmsTableCtxIdObjectqueryGuidNoThe Id of the object type that this automation applies to.
RmsTableCtxNamequerystringNoThe name of the object type that this automation applies to.
ActionListqueryList<Guid>NoA guid list containing the selected system action Id's that trigger this automation.
ActionsquerystringNoA comma separated string of the selected system action names that trigger this automation.
NamequerystringNoName of the automation.
DescriptionquerystringNoDescription of the automation
OwnerContactIdqueryGuidNoOwner Contact Id
RecordStatusquerystringNoRecord Status of the automation.

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/automation/{AutomationId}/documentation HTTP/1.1 
Host: pfapi.pstpf.com.au 
Accept: application/json
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: length

{"Automation":{"ReportId":"00000000-0000-0000-0000-000000000000","Report":"String","DocumentTypeId":"00000000-0000-0000-0000-000000000000","DocumentType":"String","DocumentStatusId":"00000000-0000-0000-0000-000000000000","DocumentStatus":"String","AutomationId":"00000000-0000-0000-0000-000000000000","AutomationTypeId":"00000000-0000-0000-0000-000000000000","AutomationType":"String","ObjectId":"00000000-0000-0000-0000-000000000000","ObjectName":"String","RmsTableCtxIdObject":"00000000-0000-0000-0000-000000000000","RmsTableCtxName":"String","ActionList":["00000000-0000-0000-0000-000000000000"],"Actions":"String","Name":"String","Description":"String","OwnerContactId":"00000000-0000-0000-0000-000000000000","RecordStatus":"String"},"ResponseStatus":{"ErrorCode":"String","Message":"String","StackTrace":"String","Errors":[{"ErrorCode":"String","FieldName":"String","Message":"String","Meta":{"String":"String"}}],"Meta":{"String":"String"}}}