- Access exclusive content
- Connect with peers
- Share your expertise
- Find support resources
08-04-2021 09:54 AM
Hi All,
First of all I am new to restapi, it is first time working with API and trying to add address to address group.
I can creat address and adress group but once I try to update the existing group with new address it will remove the old members.
I have address group call FTPAddressgroup and trying to add new address to it.
I am usig postman for test
body :
{
"entry": {
"@name": "FTPAddressgroup",
"static": {
"member": ["Customer1"]
}
}
}
this will add cusotmer1 but it delete all the current memebrs. how can I just add.
Thanks in advance
08-05-2021 01:26 AM
Hi there,
You must merge the existing list contents of the 'member' parameter with your new address object name and then use this new list in the PUT request.
cheers,
Seb.
08-05-2021 01:26 AM
Hi there,
You must merge the existing list contents of the 'member' parameter with your new address object name and then use this new list in the PUT request.
cheers,
Seb.
08-05-2021 06:55 AM
Hi, thanks for the replay, that's what I was thinking too,
Click Accept as Solution to acknowledge that the answer to your question has been provided.
The button appears next to the replies on topics you’ve started. The member who gave the solution and all future visitors to this topic will appreciate it!
These simple actions take just seconds of your time, but go a long way in showing appreciation for community members and the LIVEcommunity as a whole!
The LIVEcommunity thanks you for your participation!