Request and response formats

Storage Advisor Embedded User Guide

Version
93-07-2x
88-08-12
Audience
anonymous
Part Number
MK-97HM85022-25

JSON format is used for creating or adding resources (POST), for specifying the attribute value when changing resources (PATCH), and for getting the results of resource information (GET).

The supported character encoding is UTF-8.

Request format

  • If you specified a null character for a string-type attribute, the value of the attribute is assumed to be null.
  • If you specify a null character for an attribute other than a string-type attribute, the attribute is considered to have been omitted and processing continues.
  • If you specify an attribute other than one that can be specified for the API request in question, the attribute is considered to have been omitted and processing continues.

Response format

  • If the API processing succeeds, a response is returned in JSON format.
  • If the processing fails, depending on the contents of the error, a response in HTML format, instead of JSON format, might be returned.

    To resolve the error based on the HTTP status code in the program, check the value of Content-Type in the response header.