GET api/PhotoGalleryWebAPI/GetGalleryCategoryDetails_Web?gallery_id={gallery_id}&language={language}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
gallery_id | integer |
Required |
|
language | boolean |
Required |
Body Parameters
None.
Response Information
Resource Description
GalleryCategoryDetailsName | Description | Type | Additional information |
---|---|---|---|
GalleryCategoryID | integer |
None. |
|
GalleryCategoryName | string |
None. |
|
GalleryCategoryDescription | string |
None. |
|
GalleryCategoryImages | Collection of string |
None. |
Response Formats
application/json, text/json
Sample:
{ "GalleryCategoryID": 1, "GalleryCategoryName": "sample string 2", "GalleryCategoryDescription": "sample string 3", "GalleryCategoryImages": [ "sample string 1", "sample string 2" ] }
text/html
Sample:
{"GalleryCategoryID":1,"GalleryCategoryName":"sample string 2","GalleryCategoryDescription":"sample string 3","GalleryCategoryImages":["sample string 1","sample string 2"]}
application/xml, text/xml
Sample:
<GalleryCategoryDetails xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Nishadi_DataLayer.ViewModel"> <GalleryCategoryDescription>sample string 3</GalleryCategoryDescription> <GalleryCategoryID>1</GalleryCategoryID> <GalleryCategoryImages xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d2p1:string>sample string 1</d2p1:string> <d2p1:string>sample string 2</d2p1:string> </GalleryCategoryImages> <GalleryCategoryName>sample string 2</GalleryCategoryName> </GalleryCategoryDetails>