PUT

PUT Command

 

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

Release1

String

Release2

Boolean

UDF1 ... UDF4

String

Change UDF fields

 

Example:

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

 

Notes:
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 the next property you can overwrite it.

Example: Overwrite standard BlockageReason Text:

 

put QCOrderSamples(1407,"1")
{"BlockageReasonId":"WrongColor","BlockageReasonText":"This is my own Text"}

 

 

Return

Status: 200 Ok

{

  "DocEntry": 1506,

  "LineNumber1": 1,

  "Status": "ok"

}

 

Status >= 400 if not ok

Body: (example)
{

  "error": {

      "code": 400,

      "message": {

          "lang": "en-us",

          "value": "QC Sample 15036/1 not existing"

       }

   }

}