POST api/agent/creditcard/expiration?fpdt={fpdt}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
fpdt | integer |
Default value is 0 |
Body Parameters
CreditCardModelName | Description | Type | Additional 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:
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, text/html, application/xml, text/xml
Sample:
Sample not available.