Resource:file attached to an orderC# Rel Const:Rels.OrderSvc.OrderFileURI template:{id}/files/{name}Obtain URI from:
get contents of a file attached to an order;
set request accept header to application/*, in which case response content-type header will specify actual type
no concurrency control on update or delete, hence no ETag provided
Success status: 200
Name (* = required) | Data Type | Description |
---|---|---|
id * | int | order id |
name * | string | file name, with "." encoded as "~d~" |
Type | Description | |
---|---|---|
ContentType | string | |
Content | Object |
{ "contentType": "str", "content": {} }
replace contents of a file attached to an order; see OrderFiles POST for setting content-type and content;
no concurrency control, so no if-match header required
Success status: 204
Name (* = required) | Data Type | Description |
---|---|---|
id * | int | order id |
name * | string | file name, with "." encoded as "~d~" |
Type | Description | |
---|---|---|
ContentType | string | |
Content | Object |
Sample content-type: application/hal+json |
{ "contentType": "str", "content": {} }
delete contents of a file attached to an order but retains history of who attached and who deleted it
no concurrency control, so no if-match header required
Success status: 204
Name (* = required) | Data Type | Description |
---|---|---|
id * | int | order id |
name * | string | file name, with "." encoded as "~d~" |
This documentation is subject to change, and is updated often and without warning. The models documented may or may not be available to users now or in the future. Use this documentation at your own risk.
Contact api@3plcentral.com with any questions about this documentation.