PUT api/Card/SetActiveCardStatus

Request Information

URI Parameters

None.

Body Parameters

ReloadRequest
NameDescriptionTypeAdditional information
cardNumber

string

None.

cardType

integer

None.

productId

integer

None.

deviceId

integer

None.

employeeId

integer

None.

deviceType

integer

None.

deviceSeq

integer

None.

operationId

integer

None.

deviceDate

string

None.

amount

decimal number

None.

PIN

string

None.

enabled

boolean

None.

CompanyId

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "cardNumber": "sample string 1",
  "cardType": 2,
  "productId": 3,
  "deviceId": 4,
  "employeeId": 5,
  "deviceType": 6,
  "deviceSeq": 7,
  "operationId": 8,
  "deviceDate": "sample string 9",
  "amount": 10.0,
  "PIN": "sample string 11",
  "enabled": true,
  "CompanyId": 13
}

application/xml, text/xml

Sample:
<CardController.ReloadRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CustomerAPI.Controllers">
  <CompanyId>13</CompanyId>
  <PIN>sample string 11</PIN>
  <amount>10</amount>
  <cardNumber>sample string 1</cardNumber>
  <cardType>2</cardType>
  <deviceDate>sample string 9</deviceDate>
  <deviceId>4</deviceId>
  <deviceSeq>7</deviceSeq>
  <deviceType>6</deviceType>
  <employeeId>5</employeeId>
  <enabled>true</enabled>
  <operationId>8</operationId>
  <productId>3</productId>
</CardController.ReloadRequest>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

boolean

Response Formats

application/json, text/json

Sample:
true

application/xml, text/xml

Sample:
<boolean xmlns="http://schemas.microsoft.com/2003/10/Serialization/">true</boolean>