POST api/orders/{orderId}/glossary/files

Adds a new Glossary File to the Order. Notes: Content type must be set to multipart/form-data and include a boundary, for example: Content-Type: multipart/form-data; boundary=-------------------------acebdf13572468 Only one file can be uploaded per request. Files can be added to Idle Orders only. Maximum file name length including extension is 255 characters. A file name cannot contain any of the following characters: \ / : * ? " < > |. Maximum file size allowed for upload is 200MB. To update the file, delete it and then POST it again.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
orderId

The ID of the Order.

integer

Required

Body Parameters

None.

Response Information

Resource Description

201 Created if operation completed successfully. 400 Bad Request if Order is in Open status. 400 Bad Request if request contains more than one file. 400 Bad Request if file name fails validation. 400 Bad Request if file type is not supported. 404 Not Found if Order is not found.

GlossaryFile
NameDescriptionTypeAdditional information
id

The ID of the Glossary File.

integer

None.

fileName

The original file name.

string

Max length: 255

Response Formats

application/json, text/json

Sample:
{
  "id": 1,
  "fileName": "sample string 4"
}