Create a new Region (Deprecated)
This operation creates a new region
- application/json
Request Body required
regionEntity object
regionName stringzones object
zone object[]
city stringcontinent stringcountry stringlatitude int32longitude int32state stringzoneEntity object
zoneName string
Responses
- 200
OK
- application/json
- Schema
- Example (from schema)
- Example 1
Schema
regions object[]
regionEntity object
regionId integerregionName stringerror object
errorMessage stringerrorCode integer
{
"regions": [
{
"regionEntity": {
"regionId": 0,
"regionName": "string"
}
}
],
"error": {
"errorMessage": "string",
"errorCode": 0
}
}
{
"regions": [
{
"regionEntity": {
"regionId": 70,
"regionName": "region1"
}
}
],
"error": {
"errorMessage": "Successful",
"errorCode": 0
}
}
Loading...