You are viewing an old version of this page. View the current version.
Compare with Current View Page History
« Previous Version 11 Next »
The REST API allows you to perform create, read, update and delete (CRUD) operations on existing tables.
URL format:
POST /v1/table/{essence}Inserts one record in the specified table. Multiple records insertion is not supported.
POST /v1/table/{essence}
Inserts one record in the specified table. Multiple records insertion is not supported.
{ ... <column_name> => <column_value> ... }
GET /v1/table/record/{essence}Retrieves multiple records for the essence table.
GET /v1/table/record/{essence}
Retrieves multiple records for the essence table.
GET /v1/table/record/{essence}/{sys_id}Retrieves one record from the essence table.
GET /v1/table/record/{essence}/{sys_id}
Retrieves one record from the essence table.
PUT /v1/table/{essence}/{sys_id}Updates the value for the sys_id field in the essence table.
PUT /v1/table/{essence}/{sys_id}
Updates the value for the sys_id field in the essence table.
PATCH /v1/table/{essence}/{sys_id}Updates the value for the sys_id field in the essence table.
PATCH /v1/table/{essence}/{sys_id}
DELETE /v1/table/{essence}/{sys_id}Deletes the value from the sys_id field in the essence table.
DELETE /v1/table/{essence}/{sys_id}
Deletes the value from the sys_id field in the essence table.
Data retrieval operation method. Also, may return both types of values.
Default: FALSE
Valid values:
The maximum number of results returned per page.
This parameter is equal to the self::CRUD_API_LIMIT_RECORDS that can be defined (where).
Default = 20 (for GET-queries).
Page number to offset records.
Default = 1.