POST v3/Facilities/UpdateAddress/{facilityId}

İstek Bilgisi

URL Parametreleri

AdıAçıklamasıTürüEk Bilgi
facilityId

integer

Required

Body Parametreleri

Address
AdıAçıklamasıTürüEk Bilgi
AddressID

integer

Yok.

NeighborhoodID

integer

Yok.

Name

string

Required

String length: inclusive between 0 and 50

Address1

string

Required

PostalCode

string

String length: inclusive between 0 and 50

Latitude

decimal number

Yok.

Longitude

decimal number

Yok.

AddressType

integer

Yok.

CreationDate

date

Yok.

IsActive

boolean

Yok.

IsApproved

boolean

Yok.

Directions

string

Yok.

Neighborhood

Neighborhood

Yok.

İstek Formatı

application/json, text/json

Örnek:
{
  "addressID": 1,
  "neighborhoodID": 2,
  "name": "sample string 3",
  "address1": "sample string 4",
  "postalCode": "sample string 5",
  "latitude": 1.0,
  "longitude": 1.0,
  "addressType": 6,
  "creationDate": "2019-10-17T17:25:37.8301426+03:00",
  "isActive": true,
  "isApproved": true,
  "directions": "sample string 11",
  "neighborhood": {
    "neighborhoodID": 1,
    "name": "sample string 2",
    "pk": 1,
    "districtID": 3,
    "district": {
      "districtID": 1,
      "provinceID": 2,
      "name": "sample string 3",
      "province": {
        "provinceID": 1,
        "countryID": 2,
        "name": "sample string 3",
        "country": {
          "countryID": 1,
          "name": "sample string 2",
          "phoneCode": "sample string 3"
        }
      }
    }
  }
}

application/x-www-form-urlencoded

Örnek:

Örnek bulunmuyor.

Cevap Bilgisi

Kaynak Açıklaması

HttpResponseMessage
AdıAçıklamasıTürüEk Bilgi
Version

Version

Yok.

Content

HttpContent

Yok.

StatusCode

HttpStatusCode

Yok.

ReasonPhrase

string

Yok.

Headers

Collection of Object

Yok.

RequestMessage

HttpRequestMessage

Yok.

IsSuccessStatusCode

boolean

Yok.