Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

To add one or more files to an existing Codyt project.

Depending on the project configuration, the operation will typically do everything needed to get translation workflows running: Save files to project, mark online, pre-translate and word count, create and assign jobs.

URL

(PUT) /api/projects/{pid}/workflows/submission

PARAMETERS

The URL parameters are:

id

The invoice ID.

int, Mandatory

The request BODY contains a JSON payload with the new invoice’s properties:

properties

Optional. Use if you want to update any of the properties.

Refer to Invoice Properties Record and notable the section “UPDATING”

object, Optional

lines

Optional. Use if you want to replace the existing invoice lines with a new set of lines.

An array if invoice lines. You must submit at least 1 line.

See Invoice Line Record and make sure to read the notes on Inserting and Updating lines.

object[], Optional

distribution

This is optional. It will be populated with the presets configured in the client record by default (which usually is what is wanted).

If you want to customize this section, submit this object: Invoice Distribution Record

object?, Optional

RESULTS

The result is the updated invoice document.

See Invoice Document Record for details.

  • No labels