This method will auto-generate an ID and create a new region configuration. If an ID is specified for the region configuration, an error will be thrown.
The region configuration that you would like to be saved.
{- "name": "string",
- "default_region_id": "string",
- "zones": [
- {
- "id": "string",
- "enabled": true,
- "name": "string",
- "type": "postal code",
- "postal_code_ranges": [
- {
- "start": "string",
- "end": "string"
}
], - "states": [
- {
- "state": "string"
}
], - "countries": [
- {
- "country": "string"
}
], - "region_id": "string"
}
], - "notes": "string",
- "sys_version": 0,
- "sys_created_at": "2019-08-24T14:15:22Z",
- "sys_last_modified_at": "2019-08-24T14:15:22Z",
- "sys_created_by_id": "string",
- "sys_last_modified_by_id": "string",
- "sys_external_id": "string",
- "sys_locked": true,
- "sys_bulk_load_id": "string",
- "sys_bulk_load_record_no": 0,
- "sys_bulk_load_source_file": "string",
- "sys_directive": "string"
}
{- "name": "string",
- "default_region_id": "string",
- "zones": [
- {
- "id": "string",
- "enabled": true,
- "name": "string",
- "type": "postal code",
- "postal_code_ranges": [
- {
- "start": "string",
- "end": "string"
}
], - "states": [
- {
- "state": "string"
}
], - "countries": [
- {
- "country": "string"
}
], - "region_id": "string"
}
], - "notes": "string",
- "sys_version": 0,
- "sys_created_at": "2019-08-24T14:15:22Z",
- "sys_last_modified_at": "2019-08-24T14:15:22Z",
- "sys_created_by_id": "string",
- "sys_last_modified_by_id": "string",
- "sys_external_id": "string",
- "sys_locked": true,
- "sys_bulk_load_id": "string",
- "sys_bulk_load_record_no": 0,
- "sys_bulk_load_source_file": "string",
- "sys_directive": "string"
}
This method will look up a region configuration by the specified ID and return it back.
curl -i -X GET \ 'https://rolodex.api.756794052567.rhythmsoftware.com/regionConfigurations/:tenantId?fields=string&consistentRead=string' \ -H 'Authorization: YOUR_API_KEY_HERE'
{- "name": "string",
- "default_region_id": "string",
- "zones": [
- {
- "id": "string",
- "enabled": true,
- "name": "string",
- "type": "postal code",
- "postal_code_ranges": [
- {
- "start": "string",
- "end": "string"
}
], - "states": [
- {
- "state": "string"
}
], - "countries": [
- {
- "country": "string"
}
], - "region_id": "string"
}
], - "notes": "string",
- "sys_version": 0,
- "sys_created_at": "2019-08-24T14:15:22Z",
- "sys_last_modified_at": "2019-08-24T14:15:22Z",
- "sys_created_by_id": "string",
- "sys_last_modified_by_id": "string",
- "sys_external_id": "string",
- "sys_locked": true,
- "sys_bulk_load_id": "string",
- "sys_bulk_load_record_no": 0,
- "sys_bulk_load_source_file": "string",
- "sys_directive": "string"
}
This method will update an existing region configuration with the specified ID.
The updated region configuration that will be saved.
{- "name": "string",
- "default_region_id": "string",
- "zones": [
- {
- "id": "string",
- "enabled": true,
- "name": "string",
- "type": "postal code",
- "postal_code_ranges": [
- {
- "start": "string",
- "end": "string"
}
], - "states": [
- {
- "state": "string"
}
], - "countries": [
- {
- "country": "string"
}
], - "region_id": "string"
}
], - "notes": "string",
- "sys_version": 0,
- "sys_created_at": "2019-08-24T14:15:22Z",
- "sys_last_modified_at": "2019-08-24T14:15:22Z",
- "sys_created_by_id": "string",
- "sys_last_modified_by_id": "string",
- "sys_external_id": "string",
- "sys_locked": true,
- "sys_bulk_load_id": "string",
- "sys_bulk_load_record_no": 0,
- "sys_bulk_load_source_file": "string",
- "sys_directive": "string"
}
{- "name": "string",
- "default_region_id": "string",
- "zones": [
- {
- "id": "string",
- "enabled": true,
- "name": "string",
- "type": "postal code",
- "postal_code_ranges": [
- {
- "start": "string",
- "end": "string"
}
], - "states": [
- {
- "state": "string"
}
], - "countries": [
- {
- "country": "string"
}
], - "region_id": "string"
}
], - "notes": "string",
- "sys_version": 0,
- "sys_created_at": "2019-08-24T14:15:22Z",
- "sys_last_modified_at": "2019-08-24T14:15:22Z",
- "sys_created_by_id": "string",
- "sys_last_modified_by_id": "string",
- "sys_external_id": "string",
- "sys_locked": true,
- "sys_bulk_load_id": "string",
- "sys_bulk_load_record_no": 0,
- "sys_bulk_load_source_file": "string",
- "sys_directive": "string"
}
This method will patch an existing region configuration with the specified ID, using the HTTP PATCH specification.
The patch directives conforming to RFC 6902.
[- {
- "op": "add",
- "path": "string",
- "value": "string"
}
]
{- "name": "string",
- "default_region_id": "string",
- "zones": [
- {
- "id": "string",
- "enabled": true,
- "name": "string",
- "type": "postal code",
- "postal_code_ranges": [
- {
- "start": "string",
- "end": "string"
}
], - "states": [
- {
- "state": "string"
}
], - "countries": [
- {
- "country": "string"
}
], - "region_id": "string"
}
], - "notes": "string",
- "sys_version": 0,
- "sys_created_at": "2019-08-24T14:15:22Z",
- "sys_last_modified_at": "2019-08-24T14:15:22Z",
- "sys_created_by_id": "string",
- "sys_last_modified_by_id": "string",
- "sys_external_id": "string",
- "sys_locked": true,
- "sys_bulk_load_id": "string",
- "sys_bulk_load_record_no": 0,
- "sys_bulk_load_source_file": "string",
- "sys_directive": "string"
}
This method will delete a region configuration with the specified ID.
curl -i -X DELETE \ https://rolodex.api.756794052567.rhythmsoftware.com/regionConfigurations/:tenantId \ -H 'Authorization: YOUR_API_KEY_HERE'
"string"