POST api/Gallery/ChangeMode
Request Information
URI Parameters
None.
Body Parameters
GalleryUpdateDto| Name | Description | Type | Additional information |
|---|---|---|---|
| IsActive | boolean |
None. |
|
| Title | string |
None. |
|
| Location | string |
None. |
|
| Date | date |
None. |
|
| Url | string |
None. |
|
| WebSiteID | globally unique identifier |
None. |
|
| CoverPhotoID | globally unique identifier |
None. |
|
| ID | globally unique identifier |
Required |
Request Formats
application/json, text/json
Sample:
{
"isActive": true,
"title": "sample string 2",
"location": "sample string 3",
"date": "2025-12-11T17:29:19.7014751+03:00",
"url": "sample string 5",
"webSiteID": "055c2fb6-ca97-4186-9b51-f45630bf7dd1",
"coverPhotoID": "bd0f88e1-d112-4926-a9bc-37166484d64e",
"id": "e315733a-9962-413b-a110-ee2b8d87f49d"
}
application/xml, text/xml
Sample:
<GalleryUpdateDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/RS.Core.Service.DTOs"> <ID>e315733a-9962-413b-a110-ee2b8d87f49d</ID> <CoverPhotoID>bd0f88e1-d112-4926-a9bc-37166484d64e</CoverPhotoID> <Date>2025-12-11T17:29:19.7014751+03:00</Date> <IsActive>true</IsActive> <Location>sample string 3</Location> <Title>sample string 2</Title> <Url>sample string 5</Url> <WebSiteID>055c2fb6-ca97-4186-9b51-f45630bf7dd1</WebSiteID> </GalleryUpdateDto>
application/x-www-form-urlencoded
Sample:
Sample not available.
text/html
Sample:
{"IsActive":true,"Title":"sample string 2","Location":"sample string 3","Date":"2025-12-11T17:29:19.7014751+03:00","Url":"sample string 5","WebSiteID":"055c2fb6-ca97-4186-9b51-f45630bf7dd1","CoverPhotoID":"bd0f88e1-d112-4926-a9bc-37166484d64e","ID":"e315733a-9962-413b-a110-ee2b8d87f49d"}
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml, text/html
Sample:
Sample not available.