Moving production locations released for MKG API


The 'Move' service has been released for production locations. Selecting the correct line is determined in the body, which is why a 0 is entered at prdl in the call. DialogResult:

  • 0 = "Annuleren"
  • 1 = "OK"


PUT {{restUrl}}/Documents/prdl/0/Service/s_move?DialogResult=1

Body:

{
    "request":{
        "InputData":{
            "prdl":[
                {
                    "admi_num": 1,
                    "prdh_num": "60230318",
                    "prdr_num": 1,
                    "prbv_num": 1,
                    "plnb_num": 1,
                    "RowKey": 1,
// Old location data (that you will move)
                    "t_id_old": "",
                    "t_actief_old": true,
                    "t_locatie_old": "PL1",
// New location data (where you will move)
                    "prdl_id": "",
                    "prdl_actief": true,
                    "t_aantal_new": 2,
                    "t_locatie_new": "PL2",
                    "t_status_new": 1
                }
                {
                    "t_value": "0x00000000000b2503"
                }
            ]
        }
    }
}

  • admi_num: Administration
  • prdh_num: Production order
  • prdr_num: Production order semi-finished product
  • prbv_num: Operation PreC
  • plnb_num: Planning operation
  • RowKey: obliged to submit
  • t_id_old: ID is only required if the location is changed and ID is filled
  • t_actief_old: is the location being moved from active: yes or no? Make sure you only move active prdls
  • t_locatie_old: the location being moved from
  • prdl_id: ID is only required if the location is changed and ID is filled
  • prdl_actief: is the location being moved to active: yes or no? Make sure you only move active prdls
  • t_aantal_new: the number to be moved
  • t_locatie_new: the location to move to
  • t_status_new: the status of the new line: 0 = Neutral, 1 = Must be picked up, 2 = Has been laid down