REST API response headers

These response headers are returned for all of the Sterling Control Center REST APIs.

Table 1. REST API response headers
Response Required or Optional Description
JSESSIONID Required After successfully authenticating, the server will return a cookie named JSESSIONID. Include the JSESSIONID with subsequent REST API calls that are part of the same user session. If the JSESSIONID is not included, a new user session is created on server side for each new incoming REST API call, which causes more server-side resources to be consumed. For a more secure REST API call, you can enable secure connection for the web container in order for the API call to work through HTTPS.
Content-Type Yes Defines the content-type of the API session. Defaults to json if not defined. Possible values are application/json and application/xml.

Example response header

Set-Cookie: JSESSIONID=0000XEx7pIayIMG69S-GghvQz_0:be521886-1cd3-44ba-b75c-be2d0f4c3ae1
Content-Type:application/json;charset=UTF-8