PUT api/FavoriteAddress/{id}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

integer

Required

Body Parameters

FavoriteAddressDto
NameDescriptionTypeAdditional information
Id

integer

None.

Created

date

None.

Updated

date

None.

Name

string

Required

Max length: 100

Min length: 1

UserId

integer

None.

AddressType

AddressType

Required

Landmark

string

Max length: 100

StreetNo

string

Max length: 50

Street

string

Max length: 100

City

string

Max length: 100

State

string

Max length: 100

Country

string

Max length: 100

Lat

decimal number

Required

Range: inclusive between -90 and 90

Long

decimal number

Required

Range: inclusive between -180 and 180

GooglePlaceId

string

Max length: 1000

PostalCode

string

Max length: 50

Formatted

string

Max length: 300

Request Formats

application/json, text/json

Sample:
{
  "id": 1,
  "created": "2024-12-07T17:31:13.994445+00:00",
  "updated": "2024-12-07T17:31:13.994445+00:00",
  "name": "sample string 1",
  "userId": 1,
  "addressType": "Home",
  "landmark": "sample string 2",
  "streetNo": "sample string 3",
  "street": "sample string 4",
  "city": "sample string 5",
  "state": "sample string 6",
  "country": "sample string 7",
  "lat": 8.0,
  "long": 9.0,
  "googlePlaceId": "sample string 10",
  "postalCode": "sample string 11",
  "formatted": "sample string 12"
}

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json

Sample:

Sample not available.