POST api/agent/creditcard/expiration?fpdt={fpdt}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
fpdt

integer

Default value is 0

Body Parameters

CreditCardModel
NameDescriptionTypeAdditional information
Id

string

None.

Number

string

None.

ExpirationMonth

string

None.

ExpirationYear

string

None.

Brand

string

None.

IsDefault

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": "sample string 1",
  "Number": "sample string 2",
  "ExpirationMonth": "sample string 3",
  "ExpirationYear": "sample string 4",
  "Brand": "sample string 5",
  "IsDefault": true
}

text/html

Sample:
{"Id":"sample string 1","Number":"sample string 2","ExpirationMonth":"sample string 3","ExpirationYear":"sample string 4","Brand":"sample string 5","IsDefault":true}

application/xml, text/xml

Sample:
<CreditCardModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/NPlay.Common.Models.Services">
  <Brand>sample string 5</Brand>
  <ExpirationMonth>sample string 3</ExpirationMonth>
  <ExpirationYear>sample string 4</ExpirationYear>
  <Id>sample string 1</Id>
  <IsDefault>true</IsDefault>
  <Number>sample string 2</Number>
</CreditCardModel>

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 'CreditCardModel'.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, text/html, application/xml, text/xml

Sample:

Sample not available.