POST

Post possible

If the entry exists, the system makes an update.

Mandatory fields are GroupID and GroupType

Lines: If defined, the system replace all liens

Note: if you want to update a line, use WareHouseRuleLiens

 

POST WareHouseRule

 

{"RuleId":"test","RuleBy":"G","Description":"TestMe","Lines":[

   {"Description":"MyTest3","LineNumber":1,"ToWhsCode":"BW","ToBinCode":"001001","DocumentType":"WONEW"},

   {"Description":"MyTest2","LineNumber":2,"ToWhsCode":"BW2","ToBinCode":"001001","DocumentType":"WONEW"}

]}