Get the route settlement PDF
GET
Returns a link to the route settlement PDF for a day cycle, along with the report data. A cached copy is reused when the day is closed and the active template has not changed; otherwise the PDF is regenerated.
BearerAuthheader
AuthorizationBearer <JWT>dayCycleId*stringID of the day cycle, from List day cycles or Get the active day cycle.
Format
uuidOK
*/*- response
status*stringOutcome of the call: SUCCESS when the request worked, ERROR when it did not.
message*stringShort human-readable message describing the result, for logs or display; do not parse it.
data?|Key-value result. For PDF endpoints: pdfUrl (a temporary signed download link), templateId, templateVersion, generatedAt plus document keys such as dayCycleId.
Example Request
curl -X GET 'https://beta.iotoms.com/api/v1/ops/day-cycles/497f6eca-6276-4993-bfeb-53cbbbba6f08/route-settlement'Example Response
{ "status": "string", "message": "string", "data": { "property1": {}, "property2": {} }}