POST api/Payment/MapResponse

Request Information

URI Parameters

None.

Body Parameters

ChargingResponse
NameDescriptionTypeAdditional information
ChargingStatus

integer

None.

Message

string

None.

Descriptor

string

None.

Code

string

None.

Request Formats

application/json, text/json

Sample:
{
  "chargingStatusField": 1,
  "messageField": "sample string 2",
  "descriptorField": "sample string 3",
  "codeField": "sample string 4",
  "PropertyChanged": null
}

application/xml, text/xml

Sample:
<ChargingResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PaymentEncryptionDecryption.PaymentAPI">
  <PropertyChanged xmlns:d2p1="http://schemas.datacontract.org/2004/07/System.ComponentModel" i:nil="true" />
  <chargingStatusField>1</chargingStatusField>
  <codeField>sample string 4</codeField>
  <descriptorField>sample string 3</descriptorField>
  <messageField>sample string 2</messageField>
</ChargingResponse>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

PaymentCardInfoResponse
NameDescriptionTypeAdditional information
isSuccess

boolean

None.

chargingStatus

integer

None.

message

string

None.

descriptor

string

None.

code

string

None.

Response Formats

application/json, text/json

Sample:
{
  "isSuccess": true,
  "chargingStatus": 2,
  "message": "sample string 3",
  "descriptor": "sample string 4",
  "code": "sample string 5"
}

application/xml, text/xml

Sample:
<PaymentCardInfoResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PaymentEncryptionDecryption.Controllers">
  <chargingStatus>2</chargingStatus>
  <code>sample string 5</code>
  <descriptor>sample string 4</descriptor>
  <isSuccess>true</isSuccess>
  <message>sample string 3</message>
</PaymentCardInfoResponse>