POST api/Gallery/UpdateGalleryDetail
Request Information
URI Parameters
None.
Body Parameters
GalleryEntity| Name | Description | Type | Additional information |
|---|---|---|---|
| PK_Gallery_Id | integer |
None. |
|
| FK_Org_Id | integer |
None. |
|
| Title | string |
Required |
|
| Img_1 | string |
None. |
|
| fu_doc | HttpPostedFileBase |
None. |
|
| Description | string |
None. |
|
| Status | integer |
None. |
|
| Type | integer |
None. |
|
| Created_By | string |
None. |
|
| Created_Date | date |
None. |
|
| Modified_By | string |
None. |
|
| Modified_Date | date |
None. |
|
| GalleryList | Collection of GalleryListEntity |
None. |
|
| Images | Collection of string |
None. |
Request Formats
application/json, text/json
Sample:
{
"pK_Gallery_Id": 1,
"fK_Org_Id": 2,
"title": "sample string 3",
"img_1": "sample string 4",
"fu_doc": null,
"description": "sample string 5",
"status": 6,
"type": 7,
"created_By": "sample string 8",
"created_Date": "2025-12-24T09:54:57.436038+05:30",
"modified_By": "sample string 9",
"modified_Date": "2025-12-24T09:54:57.436038+05:30",
"galleryList": [
{
"pK_GalleryList_Id": 1,
"fK_Gallery_Id": 2,
"name": "sample string 3",
"status": 4,
"created_Date": "2025-12-24T09:54:57.436038+05:30",
"modified_Date": "2025-12-24T09:54:57.436038+05:30"
},
{
"pK_GalleryList_Id": 1,
"fK_Gallery_Id": 2,
"name": "sample string 3",
"status": 4,
"created_Date": "2025-12-24T09:54:57.436038+05:30",
"modified_Date": "2025-12-24T09:54:57.436038+05:30"
}
],
"images": [
"sample string 1",
"sample string 2"
]
}
text/xml
Sample:
<GalleryEntity xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BusinessEntities">
<Created_By>sample string 8</Created_By>
<Created_Date>2025-12-24T09:54:57.436038+05:30</Created_Date>
<Description>sample string 5</Description>
<FK_Org_Id>2</FK_Org_Id>
<GalleryList>
<GalleryListEntity>
<Created_Date>2025-12-24T09:54:57.436038+05:30</Created_Date>
<FK_Gallery_Id>2</FK_Gallery_Id>
<Modified_Date>2025-12-24T09:54:57.436038+05:30</Modified_Date>
<Name>sample string 3</Name>
<PK_GalleryList_Id>1</PK_GalleryList_Id>
<Status>4</Status>
</GalleryListEntity>
<GalleryListEntity>
<Created_Date>2025-12-24T09:54:57.436038+05:30</Created_Date>
<FK_Gallery_Id>2</FK_Gallery_Id>
<Modified_Date>2025-12-24T09:54:57.436038+05:30</Modified_Date>
<Name>sample string 3</Name>
<PK_GalleryList_Id>1</PK_GalleryList_Id>
<Status>4</Status>
</GalleryListEntity>
</GalleryList>
<Images xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:string>sample string 1</d2p1:string>
<d2p1:string>sample string 2</d2p1:string>
</Images>
<Img_1>sample string 4</Img_1>
<Modified_By>sample string 9</Modified_By>
<Modified_Date>2025-12-24T09:54:57.436038+05:30</Modified_Date>
<PK_Gallery_Id>1</PK_Gallery_Id>
<Status>6</Status>
<Title>sample string 3</Title>
<Type>7</Type>
<fu_doc xmlns:d2p1="http://schemas.datacontract.org/2004/07/System.Web" i:nil="true" />
</GalleryEntity>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
HttpResponseMessage| Name | Description | Type | Additional information |
|---|---|---|---|
| Version | Version |
None. |
|
| Content | HttpContent |
None. |
|
| StatusCode | HttpStatusCode |
None. |
|
| ReasonPhrase | string |
None. |
|
| Headers | Collection of Object |
None. |
|
| RequestMessage | HttpRequestMessage |
None. |
|
| IsSuccessStatusCode | boolean |
None. |