Get OCPI Message Logs
x-ms-visibility: "important"
Retrieves all OCPI message logs.
Query Parameters
Page to be fetched. Default: 1
Limit (No. of records per page). Max value: 100. Default: 100.
Start timestamp for the period to be fetched. Default: 7 days ago.
End timestamp for the period to be fetched. Default: Now.
Filter by specific request IDs. Comma-separated list of request IDs.
Filter by specific correlation IDs. Comma-separated list of correlation IDs.
Filter by specific log types. Comma-separated list of log types.
Free text filter for request ID, correlation ID, log type, line content and message body.
Field to be used for sorting. Default: timeStamp
Set to 'true' to sort descending based on sort key. Default: 'false'
- 200
- 400
- 401
- 500
OCPI message logs successfully retrieved.
Schema
- Array [
- ]
items object[]
approvedParty object
{
"page": 0,
"limit": 0,
"totalRecords": 0,
"hasNextPage": true,
"hasPreviousPage": true,
"items": [
{
"id": 0,
"timestamp": "2025-09-04T07:11:42.218Z",
"integrationId": "string",
"requestId": "string",
"correlationId": "string",
"logType": "string",
"line": "string",
"body": "string",
"approvedParty": {
"id": 0,
"integrationType": "string",
"partyName": "string",
"partyId": "string",
"countryCode": "string",
"version": "string",
"versionUrl": "string",
"isPlatform": true,
"isSessionPutAlways": true
}
}
]
}
Details of the validation error.
Schema
extensions object
{
"type": "string",
"title": "string",
"status": 0,
"detail": "string",
"instance": "string",
"extensions": {}
}
User not authorized.
An unexpected error occurred.
Schema
{
"errorCode": "string",
"message": "string",
"errorNumber": 0,
"helpLink": "string"
}