Codebase API Documentation

Project Users

Account administrators assign users to projects to grant them access or display their involvement with the project.

API URLs

Data Method URL
All users assigned to a project GET /project/assignments
Set users assigned to a project POST /project/assignments

Object Properties

GET /project/assignments

<user>
  <company nil="true"></company>
  <first-name>Adam</first-name>
  <id type="integer">1</id>
  <last-name>Cooke</last-name>
  <username>adam</username>
  <email-address>adam@atechmedia.com</email-address>
</user>
  • id the unique ID for the user and should be used when setting ticket assignments and other entries which require a user ID.
  • All other fields are self explanatory.

Setting assignments

Send an array of users id's to /project/assignments. This will overwrite any current assignments that are currently in place.

POST /project/assignments

<users>
  <user>
    <id>5</id>
  </user>
  <user>
    <id>6</id>
  </user>
</users>