PUT

PUT Command

 

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

Release1

String

Release2

Boolean

UDF1 ... UDF4

String

Change udf fields

 

Example:

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

 

Notes:

 
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

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"

       }

   }

}