Syndai Docs

Months and their close state

Use a key with only read scopes. Your customer_id is in the reply to Get the calling API key.

GET
/api/v1/external/coding/customers/{customer_id}/books/periods

Every month since the books start, newest first, with its close state and checks. Owners and admins only.

Authorization

CustomerApiKey
headerAuthorizationBearer <API Key>

Customer API key sent as a bearer token

Path Parameters

customer_id*string
Formatuuid

Response Body

Request fulfilled, document follows

application/json
  1. response
periods*array<>
Example Request
curl -X GET 'https://api.syndai.ai/api/v1/external/coding/customers/497f6eca-6276-4993-bfeb-53cbbbba6f08/books/periods'
Example Response
{  "periods": [    {      "checks": [        {          "detail": "string",          "key": "string",          "label": "string",          "ok": true        }      ],      "close_version": 0,      "closed_at": "2019-08-24T14:15:22Z",      "period": "string",      "status": "open",      "tb_sha256": "string"    }  ]}
Was this page helpful?