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 specified a null character for an attribute whose type is not string, the attribute is assumed to be unspecified.
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.