Success JSON message payload
The ObjectServer HTTP interface returns a JSON success message in the payload. The HTTP response code informs the requester whether the request was successful, and the JSON message gives additional information. This information includes the number of rows in a table collection that were affected by the request.
Name | Value type | Description |
---|---|---|
affectedRows | Integer | The number of rows affected by the request. For requests that are applied to a table collection, the value can range from 0 to many. |
keyField | String | The key field ID of the a single affected resource. The key field ID is present only in successful row insertions. |
uri | String | The URI of the successfully inserted row or the URI of the successful request. For a successful row insertion, this URI will match the URI in the HTTP header Location. |