POST api/Transaction/StartTransaction
Request Information
URI Parameters
None.
Body Parameters
AddTransactionModel| Name | Description | Type | Additional information |
|---|---|---|---|
| UserID | globally unique identifier |
None. |
|
| CustomerID | globally unique identifier |
None. |
|
| VehicleID | globally unique identifier |
None. |
|
| StationID | globally unique identifier |
None. |
|
| ConnectorNumber | integer |
None. |
|
| Platform | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"UserID": "f4116e4b-88a2-4302-a811-4896e75e752e",
"CustomerID": "6a5b67fe-3d3d-4d5c-8a98-06e3bcfc8589",
"VehicleID": "ff31888b-dc82-4fa8-a945-0b2f8337812f",
"StationID": "ce55d83e-e83e-43b3-9601-681928e744e7",
"ConnectorNumber": 5,
"Platform": "sample string 6"
}
text/html
Sample:
{"UserID":"f4116e4b-88a2-4302-a811-4896e75e752e","CustomerID":"6a5b67fe-3d3d-4d5c-8a98-06e3bcfc8589","VehicleID":"ff31888b-dc82-4fa8-a945-0b2f8337812f","StationID":"ce55d83e-e83e-43b3-9601-681928e744e7","ConnectorNumber":5,"Platform":"sample string 6"}
application/xml, text/xml
Sample:
<AddTransactionModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/VarCharge.RoamingApi.Models.Transaction"> <ConnectorNumber>5</ConnectorNumber> <CustomerID>6a5b67fe-3d3d-4d5c-8a98-06e3bcfc8589</CustomerID> <Platform>sample string 6</Platform> <StationID>ce55d83e-e83e-43b3-9601-681928e744e7</StationID> <UserID>f4116e4b-88a2-4302-a811-4896e75e752e</UserID> <VehicleID>ff31888b-dc82-4fa8-a945-0b2f8337812f</VehicleID> </AddTransactionModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
ObjectNone.
Response Formats
application/json, text/json, text/html
Sample:
{}
application/xml, text/xml
Sample:
<z:anyType xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns:z="http://schemas.microsoft.com/2003/10/Serialization/" />