inventory assemblyfile (http://api.3plcentral.com/rels/inventory/assemblyfile)
Resource:
file attached to an assembly
C# Rel Const:
Rels.InventorySvc.AssemblyFile
URI template:
assemblies/{id}/files/{name}
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
Sample accept: application/hal+json
{
  "contentType": "str",
  "content": {}
}
replace contents of a file attached to a assembly; see AssemblyFiles 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 assembly 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 assembly 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 assembly 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.