Advancement participants

An Advancement participant list is a group of users who will receive all notification of an Advancement. This list contemplates the interested users in the Advancement

To enter in the list you will have to be responsible for the Advancement (changin its status to Analyzing) or be mentioned in Advancement comments or comment in an Advancement.

There is no endpoint to add an user in an Advancement participant list. This is done automatically by Rexpense.

List participants

This endpoint list all participants in an Advancement. This list can change according to Advancement events.

The response uses the User representation shown in Memberships section.

Definition

GET https://app.rexpense.com/api/v1/advancements/:id/participants

Example Request

$ curl -u $YOUR_API_TOKEN:X -X GET https://app.rexpense.com/api/v1/advancements/1/participants \
      -H 'Accept: application/json' \
      -H 'Content-type: application/json'

Response Example

    {
      "count": 1,
      "participants": [{ "id": 1, "first_name": "John", ... }]
    }
    

Leave a participant list

This endpoint removes the user from an Advancement participant list.

Definition

DELETE https://app.rexpense.com/api/v1/advancements/:id/participants

Example Request

$ curl -u $YOUR_API_TOKEN:X -X DELETE https://app.rexpense.com/api/v1/advancements/1/participants \
      -H 'Accept: application/json' \
      -H 'Content-type: application/json'

Response Example

HTTP 204 NO CONTENT