POST https://api.zoined.com/departments?dryRun=false&separator=%3B&encoding=utf-8
Security
bearerAuth
Any of:
- Mock serverhttps://zapi-api.zoined.com/_mock/departments
- https://api.zoined.comhttps://api.zoined.com/departments
curl -i -X POST \
'https://zapi-api.zoined.com/_mock/departments?dryRun=false&separator=%3B&encoding=utf-8' \
-H 'Authorization: Bearer <YOUR_token_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"department_id": "123",
"name": "Women'\''s clothing",
"floor_area": 20,
"organisation_id": "234",
"no_customer_seats": 50,
"custom_dimension1": "Class 3",
"custom_dimension2": "New",
"custom_dimension3": "Old",
"custom_dimension4": "New",
"custom_dimension5": "New",
"source_system": "ABCDEF"
}'Response
{ "status": "OK", "msg": "1 entity added" }