Authorization: Bearer ********************
{
"name": "vortals",
"code": "f4gie",
"alias": "eyeballs",
"client": {
"code": "s59sh"
},
"coords": "-57.1330,-147.9869",
"radius": "21",
"radius_min": "81",
"address": "Northwest",
"country_name": "Perú",
"state_name": "Comunidad de Madrid",
"city_name": "Marbella",
"phone": "928.859.781",
"phone_alt": "984976237",
"email": "Rafael_Velsquez@yahoo.com",
"email_alt": "Marisol_Portillo2@yahoo.com",
"extra1": null,
"extra2": null,
"extra3": "aute enim",
"extra4": null,
"extra5": null,
"status": 0,
"city": {
"name": "Gerona"
},
"zone": {
"name": "Zona Sur"
}
}
curl --location --request POST 'https://api.indata.com.co/api/v1/client_branch' \
--header 'x-api-key;' \
--header 'Content-Type: application/json' \
--data-raw '{
"name": "vortals",
"code": "f4gie",
"alias": "eyeballs",
"client": {
"code": "s59sh"
},
"coords": "-57.1330,-147.9869",
"radius": "21",
"radius_min": "81",
"address": "Northwest",
"country_name": "Perú",
"state_name": "Comunidad de Madrid",
"city_name": "Marbella",
"phone": "928.859.781",
"phone_alt": "984976237",
"email": "Rafael_Velsquez@yahoo.com",
"email_alt": "Marisol_Portillo2@yahoo.com",
"extra1": null,
"extra2": null,
"extra3": "aute enim",
"extra4": null,
"extra5": null,
"status": 0,
"city": {
"name": "Gerona"
},
"zone": {
"name": "Zona Sur"
}
}'
{
"name": "string",
"code": "string",
"alias": "string",
"coords": "string",
"radius": "string",
"radius_min": "string",
"address": "string",
"country_name": "string",
"state_name": "string",
"city_name": "string",
"phone": "string",
"phone_alt": "string",
"email": "string",
"email_alt": "string",
"extra1": "string",
"extra2": "string",
"extra3": "string",
"extra4": "string",
"extra5": "string",
"status": 0,
"id": 0,
"id_account_customer": 0,
"id_account_geo_city": 0,
"id_account_geo_zone": 0,
"created_source": "string",
"city": {
"name": "string",
"id": 0,
"code": "string"
},
"zone": {
"name": "string",
"id": 0,
"code": "string",
"description": "string",
"isActive": true,
"city": {
"name": "string",
"id": 0,
"code": "string"
}
},
"updated_ws_at": "2019-08-24T14:15:22Z",
"created_at": "2019-08-24T14:15:22Z",
"created_by": 0,
"updated_at": "2019-08-24T14:15:22Z",
"updated_by": 0
}