Skip to main content

Create a person allocation

POST 

/api/people-allocations

Required permissions:

  • planning.modify: to create allocation for a project where the user is PM or Account
  • planning.modify_other: to create allocation for a project where the user is not PM nor Account
  • planning.modify_past: to create allocation on today or in a date in the past

Here the dedicated support page.

Request

Header Parameters

    Wethod-Company stringrequired

    The company you want to interact with

    Wethod-Version stringrequired

    The API version you want to use

Body

    person_id integerrequired

    ID of the person to associate with this allocation

    project_id integerrequired

    ID of the project to associate with this allocation

    date daterequired

    Allocation date. This follows the YYYY-MM-DD format

    hours integerrequired

    Possible values: >= 1 and <= 8

    Allocation total hours

Responses

Returns the allocation created.

Schema

    id integerrequired

    Possible values: >= 1

    created_at date-timerequired
    updated_at date-timerequired
    date daterequired
    hours integerrequired

    Possible values: <= 8

    project_id integerrequired

    Possible values: >= 1

    ID of the project related to this allocation

    person_id integerrequired

    Possible values: >= 1

    ID of the person related to this allocation

    deleted_at date-time
Loading...