POST api/MRide/SaveCardInfoOfCustomer
Request Information
URI Parameters
None.
Body Parameters
SaveCardInfoOfCustomerModel| Name | Description | Type | Additional information |
|---|---|---|---|
| CustomerId | integer |
None. |
|
| CardHolderName | string |
None. |
|
| CardNumber | string |
None. |
|
| ExpiryDate | string |
None. |
|
| CVV | string |
None. |
|
| CardType | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"CustomerId": 1,
"CardHolderName": "sample string 1",
"CardNumber": "sample string 2",
"ExpiryDate": "sample string 3",
"CVV": "sample string 4",
"CardType": "sample string 5"
}
application/xml, text/xml
Sample:
<SaveCardInfoOfCustomerModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MRide_API"> <CVV>sample string 4</CVV> <CardHolderName>sample string 1</CardHolderName> <CardNumber>sample string 2</CardNumber> <CardType>sample string 5</CardType> <CustomerId>1</CustomerId> <ExpiryDate>sample string 3</ExpiryDate> </SaveCardInfoOfCustomerModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IAsyncResult| Name | Description | Type | Additional information |
|---|---|---|---|
| IsCompleted | boolean |
None. |
|
| AsyncWaitHandle | WaitHandle |
None. |
|
| AsyncState | Object |
None. |
|
| CompletedSynchronously | boolean |
None. |
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.