Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 5 Next »

Standard HTTP Headers

Unless otherwise noted in the documentation for a REST API, all ServiceMobility REST API calls must contain the following standard headers:

Header                  Description
Content-Type

Unless otherwise noted in the REST API documentation, the Content-Type HTTP Header must be set to application/json.

x-access-token

As noted in the section on REST API Authentication, JSON Web Tokens are the preferred method of authentication and authorization for ServiceMobility REST API calls.

Unless the old customerid and customercode authentication and authorization mechanism is being used, or unless otherwise noted in the REST API documentation, the x-access-token HTTP Header must be set to a valid JSON Web Token (JWT).

Standard HTTP Response Headers

Unless otherwise noted in the documentation for a REST API, all ServiceMobility REST API responses that return an HTTP 201 response code on successful creation of an object will return the following standard response headers:

Header                  Description
Location

The URL which, when called using the GET REST API method, will return the object which has just been created.

On this page:

  • No labels