Skip to main content
POST
Attach users to a contract

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

contract_id
integer
required

Body

application/json
users
object[]
required

Response

200 - application/json

Users attached to contract with full or partial success

status
enum<string>

Result status for attach operation

Available options:
success,
partial_success,
failure
company_id
integer

Company ID

contract_id
integer

Contract ID

records_received
integer

Total number of date records received

records_created
integer

Total number of date records successfully created

records_rejected
integer

Total number of date records rejected

user_ids
integer[]

Array of user IDs that were successfully assigned to the contract

assigned
object[]

Array of user assignments for the contract

errors
object[]

Array of user assignments that failed to be assigned to the contract