GET api/OMS/GetWishlistSummary?EmpCode={EmpCode}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| EmpCode | integer |
Required |
Body Parameters
None.
Response Information
Resource Description
NPISummary| Name | Description | Type | Additional information |
|---|---|---|---|
| TotalToLike | integer |
None. |
|
| TotalItems | integer |
None. |
|
| TotalWeight | decimal number |
None. |
|
| EmployeeDetails | Collection of NPISummary_Employee |
None. |
|
| ProductDetails | Collection of NPISummary_Product |
None. |
Response Formats
application/json, text/json
Sample:
{
"TotalToLike": 1,
"TotalItems": 2,
"TotalWeight": 3.0,
"EmployeeDetails": [
{
"EmployeeName": "sample string 1",
"Liked": 2,
"Weight": 3.0
},
{
"EmployeeName": "sample string 1",
"Liked": 2,
"Weight": 3.0
}
],
"ProductDetails": [
{
"ProductName": "sample string 1",
"Liked": 2,
"TotalItems": 3,
"TotalToLike": 4,
"TotalWeight": 5.0
},
{
"ProductName": "sample string 1",
"Liked": 2,
"TotalItems": 3,
"TotalToLike": 4,
"TotalWeight": 5.0
}
]
}
application/xml, text/xml
Sample:
<NPISummary xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AXCommunication.Models">
<EmployeeDetails>
<NPISummary_Employee>
<EmployeeName>sample string 1</EmployeeName>
<Liked>2</Liked>
<Weight>3</Weight>
</NPISummary_Employee>
<NPISummary_Employee>
<EmployeeName>sample string 1</EmployeeName>
<Liked>2</Liked>
<Weight>3</Weight>
</NPISummary_Employee>
</EmployeeDetails>
<ProductDetails>
<NPISummary_Product>
<Liked>2</Liked>
<ProductName>sample string 1</ProductName>
<TotalItems>3</TotalItems>
<TotalToLike>4</TotalToLike>
<TotalWeight>5</TotalWeight>
</NPISummary_Product>
<NPISummary_Product>
<Liked>2</Liked>
<ProductName>sample string 1</ProductName>
<TotalItems>3</TotalItems>
<TotalToLike>4</TotalToLike>
<TotalWeight>5</TotalWeight>
</NPISummary_Product>
</ProductDetails>
<TotalItems>2</TotalItems>
<TotalToLike>1</TotalToLike>
<TotalWeight>3</TotalWeight>
</NPISummary>