GET api/Works/{workorder}/Documents
Get Work Order Documents
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
workorder |
|
string |
Required |
Body Parameters
None.
Response Information
Resource Description
Collection of DocumentName | Description | Type | Additional information |
---|---|---|---|
Description |
|
string |
None. |
Link |
|
string |
None. |
IsURL |
|
boolean |
None. |
Response Formats
Sample:
[ { "Description": "sample string 1", "Link": "sample string 2", "IsURL": true }, { "Description": "sample string 1", "Link": "sample string 2", "IsURL": true } ]
Sample:
<ArrayOfDocument xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebAPI.Models.ManWinWin"> <Document> <Description>sample string 1</Description> <IsURL>true</IsURL> <Link>sample string 2</Link> </Document> <Document> <Description>sample string 1</Description> <IsURL>true</IsURL> <Link>sample string 2</Link> </Document> </ArrayOfDocument>
Sample:
--MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="[0].Description" sample string 1 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="[0].Link" sample string 2 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="[0].IsURL" True --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="[1].Description" sample string 1 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="[1].Link" sample string 2 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="[1].IsURL" True --MultipartDataMediaFormatterBoundary1q2w3e--