PUT

 

Follow fields 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

For 4 eyes check

 

Need a second release from second person

Set true for Release

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 correct order. First the Id and then the Text.

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

 

Define "MeasurementOK" flag only, if manual changes 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"

       }

   }

}