Publish Report

Publishes a draft, as Publish in Owner Statements does: the report is computed once more and frozen, and the bookings and expenses it counts can't be counted by another report. It can't be unpublished or changed afterwards, and it isn't emailed to the owner. An expense changed after publishing doesn't change the report (isReported on Get Expenses). Returns 409 when the report is no longer a draft, or when another published report already counts some of its bookings. Requires the ownerStatements:write scope.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
string
required

_id of the report (from Get Reports)

Headers
string

Partner API key (deprecated — use OAuth 2.0 for new integrations)

string

User's authentication token (legacy). Use Authorization Bearer header for new integrations.

Responses

403

The OAuth token doesn't have the ownerStatements:write scope

429

Too many requests

Language
Credentials
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json