PUT api/v2/accounts/{accountId}/addresses/{accountAddressId}

Request

URI Parameters

NameDescriptionTypeAdditional information
accountId

integer

Required

accountAddressId

integer

Required

Body Parameters

AccountAddressUpdate
NameDescriptionTypeAdditional information
Id

integer

District

string

ZipCode

string

Address1

string

Address2

string

Latitude

decimal number

Longitude

decimal number

Notes

string

AddressTypeId

integer

CityId

integer

Request Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "District": "sample string 2",
  "ZipCode": "sample string 3",
  "Address1": "sample string 4",
  "Address2": "sample string 5",
  "Latitude": 1.1,
  "Longitude": 1.1,
  "Notes": "sample string 6",
  "AddressTypeId": 7,
  "CityId": 8
}

text/html

Sample:
{"Id":1,"District":"sample string 2","ZipCode":"sample string 3","Address1":"sample string 4","Address2":"sample string 5","Latitude":1.1,"Longitude":1.1,"Notes":"sample string 6","AddressTypeId":7,"CityId":8}

Response

IHttpActionResult

Response Format

application/json, text/json, text/html

Sample:

Sample not available.