POST api/Works/{workorder}/Documents
Upload and associate documents to the Work Order
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
workorder |
The Work Order workorder |
string |
Required |
Body Parameters
None.
Response Information
Resource Description
Dictionary of string [key] and string [value]Response Formats
Sample:
{ "sample string 1": "sample string 2", "sample string 3": "sample string 4" }
Sample:
<ArrayOfKeyValueOfstringstring xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <KeyValueOfstringstring> <Key>sample string 1</Key> <Value>sample string 2</Value> </KeyValueOfstringstring> <KeyValueOfstringstring> <Key>sample string 3</Key> <Value>sample string 4</Value> </KeyValueOfstringstring> </ArrayOfKeyValueOfstringstring>
Sample:
--MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="[0].Key" sample string 1 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="[0].Value" sample string 2 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="[1].Key" sample string 3 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="[1].Value" sample string 4 --MultipartDataMediaFormatterBoundary1q2w3e--