API Reference - pims.sdk.logs
Info: Stellantis Mobile SDK for ex Groupe PSA brands (CitroĂŤn, DS, Peugeot, Opel and Vauxhall) is not publicly available for now.
This api allows to get the list of logs files.
Input Parameter | |||||
---|---|---|---|---|---|
No params |
Output Data | ||||
---|---|---|---|---|
Data name | Description | Type | Unit/Values | Example |
logPaths | Logs files paths. |
List of Strings |
|
|
Error | |
---|---|
No errors |
Code Example
1
2
3
4
5
6
7
pims.get("pims.sdk.logs"
/* no params */
) { message -> when (message["status"] as? String) {
"SUCCEEDED" -> { } // handle succeeded status
"FAILED" -> { } // handle failed status
} }
1
2
3
4
5
6
7
pims.get(api: "pims.sdk.logs"
/* no params */
) { (message) in
if message["status"] == "SUCEEDED" { } // handle succeeded status
else if message["status"] == "FAILED" { } // handle failed status
}
1
2
3
4
5
6
7
8
// representation of the `succeeded` dictionary object message as JSON
{
"transactionId": "953cfefb-bc72",
"status": "SUCCEEDED",
"result": {
"logPaths": " "
}
}
false