Parameters

Parameter

Type

Required

Description

name

String

Yes

The name of the department you're adding.

location_id

Integer

Yes

The ID of the location that you're assigning this department to.

Example response

{
  "status": "success",
  "data": {
    "department": [
      {
        "id": 261422,
        "location_id": 408
      }
    ]
  },
  "message": "Department added."
}
Language
Authentication
Basic
base64
:
Response
Click Try It! to start a request and see the response here!