PUT api/AAVM/Card_Sale

Request Information

URI Parameters

None.

Body Parameters

CardSaleTransactionRequest
NameDescriptionTypeAdditional information
DeviceID

integer

None.

Card_ID

integer

None.

ProductID_Card

integer

None.

ProductID_Reload

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.

Card_Class

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "DeviceID": 1,
  "Card_ID": 2,
  "ProductID_Card": 3,
  "ProductID_Reload": 4,
  "Operation_Type": 5,
  "ePurse": 6.0,
  "Rides": 7,
  "Pass_Start": "sample string 8",
  "Pass_End": "sample string 9",
  "dtFecha": "sample string 10",
  "Device_TranID": 11,
  "Device_User": "sample string 12",
  "Days": 13,
  "Card_Class": 14
}

application/xml, text/xml

Sample:
<AAVMController.CardSaleTransactionRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/OperationsAPI.Controllers">
  <Card_Class>14</Card_Class>
  <Card_ID>2</Card_ID>
  <Days>13</Days>
  <DeviceID>1</DeviceID>
  <Device_TranID>11</Device_TranID>
  <Device_User>sample string 12</Device_User>
  <Operation_Type>5</Operation_Type>
  <Pass_End>sample string 9</Pass_End>
  <Pass_Start>sample string 8</Pass_Start>
  <ProductID_Card>3</ProductID_Card>
  <ProductID_Reload>4</ProductID_Reload>
  <Rides>7</Rides>
  <dtFecha>sample string 10</dtFecha>
  <ePurse>6</ePurse>
</AAVMController.CardSaleTransactionRequest>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

AAVMResponse
NameDescriptionTypeAdditional 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>