POST api/rep/CardPushItem
Get Report of Card Push Items
Request Information
URI Parameters
None.
Body Parameters
Filter Card Push Items
RepCardPushItemFilter| Name | Description | Type | Additional information |
|---|---|---|---|
| CardCode |
קוד לקוח |
string |
String length: inclusive between 0 and 15 |
| PageNum |
Current Page Num |
integer |
None. |
| CountOnPage |
Count rows On Pthe age |
integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"CardCode": "sample string 1",
"PageNum": 2,
"CountOnPage": 3
}
application/xml, text/xml
Sample:
<RepCardPushItemFilter xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/IND_DI_WebApi._BL.Reports"> <CountOnPage>3</CountOnPage> <PageNum>2</PageNum> <CardCode>sample string 1</CardCode> </RepCardPushItemFilter>
multipart/form-data
Sample:
<RepCardPushItemFilter xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/IND_DI_WebApi._BL.Reports"><CountOnPage>3</CountOnPage><PageNum>2</PageNum><CardCode>sample string 1</CardCode></RepCardPushItemFilter>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
Result of reports of Card Push Item filter by parameter
ResultRepCardPushItems| Name | Description | Type | Additional information |
|---|---|---|---|
| Result | Collection of RepCardPushItem |
תוכן הדוח |
|
| PageNum | integer |
None. |
|
| CountOnPage | integer |
None. |
|
| CountPages | integer |
None. |
|
| CountAll | integer |
None. |
Response Formats
application/json, text/json
Sample:
{
"Result": [
{
"RowLine": 1,
"ItemCode": "sample string 2",
"ItemName": "sample string 3",
"PushType": "sample string 4",
"CalcType": 5,
"OnHand": 1.0,
"Price": 1.0,
"Currency": "sample string 6",
"UDF": [
{
"ColName": "sample string 1",
"ColValue": "sample string 2"
},
{
"ColName": "sample string 1",
"ColValue": "sample string 2"
}
]
},
{
"RowLine": 1,
"ItemCode": "sample string 2",
"ItemName": "sample string 3",
"PushType": "sample string 4",
"CalcType": 5,
"OnHand": 1.0,
"Price": 1.0,
"Currency": "sample string 6",
"UDF": [
{
"ColName": "sample string 1",
"ColValue": "sample string 2"
},
{
"ColName": "sample string 1",
"ColValue": "sample string 2"
}
]
}
],
"PageNum": 1,
"CountOnPage": 2,
"CountPages": 3,
"CountAll": 4
}
application/xml, text/xml
Sample:
<ResultRepCardPushItems xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/IND_DI_WebApi._BL.Reports">
<CountAll>4</CountAll>
<CountOnPage>2</CountOnPage>
<CountPages>3</CountPages>
<PageNum>1</PageNum>
<Result>
<RepCardPushItem>
<UDF>
<RepColumnUDF>
<ColName>sample string 1</ColName>
<ColValue>sample string 2</ColValue>
</RepColumnUDF>
<RepColumnUDF>
<ColName>sample string 1</ColName>
<ColValue>sample string 2</ColValue>
</RepColumnUDF>
</UDF>
<CalcType>5</CalcType>
<Currency>sample string 6</Currency>
<ItemCode>sample string 2</ItemCode>
<ItemName>sample string 3</ItemName>
<OnHand>1</OnHand>
<Price>1</Price>
<PushType>sample string 4</PushType>
<RowLine>1</RowLine>
</RepCardPushItem>
<RepCardPushItem>
<UDF>
<RepColumnUDF>
<ColName>sample string 1</ColName>
<ColValue>sample string 2</ColValue>
</RepColumnUDF>
<RepColumnUDF>
<ColName>sample string 1</ColName>
<ColValue>sample string 2</ColValue>
</RepColumnUDF>
</UDF>
<CalcType>5</CalcType>
<Currency>sample string 6</Currency>
<ItemCode>sample string 2</ItemCode>
<ItemName>sample string 3</ItemName>
<OnHand>1</OnHand>
<Price>1</Price>
<PushType>sample string 4</PushType>
<RowLine>1</RowLine>
</RepCardPushItem>
</Result>
</ResultRepCardPushItems>
multipart/form-data
Sample:
<ResultRepCardPushItems xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/IND_DI_WebApi._BL.Reports"><CountAll>4</CountAll><CountOnPage>2</CountOnPage><CountPages>3</CountPages><PageNum>1</PageNum><Result><RepCardPushItem><UDF><RepColumnUDF><ColName>sample string 1</ColName><ColValue>sample string 2</ColValue></RepColumnUDF><RepColumnUDF><ColName>sample string 1</ColName><ColValue>sample string 2</ColValue></RepColumnUDF></UDF><CalcType>5</CalcType><Currency>sample string 6</Currency><ItemCode>sample string 2</ItemCode><ItemName>sample string 3</ItemName><OnHand>1</OnHand><Price>1</Price><PushType>sample string 4</PushType><RowLine>1</RowLine></RepCardPushItem><RepCardPushItem><UDF><RepColumnUDF><ColName>sample string 1</ColName><ColValue>sample string 2</ColValue></RepColumnUDF><RepColumnUDF><ColName>sample string 1</ColName><ColValue>sample string 2</ColValue></RepColumnUDF></UDF><CalcType>5</CalcType><Currency>sample string 6</Currency><ItemCode>sample string 2</ItemCode><ItemName>sample string 3</ItemName><OnHand>1</OnHand><Price>1</Price><PushType>sample string 4</PushType><RowLine>1</RowLine></RepCardPushItem></Result></ResultRepCardPushItems>