Mobile SDK

iOS or Android

    API Reference - pims.vehicle.vin-remote

    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: LongRangeRemote
    Security: Authentication is required.
    Prerequisites: Activation Steps being performed.
    Operation:

    This API allows to select the vehicle VIN before sending remote command with pims.vehicle.command.

    Input Parameter
    Param name Description Type Unit/Values Example Required
    vin

    Vehicle Identification Number

    String

    n/a

    VR1AB12C3D45678909 true
    Output Data
    No data
    Error
    No errors
    Code Example
    1
    2
    3
    4
    5
    6
    7
    8
    9
    
    pims.set("pims.vehicle.vin",
      mapOf( /* parameters */  
        Pair("vin", "VR1AB12C3D45678909")
      ) 
    ) { message -> when (message["status"] as? String) {
          "SUCCEEDED" -> { }                          // handle succeeded status
          "FAILED" ->    { }                          // handle failed status
      } }
    
    1
    2
    3
    4
    5
    6
    7
    8
    9
    
    pims.set(api: "pims.vehicle.vin",
      parameters: [  
      "vin": "VR1AB12C3D45678909"
      ]
      ) { (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