GET api/WorkOrderStatus/GetJobCardPDF?ApiToken={ApiToken}&WorkOrderID={WorkOrderID}&UserID={UserID}&CompanyID={CompanyID}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
ApiToken | string |
None. |
|
WorkOrderID | integer |
Required |
|
UserID | integer |
None. |
|
CompanyID | integer |
None. |
Body Parameters
None.
Response Information
Resource Description
WorkOrderJobCardPdfViewDataModelName | Description | Type | Additional information |
---|---|---|---|
WorkOrderID | 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:
{ "workOrderID": 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:
<WorkOrderJobCardPdfViewDataModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ATMP.Core.DataModel"> <Code>8</Code> <Message>sample string 6</Message> <ReturnID>5</ReturnID> <Successful>true</Successful> <TotalRecord>9</TotalRecord> <PdfFileFullPath>sample string 4</PdfFileFullPath> <WorkOrderID>1</WorkOrderID> <pdfDownloadLink>sample string 3</pdfDownloadLink> <pdfFileName>sample string 2</pdfFileName> </WorkOrderJobCardPdfViewDataModel>
multipart/form-data
Sample:
<WorkOrderJobCardPdfViewDataModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ATMP.Core.DataModel"><Code>8</Code><Message>sample string 6</Message><ReturnID>5</ReturnID><Successful>true</Successful><TotalRecord>9</TotalRecord><PdfFileFullPath>sample string 4</PdfFileFullPath><WorkOrderID>1</WorkOrderID><pdfDownloadLink>sample string 3</pdfDownloadLink><pdfFileName>sample string 2</pdfFileName></WorkOrderJobCardPdfViewDataModel>