TAG LINE
TAG LINE
SMALL TITLE
The regional states defined in the system.
identity READ-ONLY | "identity": 15 Type: Number This is the unique numeric identifier for the State |
countryId | "countryId": 4 Type: Number Unique identifier for the associated Country object. |
countryName | "countryName": "Sample Name" Type: String The name of the object associated with the countryId property. |
name | "name": "California" Type: String The name of the regional state. |
sortOrder | "sortOrder": 1 Type: Number The sort order of the state data. |
code | "code": "CA" Type: String A shortcode representing the state. |
isVisible | "isVisible": true Type: Boolean Whether the state is visible or not. |
ownerId READ-ONLY | "ownerId": 26 Type: Number Unique identifier for the associated Owner object. |
ownerName READ-ONLY | "ownerName": "Sample Name" Type: String The name of the object associated with the ownerId property. |
| GET | State/ |
| Retrieve all of the State objects. | |
Retrieve all of the State objects. GET State/ HTTP/1.1 200 OK
{
"trackingId": "d2ae5304-2355-44eb-a328-272f02935f8b",
"totalCount": 1,
"items": [
{
"identity": 1,
"countryId": 2,
"countryName": "Sample Text Data",
"name": "California",
"sortOrder": "1",
"code": "CA",
"isVisible": true,
"ownerId": 22,
"ownerName": "Sample Text Data"
}
]
} | |
| GET | State/Paged |
| Retrieve all of the State objects in a paged fashion. This endpoint implements pagination for its results. Individual pages can be requested to return a particular paged set in the list of results. To learn more, see details on working with paginated endpoints. | |
Retrieve all of the State objects in a paged fashion. GET State/Paged HTTP/1.1 200 OK
{
"trackingId": "d2ae5304-2355-44eb-a328-272f02935f8b",
"pagination": {
"pageNumber": 1,
"pageSize": 20,
"excludeTotalCount": false
},
"pagedResults": {
"totalCount": 1,
"items": [
{
"identity": 1,
"countryId": 0,
"countryName": "Sample Text Data",
"name": "California",
"sortOrder": "1",
"code": "CA",
"isVisible": true,
"ownerId": 7,
"ownerName": "Sample Text Data"
}
]
}
} | |
| GET | State/{id} |
| Retrieve an instance of the State object by its ID. | |
| {id} | Unique identifier for the State object. |
Retrieve an instance of the State object by its ID. GET State/{id}HTTP/1.1 200 OK
{
"trackingId": "d2ae5304-2355-44eb-a328-272f02935f8b",
"instance": {
"identity": 1,
"countryId": 15,
"countryName": "Sample Text Data",
"name": "California",
"sortOrder": "1",
"code": "CA",
"isVisible": true,
"ownerId": 6,
"ownerName": "Sample Text Data"
}
} | |