GET api/SilkSaree
Gets all Silk Saree Details.
Request Information
URI Parameters
None.
Body Parameters
None.
Response Information
Resource Description
A list of Silk Saree and it's Details
Collection of SilkSareeName | Description | Type | Additional information |
---|---|---|---|
id |
The unique identifier of the saree. |
integer |
None. |
title |
The title of the saree. |
string |
None. |
price |
The price of the saree. |
decimal number |
None. |
description |
The description of the saree. |
string |
None. |
imageURL |
The URL of the saree image. |
string |
None. |
likesCount |
The number of likes the saree has received. |
integer |
None. |
Response Formats
application/json, text/json
Sample:
[ { "id": 1, "title": "sample string 2", "price": 3.0, "description": "sample string 4", "imageURL": "sample string 5", "likesCount": 6 }, { "id": 1, "title": "sample string 2", "price": 3.0, "description": "sample string 4", "imageURL": "sample string 5", "likesCount": 6 } ]
application/xml, text/xml
Sample:
<ArrayOfSilkSaree xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/OTJServices.Models"> <SilkSaree> <description>sample string 4</description> <id>1</id> <imageURL>sample string 5</imageURL> <likesCount>6</likesCount> <price>3</price> <title>sample string 2</title> </SilkSaree> <SilkSaree> <description>sample string 4</description> <id>1</id> <imageURL>sample string 5</imageURL> <likesCount>6</likesCount> <price>3</price> <title>sample string 2</title> </SilkSaree> </ArrayOfSilkSaree>