Companies
Set company sync settings
Changed onSet the sync settings for a specific company.
post/companies/{companyId}/syncSettings
Request
- Base URLhttps://api.codat.io
- URLhttps://api.codat.io/companies/{companyId}/syncSettings
- AuthAPI key in header Authorization
Request body
Example request
{
"companyId": "8a210b68-6988-11ed-a1eb-0242ac120002",
"settings": [
{
"dataType": "invoices",
"fetchOnFirstLink": true,
"syncSchedule": 24,
"syncOrder": 0,
"syncFromUtc": "2020-01-01T12:00:00.000Z",
"syncFromWindow": 24,
"monthsToSync": 24,
"isLocked": true
}
]
}Response
No Content
Changes
- info
endpoint added
- info