PUT api/Addresses/UpdateLocationAddress?addressId={addressId}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
addressId

integer

Required

Body Parameters

UpdateLocationAddressDto
NameDescriptionTypeAdditional information
LocationId

integer

Required

Line1

string

Required

String length: inclusive between 0 and 100

Line2

string

String length: inclusive between 0 and 100

City

string

Required

String length: inclusive between 0 and 50

State

string

Required

String length: inclusive between 0 and 2

Zip

string

Required

String length: inclusive between 0 and 5

Name

string

String length: inclusive between 0 and 50

IsShipping

boolean

None.

IsPrimary

boolean

None.

AddressTypeId

integer

Required

Request Formats

application/json, text/json

Sample:
{
  "LocationId": 1,
  "Line1": "sample string 2",
  "Line2": "sample string 3",
  "City": "sample string 4",
  "State": "sample string 5",
  "Zip": "sample string 6",
  "Name": "sample string 7",
  "IsShipping": true,
  "IsPrimary": true,
  "AddressTypeId": 10
}

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'UpdateLocationAddressDto'.

Response Information

Resource Description

ApiResponse
NameDescriptionTypeAdditional information
Message

string

None.

Result

Object

None.

StatusCode

integer

None.

StatusGroup

string

None.

Details

Collection of Object

None.

Response Formats

application/json, text/json

Sample:

Sample not available.