accounting periods retrieve
GET {{baseUrl}}/accounting-periods/:id
Returns an AccountingPeriod
object with the given id
.
Request Params
Key | Datatype | Required | Description |
---|---|---|---|
include_remote_data | boolean | Whether to include the original data Merge fetched from the third-party to produce these models. |
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
X-Account-Token | string | (Required) Token identifying the end user. | |
Accept | string |
RESPONSES
status: OK
{"id":"3015f7b1-4d01-460d-bfab-02a52d16cbd0","remote_id":"2804580","created_at":"2021-09-15T00:00:00Z","modified_at":"2021-10-16T00:00:00Z","name":"April 2020 Financials","status":"ACTIVE","start_date":"2020-03-31T00:00:00Z","end_date":"1968-12-31T19:43:22.241Z","field_mappings":{"organization_defined_targets":{"custom_key":"custom_value"},"linked_account_defined_targets":{"custom_key":"custom_value"}},"remote_data":[{"path":"/actions","data":["Varies by platform"]}]}