accounting
category

Create a category

Changed on

Creates a AccountingCategory. Provide the unified AccountingCategory fields in the request body; they are mapped to the provider's API. Returns the created AccountingCategory.

post/accounting/{connection_id}/category

Request

Path parameters

connection_idstring required

ID of the connection

Query parameters

fieldsstring[]

Fields to return

rawstring

Raw parameters to include in the 3rd-party request. Encoded as a URL component. eg. raw parameters: foo=bar&zoo=bar -> raw=foo%3Dbar%26zoo%3Dbar

Request body

idstring
created_atstring date-time

(ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)

updated_atstring date-time

(ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)

namestring
descriptionstring
is_activeboolean
parent_idstring
type'CLASS' | 'DEPARTMENT' | 'LOCATION' | 'PROJECT' | 'TASK' | 'CUSTOM' | 'EXPENSE' | 'INCOME'

The kind of dimension

codestring

platform-side tracking code

organization_idstring
rawobject

Response

Successful

idstring
created_atstring date-time

(ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)

updated_atstring date-time

(ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)

namestring
descriptionstring
is_activeboolean
parent_idstring
type'CLASS' | 'DEPARTMENT' | 'LOCATION' | 'PROJECT' | 'TASK' | 'CUSTOM' | 'EXPENSE' | 'INCOME'

The kind of dimension

codestring

platform-side tracking code

organization_idstring
rawobject

Changes

    • info

      added the new optional request property

    • info

      added the enum value metadata to the property items/ of the query request parameter fields

    • info

      added the optional property to the response with the status

    • info

      added the new optional request property

    • info

      added the new optional request property

    • info

      added the new optional request property

    • info

      added the enum value code to the property items/ of the query request parameter fields

    • info

      added the enum value organization_id to the property items/ of the query request parameter fields

    • info

      added the enum value type to the property items/ of the query request parameter fields

    • 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