/
GET ONE Table

GET ONE Table

Request

HTTP ELEMENT

Value

HTTP ELEMENT

Value

URI

/rest/crud/1.0/table/$key

METHOD

GET

Content-Type

application/json

Possible Response

Scenario

Response

Scenario

Response

$key doesn’t exist

STATUS CODE: 404

{ "error": "NOT FOUND", "message": "Not Found" }

POSITIVE

STATUS CODE: 200

{ "description": "ConnectWise Countries", "hidden": false, "inactiveFlag": false, "fields": [ { "type": "Text", "required": true, "readOnly": true, "key": "currency", "id": 86392, "name": "Currency" }, { "type": "Checkbox", "required": false, "readOnly": true, "key": "defaultFlag", "id": 86393, "name": "Default Flag" }, { "type": "Text", "required": false, "readOnly": true, "key": "cityCaption", "id": 86394, "name": "City Caption" }, { "type": "Text", "required": false, "readOnly": true, "key": "stateCaption", "id": 86395, "name": "State Caption" }, { "type": "Text", "required": false, "readOnly": true, "key": "zipCaption", "id": 86396, "name": "Zip Caption" }, { "type": "Integer", "required": false, "readOnly": true, "key": "zipMinimumLength", "id": 86397, "name": "Zip Minimum Length" }, { "type": "Text", "required": false, "readOnly": true, "key": "dialingPrefix", "id": 86398, "name": "Dialing Prefix" }, { "type": "Text", "required": false, "readOnly": true, "key": "addressFormat", "id": 86399, "name": "Address Format" }, { "type": "Text", "required": false, "readOnly": true, "key": "countryCode", "id": 86400, "name": "Country Code" } ], "key": "cw-country", "id": 1622, "name": "Countries" }