ReportCommitRequestBody
The request body for the POST /api/v1/reports/commit_records endpoint.
id_reportstringrequired
The ID of the report to use to locate time/expense records to commit.
Example:
D964DF9968B8424AB1E939BEDB44C68Dstartstringrequired
The start date of the period to commit in YYYYMMDD (F8) format.
Example:
20210101endstringrequired
The end date of the period to commit in YYYYMMDD (F8) format.
Example:
20210131period_indexinteger
An offset from the time period given by start and end to move forward
(if positive) or backward (if negative) in time.
Example:
-1ReportCommitRequestBody
{
"id_report": "D964DF9968B8424AB1E939BEDB44C68D",
"start": "20210101",
"end": "20210131",
"period_index": -1
}