REST Service Header

REST call headers are in fact HTTP headers, a required component of the message. They denote the operating parameters of the transaction, also called as metadata.

The headers include:

  • HEADER_JWT - This header is required for all operations except authenticate. The value of this header will be the token, which is returned as part of the authenticate response. This token is valid for a fixed time (default 60 minutes) and it needs to be renewed after expiry.
  • Content-type - The content type should denotes the content type of the request and response. For inventory this will be application/json