Direct costs

List direct cost attachments

Changed on

The List direct cost attachments endpoint returns a list of attachments available to download for given directCostId.

Direct costs are business expenses that don't impact Accounts Payable.

get/companies/{companyId}/connections/{connectionId}/data/directCosts/{directCostId}/attachments

Request

  • Base URL
    https://api.codat.io
  • Auth
    API key in header Authorization

Response

Success

Example response

{
  "attachments": [
    {
      "dateCreated": "2022-10-23T00:00:00Z",
      "modifiedDate": "2022-10-23T00:00:00Z",
      "sourceModifiedDate": "2022-10-23T00:00:00Z"
    }
  ]
}

Changes

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the non-success response with the status

    • info

      added the non-success response with the status

    • info

      added the non-success response with the status

    • info

      added the non-success response with the status

    • info

      added the non-success response with the status