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": "5050654e-360f-46fa-be3a-1d219e8116b5",
"ParentID": "c1a8cc62-84ee-492c-a430-d26dcc49fb23",
"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.