POST api/ReportManager/CreateGroupFromOrderItem
Request Information
URI Parameters
None.
Body Parameters
InputGroupInfo| Name | Description | Type | Additional information |
|---|---|---|---|
| OrderItemNo | string |
None. |
|
| GroupInfos | Collection of GroupInfo |
None. |
|
| IsPushToPrintManager | boolean |
None. |
Request Formats
application/json, text/json
Sample:
{
"OrderItemNo": "sample string 1",
"GroupInfos": [
{
"GroupId": "sample string 1",
"Channel": "sample string 2",
"Color": "sample string 3",
"Sides": "sample string 4",
"ComponentName": "sample string 5",
"Copies": 1,
"PrinterName": "sample string 6",
"GroupPdfName": "sample string 7",
"PaperName": "sample string 8",
"PdfFileUrl": "sample string 9",
"Remark": "sample string 10",
"RunLength": 1,
"PageNum": 1,
"Size": "sample string 11",
"AddRunLength": 12
},
{
"GroupId": "sample string 1",
"Channel": "sample string 2",
"Color": "sample string 3",
"Sides": "sample string 4",
"ComponentName": "sample string 5",
"Copies": 1,
"PrinterName": "sample string 6",
"GroupPdfName": "sample string 7",
"PaperName": "sample string 8",
"PdfFileUrl": "sample string 9",
"Remark": "sample string 10",
"RunLength": 1,
"PageNum": 1,
"Size": "sample string 11",
"AddRunLength": 12
}
],
"IsPushToPrintManager": true
}
application/xml, text/xml
Sample:
<InputGroupInfo xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SmartBuyer.Api.Models.Input.Group">
<GroupInfos>
<GroupInfo>
<AddRunLength>12</AddRunLength>
<Channel>sample string 2</Channel>
<Color>sample string 3</Color>
<ComponentName>sample string 5</ComponentName>
<Copies>1</Copies>
<GroupId>sample string 1</GroupId>
<GroupPdfName>sample string 7</GroupPdfName>
<PageNum>1</PageNum>
<PaperName>sample string 8</PaperName>
<PdfFileUrl>sample string 9</PdfFileUrl>
<PrinterName>sample string 6</PrinterName>
<Remark>sample string 10</Remark>
<RunLength>1</RunLength>
<Sides>sample string 4</Sides>
<Size>sample string 11</Size>
</GroupInfo>
<GroupInfo>
<AddRunLength>12</AddRunLength>
<Channel>sample string 2</Channel>
<Color>sample string 3</Color>
<ComponentName>sample string 5</ComponentName>
<Copies>1</Copies>
<GroupId>sample string 1</GroupId>
<GroupPdfName>sample string 7</GroupPdfName>
<PageNum>1</PageNum>
<PaperName>sample string 8</PaperName>
<PdfFileUrl>sample string 9</PdfFileUrl>
<PrinterName>sample string 6</PrinterName>
<Remark>sample string 10</Remark>
<RunLength>1</RunLength>
<Sides>sample string 4</Sides>
<Size>sample string 11</Size>
</GroupInfo>
</GroupInfos>
<IsPushToPrintManager>true</IsPushToPrintManager>
<OrderItemNo>sample string 1</OrderItemNo>
</InputGroupInfo>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
InvokeResult| Name | Description | Type | Additional information |
|---|---|---|---|
| Success | boolean |
None. |
|
| Message | string |
None. |
|
| Code | integer |
None. |
Response Formats
application/json, text/json
Sample:
{
"Success": true,
"Message": "sample string 2",
"Code": 3
}
application/xml, text/xml
Sample:
<InvokeResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SmartBuyer.Api.Models.Result"> <Code>3</Code> <Message>sample string 2</Message> <Success>true</Success> </InvokeResult>