POST api/Gallery/Add
Request Information
URI Parameters
None.
Body Parameters
GalleryAddDto| 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. |
Request Formats
application/json, text/json
Sample:
{
"isActive": true,
"title": "sample string 2",
"location": "sample string 3",
"date": "2025-12-11T17:32:58.026432+03:00",
"url": "sample string 5",
"webSiteID": "c423b262-5190-455f-bc03-4d4bb8072117",
"coverPhotoID": "282fa759-0cdb-4b53-9f6d-8617bda1d007"
}
application/xml, text/xml
Sample:
<GalleryAddDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/RS.Core.Service.DTOs"> <CoverPhotoID>282fa759-0cdb-4b53-9f6d-8617bda1d007</CoverPhotoID> <Date>2025-12-11T17:32:58.026432+03:00</Date> <IsActive>true</IsActive> <Location>sample string 3</Location> <Title>sample string 2</Title> <Url>sample string 5</Url> <WebSiteID>c423b262-5190-455f-bc03-4d4bb8072117</WebSiteID> </GalleryAddDto>
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:32:58.026432+03:00","Url":"sample string 5","WebSiteID":"c423b262-5190-455f-bc03-4d4bb8072117","CoverPhotoID":"282fa759-0cdb-4b53-9f6d-8617bda1d007"}
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml, text/html
Sample:
Sample not available.