POST Address/update/{id}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

integer

Required

Body Parameters

ApiFromBodyAddress
NameDescriptionTypeAdditional information
Address

string

Required

String length: inclusive between 0 and 100

City

string

Required

String length: inclusive between 0 and 50

PostalCode

string

String length: inclusive between 0 and 15

Province

string

String length: inclusive between 0 and 50

AddressCountryId

byte

None.

AddressISOCountryCode

string

Required

AddressAlias

string

String length: inclusive between 0 and 50

IsAddressDefault

boolean

None.

PersonId

integer

Required

Request Formats

application/json, text/json

Sample:
{
  "address": "sample string 1",
  "city": "sample string 2",
  "postalCode": "sample string 3",
  "province": "sample string 4",
  "addressCountryId": 64,
  "addressISOCountryCode": "sample string 6",
  "addressAlias": "sample string 7",
  "isAddressDefault": true,
  "personId": 9
}

multipart/form-data

Sample:
{"address":"sample string 1","city":"sample string 2","postalCode":"sample string 3","province":"sample string 4","addressCountryId":64,"addressISOCountryCode":"sample string 6","addressAlias":"sample string 7","isAddressDefault":true,"personId":9}

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, multipart/form-data

Sample:

Sample not available.