2021.1

Table Of Contents
Common Structures
Common JSON structures used in the PlanetPress Connect REST API include the following:
l "JSON Error" below
l JSON Identifier
l JSON Identifier List
l JSON Name/Value List (Properties Only)
l JSON Name/Value List
l JSON Name/Value Lists
JSON Error
Describes an error response returned from the Connect server.
Structure
The structure consists of an object with the following name/value pair:
l error the error response, consisting of an object with the following name/value pairs:
l status the response HTTP status code (type of number)
l message a short description of the error that occurred (type of string)
l parameter the ID of the resource that caused the error (type of string)
Example
The following is an example of this structure:
{
"error": {
"status": 404,
"message": "The specified Job Set passed into this method
refers to a missing resource.",
"parameter": "12345"
}
}
Page 39