POST v1/Admin/UpdateGeneralInfo/{facilityId}

İstek Bilgisi

URL Parametreleri

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

integer

Required

Body Parametreleri

SportsFacilityDto
AdıAçıklamasıTürüEk Bilgi
SportsFacilityID

integer

Yok.

SportsClubID

integer

Yok.

Name

string

Yok.

VRLink

string

Yok.

VideoLink

string

Yok.

DescriptionHeading

string

Yok.

Description

string

Yok.

RequiredDocuments

string

Yok.

ImportantReminder

string

Yok.

SEF

string

Yok.

Phone

string

Yok.

OrderNum

integer

Yok.

SportsFacilityWorkTime

Collection of SportsFacilityWorkTime

Yok.

Photos

Collection of PhotoDto

Yok.

Categories

Collection of CategoryDto

Yok.

Address

AddressDto

Yok.

DefaultPhoto

PhotoDto

Yok.

IsActive

boolean

Yok.

İstek Formatı

application/json, text/json

Örnek:
{
  "sportsFacilityID": 1,
  "sportsClubID": 2,
  "name": "sample string 3",
  "vrLink": "sample string 4",
  "videoLink": "sample string 5",
  "descriptionHeading": "sample string 6",
  "description": "sample string 7",
  "requiredDocuments": "sample string 8",
  "importantReminder": "sample string 9",
  "sef": "sample string 10",
  "phone": "sample string 11",
  "orderNum": 12,
  "sportsFacilityWorkTime": [
    {
      "workTimeID": 1,
      "sportsFacilityID": 2,
      "workName": "sample string 3",
      "mondayStart": "00:00:00.1234567",
      "mondayEnd": "00:00:00.1234567",
      "tuesdayStart": "00:00:00.1234567",
      "tuesdayEnd": "00:00:00.1234567",
      "wednesdayStart": "00:00:00.1234567",
      "wednesdayEnd": "00:00:00.1234567",
      "thursdayStart": "00:00:00.1234567",
      "thursdayEnd": "00:00:00.1234567",
      "fridayStart": "00:00:00.1234567",
      "fridayEnd": "00:00:00.1234567",
      "saturdayStart": "00:00:00.1234567",
      "saturdayEnd": "00:00:00.1234567",
      "sundayStart": "00:00:00.1234567",
      "sundayEnd": "00:00:00.1234567",
      "isDeleted": true
    },
    {
      "workTimeID": 1,
      "sportsFacilityID": 2,
      "workName": "sample string 3",
      "mondayStart": "00:00:00.1234567",
      "mondayEnd": "00:00:00.1234567",
      "tuesdayStart": "00:00:00.1234567",
      "tuesdayEnd": "00:00:00.1234567",
      "wednesdayStart": "00:00:00.1234567",
      "wednesdayEnd": "00:00:00.1234567",
      "thursdayStart": "00:00:00.1234567",
      "thursdayEnd": "00:00:00.1234567",
      "fridayStart": "00:00:00.1234567",
      "fridayEnd": "00:00:00.1234567",
      "saturdayStart": "00:00:00.1234567",
      "saturdayEnd": "00:00:00.1234567",
      "sundayStart": "00:00:00.1234567",
      "sundayEnd": "00:00:00.1234567",
      "isDeleted": true
    }
  ],
  "photos": [
    {
      "photoID": 1,
      "pathOrUrl": "sample string 2",
      "isDefault": true
    },
    {
      "photoID": 1,
      "pathOrUrl": "sample string 2",
      "isDefault": true
    }
  ],
  "categories": [
    {
      "categoryID": 1,
      "parentCategoryID": 2,
      "name": "sample string 3",
      "description": "sample string 4",
      "type": 64,
      "icon": "sample string 6",
      "iconBase64": "sample string 7",
      "color": "sample string 8",
      "creationDate": "2024-11-21T13:24:59.5285981+03:00",
      "isActive": true,
      "isDeleted": true,
      "orderNum": 12
    },
    {
      "categoryID": 1,
      "parentCategoryID": 2,
      "name": "sample string 3",
      "description": "sample string 4",
      "type": 64,
      "icon": "sample string 6",
      "iconBase64": "sample string 7",
      "color": "sample string 8",
      "creationDate": "2024-11-21T13:24:59.5285981+03:00",
      "isActive": true,
      "isDeleted": true,
      "orderNum": 12
    }
  ],
  "address": {
    "addressID": 1,
    "latitude": 1.0,
    "longitude": 1.0,
    "address": "sample string 2",
    "neighborhoodID": 3,
    "neighborhood": "sample string 4",
    "districtID": 5,
    "district": "sample string 6",
    "provinceID": 7,
    "province": "sample string 8",
    "countryID": 9,
    "country": "sample string 10"
  },
  "defaultPhoto": {
    "photoID": 1,
    "pathOrUrl": "sample string 2",
    "isDefault": true
  },
  "isActive": true
}

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.