Send answers
POST/api/v2/connected-company/answers
Stores the connected company's answers for one or more periods, all or nothing: if any answer is invalid, nothing is stored and errors lists every problem. Send only data points from the list agreed with you: a request containing any other data point is rejected as a whole, with reason DataPointNotInCatalog for each of them. An answer replaces the earlier one for the same data point and period; data points you leave out keep their value, so resending is safe. Send only values you have: 0 is stored as zero, and there is no way to remove a value. Unknown fields are ignored.
Request
Responses
- 200
- 400
- 401
- 403
- 429
Every answer was stored.
The request is malformed, too large, or has invalid answers (listed in errors), including data points outside the list agreed with you, or the X-Company-Access-Token header is missing.
The API key is missing or invalid.
The access token is unknown or has been revoked; the company needs to connect again.
Too many requests across your API keys; wait for Retry-After.