POST api/User/UpdateUserAddress

Request Information

URI Parameters

None.

Body Parameters

UserAddressModel
NameDescriptionTypeAdditional information
UserAddressID

integer

None.

UsersID

integer

None.

UserAddress

string

None.

LatitudeUserAddress

decimal number

None.

LongitudeUserAddress

decimal number

None.

PinCode

string

None.

City

string

None.

State

string

None.

Country

string

None.

Request Formats

application/json, text/json

Sample:
{
  "UserAddressID": 1,
  "UsersID": 2,
  "UserAddress": "sample string 3",
  "LatitudeUserAddress": 4.0,
  "LongitudeUserAddress": 5.0,
  "PinCode": "sample string 6",
  "City": "sample string 7",
  "State": "sample string 8",
  "Country": "sample string 9"
}

application/xml, text/xml

Sample:
<UserAddressModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/RecycleGreenAPILibrary.BusinessModel">
  <City>sample string 7</City>
  <Country>sample string 9</Country>
  <LatitudeUserAddress>4</LatitudeUserAddress>
  <LongitudeUserAddress>5</LongitudeUserAddress>
  <PinCode>sample string 6</PinCode>
  <State>sample string 8</State>
  <UserAddress>sample string 3</UserAddress>
  <UserAddressID>1</UserAddressID>
  <UsersID>2</UsersID>
</UserAddressModel>

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 'UserAddressModel'.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.