GET api/retails/{id}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| id | integer |
Required |
Body Parameters
None.
Response Information
Resource Description
Retail| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | integer |
None. |
|
| Title | string |
None. |
|
| Category | string |
None. |
|
| ShortDesription | string |
None. |
|
| Description | string |
None. |
|
| Price | decimal number |
None. |
|
| Alias | string |
None. |
|
| Photo | Collection of byte |
None. |
|
| PhotoUrl | string |
None. |
|
| SearchKey | string |
None. |
Response Formats
application/json, text/json
Sample:
{
"Id": 1,
"Title": "sample string 2",
"Category": "sample string 3",
"ShortDesription": "sample string 4",
"Description": "sample string 5",
"Price": 6.1,
"Alias": "sample string 7",
"Photo": "QEA=",
"PhotoUrl": "sample string 8",
"SearchKey": "sample string 9"
}
application/xml, text/xml
Sample:
<Retail xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Atlantis.Library.Web.Models"> <Alias>sample string 7</Alias> <Category>sample string 3</Category> <Description>sample string 5</Description> <Id>1</Id> <Photo>QEA=</Photo> <PhotoUrl>sample string 8</PhotoUrl> <Price>6.1</Price> <SearchKey>sample string 9</SearchKey> <ShortDesription>sample string 4</ShortDesription> <Title>sample string 2</Title> </Retail>