GET api/PMix/GetOrderExcel?OrderID={OrderID}&APIKey={APIKey}&VendorID={VendorID}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
OrderID | string |
Required |
|
APIKey | string |
Default value is |
|
VendorID | integer |
Default value is 0 |
Body Parameters
None.
Response Information
Resource Description
PMixOrderPDFViewModelName | Description | Type | Additional information |
---|---|---|---|
OrderID | integer |
None. |
|
pdfFileName | string |
None. |
|
pdfDownloadLink | string |
None. |
|
PdfFileFullPath | string |
None. |
|
ReturnID | integer |
Required |
|
Message | string |
Required |
|
Successful | boolean |
Required |
|
Code | integer |
None. |
|
TotalRecord | integer |
None. |
Response Formats
application/json, text/json, text/plain, text/html
Sample:
{ "orderID": 1, "pdfFileName": "sample string 2", "pdfDownloadLink": "sample string 3", "pdfFileFullPath": "sample string 4", "returnID": 5, "message": "sample string 6", "successful": true, "code": 8, "totalRecord": 9 }
application/xml, text/xml
Sample:
<PMixOrderPDFViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CMMS_V2.Core.DataModel"> <Code xmlns="http://schemas.datacontract.org/2004/07/ATMP.Core.DataModel">8</Code> <Message xmlns="http://schemas.datacontract.org/2004/07/ATMP.Core.DataModel">sample string 6</Message> <ReturnID xmlns="http://schemas.datacontract.org/2004/07/ATMP.Core.DataModel">5</ReturnID> <Successful xmlns="http://schemas.datacontract.org/2004/07/ATMP.Core.DataModel">true</Successful> <TotalRecord xmlns="http://schemas.datacontract.org/2004/07/ATMP.Core.DataModel">9</TotalRecord> <OrderID>1</OrderID> <PdfFileFullPath>sample string 4</PdfFileFullPath> <pdfDownloadLink>sample string 3</pdfDownloadLink> <pdfFileName>sample string 2</pdfFileName> </PMixOrderPDFViewModel>
multipart/form-data
Sample:
<PMixOrderPDFViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CMMS_V2.Core.DataModel"><Code xmlns="http://schemas.datacontract.org/2004/07/ATMP.Core.DataModel">8</Code><Message xmlns="http://schemas.datacontract.org/2004/07/ATMP.Core.DataModel">sample string 6</Message><ReturnID xmlns="http://schemas.datacontract.org/2004/07/ATMP.Core.DataModel">5</ReturnID><Successful xmlns="http://schemas.datacontract.org/2004/07/ATMP.Core.DataModel">true</Successful><TotalRecord xmlns="http://schemas.datacontract.org/2004/07/ATMP.Core.DataModel">9</TotalRecord><OrderID>1</OrderID><PdfFileFullPath>sample string 4</PdfFileFullPath><pdfDownloadLink>sample string 3</pdfDownloadLink><pdfFileName>sample string 2</pdfFileName></PMixOrderPDFViewModel>