GET api/OMS/GetItemDetails?empCode={empCode}&NPIDetailReference={NPIDetailReference}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| empCode | integer |
Required |
|
| NPIDetailReference | integer |
Required |
Body Parameters
None.
Response Information
Resource Description
Collection of NPIItemDetails| Name | Description | Type | Additional information |
|---|---|---|---|
| TotalLike | integer |
None. |
|
| isLiked | boolean |
None. |
|
| BarCode | string |
None. |
|
| Rating | integer |
None. |
|
| AvgRating | integer |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"TotalLike": 1,
"isLiked": true,
"BarCode": "sample string 3",
"Rating": 4,
"AvgRating": 5
},
{
"TotalLike": 1,
"isLiked": true,
"BarCode": "sample string 3",
"Rating": 4,
"AvgRating": 5
}
]
application/xml, text/xml
Sample:
<ArrayOfNPIItemDetails xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AXCommunication.Models">
<NPIItemDetails>
<AvgRating>5</AvgRating>
<BarCode>sample string 3</BarCode>
<Rating>4</Rating>
<TotalLike>1</TotalLike>
<isLiked>true</isLiked>
</NPIItemDetails>
<NPIItemDetails>
<AvgRating>5</AvgRating>
<BarCode>sample string 3</BarCode>
<Rating>4</Rating>
<TotalLike>1</TotalLike>
<isLiked>true</isLiked>
</NPIItemDetails>
</ArrayOfNPIItemDetails>