Skip to content

Introduction ​

The REST API allows programmatic access to Situate. To use the REST API, you will need an API key. Use of SSL is supported and strongly encouraged as communications into Situate can be configured to initiate outside corporate firewalls.

Response Codes ​

The following response codes apply to all requests. Check each request type in the list below for more response codes specific to that request.

Status CodeMeaningDescription
200OKThe request was processed successfully
201CreatedResource was created and processed successfully
204No ContentThe request was processed successfully, but no data returned. E.g., confirming a workflow instance.
400Bad RequestYour request contained invalid or missing data
401UnauthorizedAuthentication failed or the authenticated session was not provided
403ForbiddenYou are authenticated but do not have permission to perform the operation, or a license restriction prevents it
404Not FoundThe URI does not match any of the recognized resources, or, if you are asking for a specific resource with an ID, that resource does not exist
405Method Not AllowedThe resource does not support the HTTP method used
406Not AcceptableThe resource cannot produce a response in the format requested by the Accept header
415Unsupported Media TypeThe Content-Type header is not supported by the resource
422Unprocessable EntityThe request is well-formed but cannot be completed as given. E.g., adding an asset that requires administrator credentials.
500Internal Server ErrorThe server was unable to process request or downstream system failed
503Service UnavailableThe Situate server is starting up or a required internal service is not available

Request and Response Formats ​

You can specify the formats you want to use for request and response data.

Supported Request Formats ​

Use the Content-Type header to specify the format your data is in.

  • JSON: application/json
  • XML: application/xml

Supported Response Formats ​

Use the Accept header to specify the desired output format. Not all resources will support all formats. Please review specific resource for more information.

  • JSON: application/json

Workload Automation and Orchestration