You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

Update location refnum via REST

Accepted answer
32
Views
12
Comments

Summary:

Hi

Can anyone provide the json payload for updating existing refnum on address via REST ?

For address line(s) is quite easy and done via address line number, like this:

{ "op": "replace", "path": "addresses/1/addressLine", "value": "NEW STREET LINE" }

but can`t figure out syntax for "refnums".

Tried something like this, but no effect:

{ "op": "replace", "path": "refnums/DOMAIN.REFNUMXID/locationRefnumValue", "value": "new value" }

Content (please ensure you mask any confidential information):


Version (include the version you are using, if applicable):


24b

Code Snippet (add any code snippets that support your topic, if applicable):

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!