PUT api/UserManagement/UpdateAddress?AddressId={AddressId}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
AddressId

globally unique identifier

Required

Body Parameters

UserAddressViewModel
NameDescriptionTypeAdditional information
Title

string

None.

PostalAddress

string

None.

PostalCode

string

None.

Tel

string

None.

Latitude

decimal number

None.

Longitude

decimal number

None.

CityId

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "Title": "sample string 1",
  "PostalAddress": "sample string 2",
  "PostalCode": "sample string 3",
  "Tel": "sample string 4",
  "Latitude": 1.1,
  "Longitude": 1.1,
  "CityId": 5
}

text/html

Sample:
{"Title":"sample string 1","PostalAddress":"sample string 2","PostalCode":"sample string 3","Tel":"sample string 4","Latitude":1.1,"Longitude":1.1,"CityId":5}

application/xml, text/xml

Sample:
<UserAddressViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Fruta.ViewModels">
  <CityId>5</CityId>
  <Latitude>1.1</Latitude>
  <Longitude>1.1</Longitude>
  <PostalAddress>sample string 2</PostalAddress>
  <PostalCode>sample string 3</PostalCode>
  <Tel>sample string 4</Tel>
  <Title>sample string 1</Title>
</UserAddressViewModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.