PUT

Changeable fields (PUT)

 

Follow fields changeable

UDF1...UDF15, BlockageReasonId,BloackageText,ValuationId,ValuationText,iteminfo,Release,Closed

 

Example:

put QCOrder(1407)
{"BlockageReasonId":"WrongColor"}

Note:

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 QCOrder(1407)
{"BlockageReasonId":"WrongColor","BlockReasonText":"This is my own Text"}

 

Release and Closed:
Correct order is: Fill all other fields then Release and at end the Closed information.

 

Return

Status: 200 Ok

{

  "DocEntry": 1506,

  "Status": "ok"

}

 

Status >= 400 if not ok

Body: (example)
{

  "error": {

      "code": 400,

      "message": {

          "lang": "en-us",

          "value": "QC Order 15036 not existing"

       }

   }

}