PUT api/TaxiMarketplaceCreditCard/{id}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

integer

Required

Body Parameters

CreditCardDto
NameDescriptionTypeAdditional information
Id

integer

None.

CustomerId

integer

None.

ExternalCustomerId

string

Max length: 50

IsOrganization

boolean

None.

FirstName

string

Max length: 50

LastName

string

Max length: 50

Company

string

Max length: 50

Address

string

Max length: 60

City

string

Max length: 40

State

string

Max length: 40

Zip

string

Max length: 20

Country

string

Max length: 60

PhoneNumber

string

Max length: 25

CardNumber

string

Required

Max length: 16

ExpirationDate

string

Required

Max length: 10

CardCode

string

Max length: 4

CardType

string

Max length: 20

Request Formats

application/json, text/json

Sample:
{
  "id": 1,
  "customerId": 1,
  "externalCustomerId": "sample string 1",
  "isOrganization": true,
  "firstName": "sample string 3",
  "lastName": "sample string 4",
  "company": "sample string 5",
  "address": "sample string 6",
  "city": "sample string 7",
  "state": "sample string 8",
  "zip": "sample string 9",
  "country": "sample string 10",
  "phoneNumber": "sample string 11",
  "cardNumber": "XXXXXXXXXXXXg 12",
  "expirationDate": "sample string 13",
  "cardCode": "XXXXXXXXXXXXXXXX",
  "cardType": "sample string 15"
}

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json

Sample:

Sample not available.