PUT

 

The following fields are changeable:

 

 

Field

Type

Description

BlockageReasonId

String

Block Reason ID

BloackageReasonText

String

Block Reason Text. Note: First set ID and then the Text if needed

ValuationId

String

Valuation ID

ValuationText

String

Valuation Text. Note: First set ID and then the text, if needed

MeasurementString

String

The Measurement Value as string

MeasurementOK

Boolean

Set Measurement manually to "ok"

Release2

Boolean

UDF1 ... UDF4

String

Change UDF fields

 

The system need as Parameter: DocEntry/i, LineNumber/s,LineNumber2/i

 

Example:

put QCOrderMeasurement(1407,"1",1)
{"BlockageReasonId":"WrongColor"}

 

Return only status 200 for ok or 404 for not ok

 

Send parameter in the correct order. First the ID and then the Text.

If you send an ID, the system inserts the default Text information and with next property you can overwrite it.

 

Define "MeasurementOK" flag only if manual changes are allowed or if you defined the MeasurementString before.

 

Return

Status: 200 Ok

{

  "DocEntry": 1506,

  "LineNumber1": 1,

  "LineNumber2": 1,

  "Status": "ok"

}

 

Status >= 400 if not ok

Body: (example)
{

  "error": {

      "code": 400,

      "message": {

          "lang": "en-us",

          "value": "Can't load QC Measurement 1506 / 1 / 10"

       }

   }

}