POST Address/SavedAddressList

Request Information

URI Parameters

None.

Body Parameters

AddressRequestModel
NameDescriptionTypeAdditional information
Id

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": 1
}

application/xml, text/xml

Sample:
<AddressViewModel.AddressRequestModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/HizirYetisAPI.ViewModels">
  <Id>1</Id>
</AddressViewModel.AddressRequestModel>

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

Response Information

Resource Description

Collection of AddressListResponse
NameDescriptionTypeAdditional information
AddressId

integer

None.

PolygonId

integer

None.

AddressStatus

boolean

None.

Address

string

None.

City

string

None.

District

string

None.

Neighbourhood

string

None.

Street

string

None.

ApartmentNumber

string

None.

Floor

string

None.

DoorNumber

string

None.

AddressDescription

string

None.

AddressTitle

string

None.

AddressLat

string

None.

AddressLng

string

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "AddressId": 1,
    "PolygonId": 2,
    "AddressStatus": true,
    "Address": "sample string 4",
    "City": "sample string 5",
    "District": "sample string 6",
    "Neighbourhood": "sample string 7",
    "Street": "sample string 8",
    "ApartmentNumber": "sample string 9",
    "Floor": "sample string 10",
    "DoorNumber": "sample string 11",
    "AddressDescription": "sample string 12",
    "AddressTitle": "sample string 13",
    "AddressLat": "sample string 14",
    "AddressLng": "sample string 15"
  },
  {
    "AddressId": 1,
    "PolygonId": 2,
    "AddressStatus": true,
    "Address": "sample string 4",
    "City": "sample string 5",
    "District": "sample string 6",
    "Neighbourhood": "sample string 7",
    "Street": "sample string 8",
    "ApartmentNumber": "sample string 9",
    "Floor": "sample string 10",
    "DoorNumber": "sample string 11",
    "AddressDescription": "sample string 12",
    "AddressTitle": "sample string 13",
    "AddressLat": "sample string 14",
    "AddressLng": "sample string 15"
  }
]

application/xml, text/xml

Sample:
<ArrayOfAddressViewModel.AddressListResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/HizirYetisAPI.ViewModels">
  <AddressViewModel.AddressListResponse>
    <Address>sample string 4</Address>
    <AddressDescription>sample string 12</AddressDescription>
    <AddressId>1</AddressId>
    <AddressLat>sample string 14</AddressLat>
    <AddressLng>sample string 15</AddressLng>
    <AddressStatus>true</AddressStatus>
    <AddressTitle>sample string 13</AddressTitle>
    <ApartmentNumber>sample string 9</ApartmentNumber>
    <City>sample string 5</City>
    <District>sample string 6</District>
    <DoorNumber>sample string 11</DoorNumber>
    <Floor>sample string 10</Floor>
    <Neighbourhood>sample string 7</Neighbourhood>
    <PolygonId>2</PolygonId>
    <Street>sample string 8</Street>
  </AddressViewModel.AddressListResponse>
  <AddressViewModel.AddressListResponse>
    <Address>sample string 4</Address>
    <AddressDescription>sample string 12</AddressDescription>
    <AddressId>1</AddressId>
    <AddressLat>sample string 14</AddressLat>
    <AddressLng>sample string 15</AddressLng>
    <AddressStatus>true</AddressStatus>
    <AddressTitle>sample string 13</AddressTitle>
    <ApartmentNumber>sample string 9</ApartmentNumber>
    <City>sample string 5</City>
    <District>sample string 6</District>
    <DoorNumber>sample string 11</DoorNumber>
    <Floor>sample string 10</Floor>
    <Neighbourhood>sample string 7</Neighbourhood>
    <PolygonId>2</PolygonId>
    <Street>sample string 8</Street>
  </AddressViewModel.AddressListResponse>
</ArrayOfAddressViewModel.AddressListResponse>