List Departments
returns back a list of all departments unpaginated
GET /v1/b2b/departments
Get a Department
returns the department associated with the id
GET /v1/b2b/departments/:id
Create a Department
creates a new department
POST /v1/b2b/departments
Update a Department
updates the department with the specified id
PUT /v1/b2b/departments
Delete a Department
Deletes the department with the specified ID.
DELETE /v1/b2b/departments/:id
Departments JSON Objects
- ID: read only, id of the department
- name: Name of the department
Departments Schema
{ "id" : "a242507c-2c9c-4e3d-8515-f20ab4d07196" , "name" : "Visitor Services" } |