Skip to main content
POST
Create Bulk Driver Agreements

Authorizations

Authorization
string
header
required

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

Body

application/json
agreement_number
string
required

Unique number assigned to the agreement.

Example:

"ABC-0000-0004"

agreement_start_date
string<date-time>
required

Start date of the agreement (ISO 8601 format).

Example:

"2026-01-09T00:00:00Z"

agreement_end_date
string<date-time>
required

End date of the agreement (ISO 8601 format).

Example:

"2026-01-10T11:59:59Z"

driver
integer
required

ID of the driver associated with the agreement.

Example:

103

vehicle
integer
required

ID of the vehicle associated with the agreement.

Example:

7883

Response

201 - application/json

Bulk Driver Agreements Created Successfully

agreement_number
string

Unique identifier of the created agreement.

Example:

"ABC-0000-0004"

agreement_start_date
string<date-time>

Start date of the created agreement.

Example:

"2026-01-09T00:00:00-05:00"

agreement_end_date
string<date-time>

End date of the created agreement.

Example:

"2026-01-10T11:59:59.990000-05:00"

driver
integer

ID of the driver linked to the created agreement.

Example:

103

vehicle
integer

ID of the vehicle linked to the created agreement.

Example:

7883

parent_agreement
string | null

Parent agreement ID if applicable; null otherwise.

Example:

null