Synchronize rental data
POST/v1/synchronization
This endpoint is used to synchronize rental data to link assets with contract data. If a match is found, the data is linked. If no match is found, the data is stored for future synchronization. The endpoint synchronize a single asset and related contracts, customers and contract items. Only assets owned by the authenticated account can be synchronized. If the account belongs to an organization, the account must be the organization owner to synchronize assets owned by the other accounts in that organization; a child account cannot synchronize assets owned by its parent account.
Request
Responses
- 200
- 202
- 400
- 401
- 403
- 404
- 500
Data synchronized and matched successfully
Data accepted. Asset was not matched with existing assets, but data is stored for future matching when assets are updated or added.
Bad request
Invalid or missing bearer token in Authorization header
User not allowed to make this request
Asset was not found. Returned when X-Validate-Asset-Exists is 'true' and no asset owned by the authenticated account matches the supplied identifier. Note that only assets owned by the authenticated account can be synchronized: an asset owned by a parent account cannot be synchronized using a child account, even though that asset may be readable via the Asset API.
Internal server error