POST api/Account/GetPaymentMethodsVM
Request Information
URI Parameters
None.
Body Parameters
PaymentMethodsInputModelName | Description | Type | Additional information |
---|---|---|---|
SessionID | string |
None. |
|
NewPaymentMethodFirstName | string |
None. |
|
NewPaymentMethodLastName | string |
None. |
|
NewPaymentMethodBillingAddress1 | string |
None. |
|
NewPaymentMethodBillingAddress2 | string |
None. |
|
NewPaymentMethodBillingCity | string |
None. |
|
NewPaymentMethodBillingState | string |
None. |
|
NewPaymentMethodBillingZip | string |
None. |
|
NewPaymentMethodBillingCountry | string |
None. |
|
NewPaymentMethodCardNumber | string |
None. |
|
NewPaymentMethodCardType | string |
None. |
|
NewPaymentMethodCardExpiryMonth | string |
None. |
|
NewPaymentMethodCardExpiryYear | string |
None. |
Request Formats
application/json, text/json
Sample:
{ "SessionID": "sample string 1", "NewPaymentMethodFirstName": "sample string 2", "NewPaymentMethodLastName": "sample string 3", "NewPaymentMethodBillingAddress1": "sample string 4", "NewPaymentMethodBillingAddress2": "sample string 5", "NewPaymentMethodBillingCity": "sample string 6", "NewPaymentMethodBillingState": "sample string 7", "NewPaymentMethodBillingZip": "sample string 8", "NewPaymentMethodBillingCountry": "sample string 9", "NewPaymentMethodCardNumber": "sample string 10", "NewPaymentMethodCardType": "sample string 11", "NewPaymentMethodCardExpiryMonth": "sample string 12", "NewPaymentMethodCardExpiryYear": "sample string 13" }
text/html
Sample:
{"SessionID":"sample string 1","NewPaymentMethodFirstName":"sample string 2","NewPaymentMethodLastName":"sample string 3","NewPaymentMethodBillingAddress1":"sample string 4","NewPaymentMethodBillingAddress2":"sample string 5","NewPaymentMethodBillingCity":"sample string 6","NewPaymentMethodBillingState":"sample string 7","NewPaymentMethodBillingZip":"sample string 8","NewPaymentMethodBillingCountry":"sample string 9","NewPaymentMethodCardNumber":"sample string 10","NewPaymentMethodCardType":"sample string 11","NewPaymentMethodCardExpiryMonth":"sample string 12","NewPaymentMethodCardExpiryYear":"sample string 13"}
application/xml, text/xml
Sample:
<PaymentMethodsInputModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/FantasyCoverage.BusinessObjects"> <NewPaymentMethodBillingAddress1>sample string 4</NewPaymentMethodBillingAddress1> <NewPaymentMethodBillingAddress2>sample string 5</NewPaymentMethodBillingAddress2> <NewPaymentMethodBillingCity>sample string 6</NewPaymentMethodBillingCity> <NewPaymentMethodBillingCountry>sample string 9</NewPaymentMethodBillingCountry> <NewPaymentMethodBillingState>sample string 7</NewPaymentMethodBillingState> <NewPaymentMethodBillingZip>sample string 8</NewPaymentMethodBillingZip> <NewPaymentMethodCardExpiryMonth>sample string 12</NewPaymentMethodCardExpiryMonth> <NewPaymentMethodCardExpiryYear>sample string 13</NewPaymentMethodCardExpiryYear> <NewPaymentMethodCardNumber>sample string 10</NewPaymentMethodCardNumber> <NewPaymentMethodCardType>sample string 11</NewPaymentMethodCardType> <NewPaymentMethodFirstName>sample string 2</NewPaymentMethodFirstName> <NewPaymentMethodLastName>sample string 3</NewPaymentMethodLastName> <SessionID>sample string 1</SessionID> </PaymentMethodsInputModel>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
ResponseModelName | Description | Type | Additional information |
---|---|---|---|
Message | string |
None. |
|
Status | boolean |
None. |
|
Data | Object |
None. |
|
ResultCode | integer |
None. |
Response Formats
application/json, text/json
Sample:
{ "Message": "sample string 1", "Status": true, "Data": {}, "ResultCode": 4 }
text/html
Sample:
{"Message":"sample string 1","Status":true,"Data":{},"ResultCode":4}
application/xml, text/xml
Sample:
<ResponseModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/FantasyCoverage.BusinessObjects"> <Data /> <Message>sample string 1</Message> <ResultCode>4</ResultCode> <Status>true</Status> </ResponseModel>