Departments API (/departments)

Use the departments API to mimic your business' operating structure and organize content groups and users accordingly.

Use the departments API to mimic your business' operating structure and organize content groups and users accordingly.

The URL to access departments is: https://<instance>/api/departments

See Integration Best Practices for more info.

Actions

The Departments API allows you to:

Verb Path Action Description
POST /api/departments create Create department
GET /api/departments index Query departments
GET /api/departments/:id show Show department
PUT /api/departments/:id update Update department

Elements

The following elements are available for the Departments API:

Element Description Required Field? Unique? Allowable Value Api_In Field? Api_Out Field? Data Type
active Control whether the Department is Active or Inactive     true, false yes yes boolean
created-at Automatically created by Coupa in the format YYYY-MM-DDTHH:MM:SS+HH:MMZ         yes datetime
created-by User who created         yes Use
id Coupa unique identifier         yes integer
name Department Name yes yes   yes yes string
updated-at Automatically created by Coupa in the format YYYY-MM-DDTHH:MM:SS+HH:MMZ         yes datetime
updated-by User who updated         yes User

Related Items


Differences between XML and JSON in Coupa

16 December 2016

Tagging API

24 April 2017

Use the Tagging API to bring in and export tags to your third-party system.

Integration Runs API

24 April 2017

Use this API to create, query, or update an integration run, as well as update the status.

Dispute Reason API

05 August 2017