REST API>>PATCH record with multiple fields in main key
Paul Timms
9-2-20
Operating system: Windows
Using the REST API, is it possible to PATCH a record which has multiple fields in its main key? An example is DelAddrVc, whose main key consists of CustCode and DelCode. Looking at the manual, PATCHing a record requires the record "identifier" to be inside the URI, per the example below:


http://hostname.domain.top:web_port/api/1/IVVc/10000014?set_row_field.0.Quant=100

In UK sample data for example, I would like to PATCH delivery address with DelCode 001/1 for CustCode 001. (This might uncover another interesting point - what happens when the code contains a / ?)
Leave Comment
You can subscribe to notifications for this post by selecting the 'star' icon on the top right corner of the post.
Latest Posts
Carolina Valentino
are the activity set as Hansamanuals said? https://www.hansamanuals.com/main/mailnumber___62526/theconf___231/manuals/version___20250224/langcode___es/hwconvindex.htm?shortcode=HW0301SETTINGS_Order...
17:20 4 Apr 2025
Paul Timms
SendWebRequest3 is a boolean function, so if this returns true and the reply header has an accepted status, you can assume that the data was sent successfully and perform some actions on the record th...
11:12 4 Apr 2025