Create AutoAddOnAssignment for a Project
Create AutoAddOnAssignment for a Project
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Headers
The Accept-Language request HTTP header indicates the natural language and locale that the client prefers.
"en"
Path Parameters
Project ID
Body
If you are creating for an Account
account_typeis required- for Vendor
AutoAddOnAssignments, usevendor - for Customer
AutoAddOnAssignments, usecustomer
If you are creating for a User, Rate, Job, JobAssignment
account_typeis not required and accepted
If you are creating for a Project, Order
account_typeis optional- for Vendor
AutoAddOnAssignments, usevendor - for Customer
AutoAddOnAssignments, usecustomer - for Driver
AutoAddOnAssignments, omit or leave as null
RateForEach, RatePercentOfTotal, PerLoad, FuelSurcharge "RateForEach"
driver_pay, invoicing, job, settlement, driver_day Deprecated in favor of revenue_rate_value.
customer, vendor "customer"
x >= 0The cost rate or buy price of the add on.
RateForEach, RatePercentOfTotal, PerLoad, FuelSurcharge "RateForEach"
The cost rate or buy price of the add on.
If you are creating an AutoAddOnAssignment based on an existing one, you'd need to provide this value for cascading effect.
If the AutoAddOnAssignment you are basing on already has a original_auto_add_on_assignment_id, then just copy it over.
Otherwise, use its id as the original_auto_add_on_assignment_id for the new record.
Settlement "Settlement"
Response
Created
Note:
add_on_idis deprecated