Mobile SDK

iOS or Android

    API Reference - pims.vehicle.cleardata

    Info: Stellantis Mobile SDK for ex Groupe PSA brands (Citroën, DS, Peugeot, Opel and Vauxhall) is not publicly available for now.
    Available since: v2.0.X
    Component: O2X
    Security: Authentication is not required.
    Operation:

    This API allows to clean the cache of GET pims.vehicle.information - 02X.

    Input Parameter
    No params
    Output Data
    No data
    Error
    No errors
    Code Example
    1
    2
    3
    4
    5
    6
    7
    
    pims.set("pims.vehicle.cleardata"
      /* no params */
    ) { message -> when (message["status"] as? String) {
          "SUCCEEDED" -> { }                          // handle succeeded status
          "FAILED" ->    { }                          // handle failed status
      } }
    
    1
    2
    3
    4
    5
    6
    7
    
    pims.set(api: "pims.vehicle.cleardata"
      /* 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
    
    // representation of the `succeeded` dictionary object message as JSON
    {
      "transactionId": "953cfefb-bc72",
      "status": "SUCCEEDED",
      "result": null
    }
    

    false