PUT Application/PutRegions
Request Information
URI Parameters
None.
Body Parameters
Collection of Region| Name | Description | Type | Additional information |
|---|---|---|---|
| ID | globally unique identifier |
None. |
|
| ParentID | globally unique identifier |
None. |
|
| Code | string |
Required |
|
| Name | string |
Required |
|
| IsActive | boolean |
Required |
|
| IsCountry | boolean |
Required |
|
| IsProvince | boolean |
Required |
|
| IsCity | boolean |
Required |
|
| IsSuburb | boolean |
Required |
|
| Latitude | decimal number |
None. |
|
| Longitude | decimal number |
None. |
Request Formats
application/json, text/json
Sample:
[
{
"$id": "1",
"ID": "06a2e2e0-d900-4b9f-8792-88a3a006d7f8",
"ParentID": "0d09cff6-7314-4cca-a557-2b01e1b5b114",
"Code": "sample string 2",
"Name": "sample string 3",
"IsActive": true,
"IsCountry": true,
"IsProvince": true,
"IsCity": true,
"IsSuburb": true,
"Latitude": 1.0,
"Longitude": 1.0
},
{
"$ref": "1"
}
]
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
ServiceResponse| Name | Description | Type | Additional information |
|---|---|---|---|
| IsSuccess | boolean |
None. |
|
| ErrorMessage | string |
None. |
|
| Code | string |
None. |
|
| StackTrace | string |
None. |
|
| Response | ServiceItem |
None. |
Response Formats
application/json, text/json
Sample:
Sample not available.