POST api/CreditCard/GetDetailCridetCard

Request Information

URI Parameters

None.

Body Parameters

GetCardDetail
NameDescriptionTypeAdditional information
CardIdentify

string

None.

Request Formats

application/json, text/json

Sample:
{
  "CardIdentify": "sample string 1"
}

application/xml, text/xml

Sample:
<GetCardDetail xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TaxiAppAPI.Models">
  <CardIdentify>sample string 1</CardIdentify>
</GetCardDetail>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'GetCardDetail'.

Response Information

Resource Description

CreditCardInfo
NameDescriptionTypeAdditional information
CardIdentify

string

None.

CardName

string

None.

DefaultCard

integer

None.

Card6No

string

None.

Card4No

string

None.

Response Formats

application/json, text/json

Sample:
{
  "CardIdentify": "sample string 1",
  "CardName": "sample string 2",
  "DefaultCard": 3,
  "Card6No": "sample string 4",
  "Card4No": "sample string 5"
}

application/xml, text/xml

Sample:
<CreditCardInfo xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TaxiAppAPI.Models">
  <Card4No>sample string 5</Card4No>
  <Card6No>sample string 4</Card6No>
  <CardIdentify>sample string 1</CardIdentify>
  <CardName>sample string 2</CardName>
  <DefaultCard>3</DefaultCard>
</CreditCardInfo>