POST v1/Admin/CreatePhoto/{facilityId}
İstek Bilgisi
URL Parametreleri
| Adı | Açıklaması | Türü | Ek Bilgi |
|---|---|---|---|
| facilityId | integer |
Required |
Body Parametreleri
Photo| Adı | Açıklaması | Türü | Ek Bilgi |
|---|---|---|---|
| PhotoID | integer |
Yok. |
|
| Name | string |
Required |
|
| Description | string |
Yok. |
|
| PathOrUrl | string |
Required |
|
| CreationDate | date |
Yok. |
|
| IsDefault | boolean |
Yok. |
|
| IsActive | boolean |
Yok. |
|
| IsDeleted | boolean |
Yok. |
|
| IsApproved | boolean |
Yok. |
|
| IsUrl | boolean |
Yok. |
|
| Type | integer |
Yok. |
İstek Formatı
application/json, text/json
Örnek:
{
"photoID": 1,
"name": "sample string 2",
"description": "sample string 3",
"pathOrUrl": "sample string 4",
"creationDate": "2025-11-16T20:32:56.8297599+03:00",
"isDefault": true,
"isActive": true,
"isDeleted": true,
"isApproved": true,
"isUrl": true,
"type": 11
}
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. |