POST api/AAVM/Insert_Transaction
Request Information
URI Parameters
None.
Body Parameters
TransactionRequestName | Description | Type | Additional information |
---|---|---|---|
DeviceID | integer |
None. |
|
Card_ID | integer |
None. |
|
ProductID | integer |
None. |
|
Operation_Type | integer |
None. |
|
ePurse | decimal number |
None. |
|
Rides | integer |
None. |
|
Pass_Start | string |
None. |
|
Pass_End | string |
None. |
|
dtFecha | string |
None. |
|
Device_TranID | integer |
None. |
|
Device_User | string |
None. |
|
Days | integer |
None. |
Request Formats
application/json, text/json
Sample:
{ "DeviceID": 1, "Card_ID": 2, "ProductID": 3, "Operation_Type": 4, "ePurse": 5.0, "Rides": 6, "Pass_Start": "sample string 7", "Pass_End": "sample string 8", "dtFecha": "sample string 9", "Device_TranID": 10, "Device_User": "sample string 11", "Days": 12 }
application/xml, text/xml
Sample:
<AAVMController.TransactionRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/OperationsAPI.Controllers"> <Card_ID>2</Card_ID> <Days>12</Days> <DeviceID>1</DeviceID> <Device_TranID>10</Device_TranID> <Device_User>sample string 11</Device_User> <Operation_Type>4</Operation_Type> <Pass_End>sample string 8</Pass_End> <Pass_Start>sample string 7</Pass_Start> <ProductID>3</ProductID> <Rides>6</Rides> <dtFecha>sample string 9</dtFecha> <ePurse>5</ePurse> </AAVMController.TransactionRequest>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
AAVMResponseName | Description | Type | Additional information |
---|---|---|---|
Result | string |
None. |
Response Formats
application/json, text/json
Sample:
{ "Result": "sample string 1" }
application/xml, text/xml
Sample:
<AAVMController.AAVMResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/OperationsAPI.Controllers"> <Result>sample string 1</Result> </AAVMController.AAVMResponse>