POST api/v{version}/Wallet/AddWallet
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
version | string |
None. |
Body Parameters
WalletBindingModelName | Description | Type | Additional information |
---|---|---|---|
WalletId | integer |
None. |
|
CardType | string |
None. |
|
Description | string |
Required |
|
FirstName | string |
Required |
|
LastName | string |
Required |
|
Address1 | string |
Required |
|
Address2 | string |
None. |
|
City | string |
Required |
|
State | string |
Required |
|
Zip | string |
Required Matching regular expression pattern: [0-9]{5}(-[0-9]{4})? |
|
Ccnum | string |
None. |
|
Cccode | string |
None. |
|
ExpirationMonth | string |
Required |
|
ExpirationYear | string |
Required |
Request Formats
application/json, text/json
Sample:
{ "WalletId": 1, "CardType": "sample string 2", "Description": "sample string 3", "FirstName": "sample string 4", "LastName": "sample string 5", "Address1": "sample string 6", "Address2": "sample string 7", "City": "sample string 8", "State": "sample string 9", "Zip": "sample string 10", "Ccnum": "sample string 11", "Cccode": "sample string 12", "ExpirationMonth": "sample string 13", "ExpirationYear": "sample string 14" }
application/xml, text/xml
Sample:
<WalletBindingModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/K12.Shared.APIModels"> <Address1>sample string 6</Address1> <Address2>sample string 7</Address2> <CardType>sample string 2</CardType> <Cccode>sample string 12</Cccode> <Ccnum>sample string 11</Ccnum> <City>sample string 8</City> <Description>sample string 3</Description> <ExpirationMonth>sample string 13</ExpirationMonth> <ExpirationYear>sample string 14</ExpirationYear> <FirstName>sample string 4</FirstName> <LastName>sample string 5</LastName> <State>sample string 9</State> <WalletId>1</WalletId> <Zip>sample string 10</Zip> </WalletBindingModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
OperationResultName | Description | Type | Additional information |
---|---|---|---|
result | string |
None. |
Response Formats
application/json, text/json
Sample:
{ "result": "sample string 1" }
application/xml, text/xml
Sample:
<OperationResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/K12.Shared.Models"> <Result>sample string 1</Result> </OperationResult>