Download all files for a company
The Download files endpoint downloads all files that have been uploaded by to SMB to Codat. A date may be specified to download any files uploaded on the date provided.
Query parameters
In Codat's data model, dates and times are represented using the <a class="external" href="https://en.wikipedia.org/wiki/ISO_8601" target="_blank">ISO 8601 standard</a>. Date and time fields are formatted as strings; for example:
2020-10-08T22:40:50Z
2021-01-01T00:00:00
When syncing data that contains DateTime fields from Codat, make sure you support the following cases when reading time information:
- Coordinated Universal Time (UTC): 2021-11-15T06:00:00Z
- Unqualified local time: 2021-11-15T01:00:00
- UTC time offsets: 2021-11-15T01:00:00-05:00
Time zones
Not all dates from Codat will contain information about time zones.
Where it is not available from the underlying platform, Codat will return these as times local to the business whose data has been synced.
Only download files uploaded on this date.
Response
Success
Changes
Changed in 6 of the 41 revisions of this API.119
- ○
added the optional property
validationto the response with the400statusresponse-optional-property-added
- ○
added the optional property
validationto the response with the401statusresponse-optional-property-added
- ○
added the optional property
validationto the response with the402statusresponse-optional-property-added
- ○
added the optional property
validationto the response with the403statusresponse-optional-property-added
- ○
added the optional property
validationto the response with the404statusresponse-optional-property-added
- ○
added the optional property
validationto the response with the429statusresponse-optional-property-added
- ○
added the optional property
validationto the response with the500statusresponse-optional-property-added
- ○
added the optional property
validationto the response with the503statusresponse-optional-property-added
- ○
- ○
added the non-success response with the status
402response-non-success-status-added
- ○
added the non-success response with the status
403response-non-success-status-added
- ○
added the non-success response with the status
500response-non-success-status-added
- ○
added the non-success response with the status
503response-non-success-status-added
- ○
- ○
added the non-success response with the status
400response-non-success-status-added
- ○
added the non-success response with the status
401response-non-success-status-added
- ○
added the non-success response with the status
404response-non-success-status-added
- ○
added the non-success response with the status
429response-non-success-status-added
- ○
- ●
deleted the
pathrequest parametercompanyIdrequest-parameter-removed
- ○
added the media type
application/octet-streamfor the response with the status200response-media-type-added
- ●
- ○
for the
queryrequest parameterdate, the type/format was generalized fromstring/date-timetostring/request-parameter-type-generalized
- ○
- ○
the endpoint scheme security
API_Keywas removed from the APIapi-security-removed
This revision also has 4 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ○