[ngw] REST API Question

Morris Blackham Morris.Blackham at microfocus.com
Thu Sep 6 17:58:31 UTC 2018

Brad, as far as I can determine,, the inherited flag is dependent on if there is an "override" of the PrefAddrFormat.   In your script you could supply the format you desire,  the Values are:

USER  (username at dom)
FULL  (UPD at dom) 

If you want all objectsin this postoffice to have the same PrefAddrFomat,  the easiest way is to set it on the postoffice internetaddr tab in GWAdmin console.  Probably a good idea anyway, cause external users/group have default format as FULL..


>>> Brad Rodgers <BRodgers at cesa7.org> 9/5/2018 8:55 AM >>>
Good morning!

I am trying to change the Preferred Email ID of groups via the REST API and curl with the following command:

curl -k --user admin:$ADMINPWD -H "content-type:application/json" -X PUT --data '{"replicationOverride":"ACCORDING_TO_VISIBILITY","preferredEmailAddress":"0910TitleIIIConsortiumSuperintendentList at cesa7.org","preferredEmailId":"0910TitleIIIConsortiumSuperintendentList","emailAddresses":["0910TitleIIIConsortiumSuperintendentList at cesa7.org"],"preferredAddressFormat":{"inherited":false}}'

Everything changed as expected except for preferredAddressFormat inherited.  Even if I run a command to change it from true to false by itself, it will not:

curl -k --user admin:$ADMINPWD -H "content-type:application/json" -X PUT --data '{"preferredAddressFormat":{"inherited":false}}'

I am getting no error message in response so I am assuming my syntax is correct.  Any thoughts?

Thank you for your help!

Brad Rodgers
Director of Administrative Technology
brodgers at cesa7.org

This e-mail message together with any attachments or reply should not be considered private or confidential because it may be archived and subject to public disclosure under certain circumstances, such as requests made pursuant to Wisconsin public records law.

The message is intended solely for the use of the individual or entity to which they are addressed. Please notify the sender immediately by e-mail if you have received this e-mail by mistake and delete this e-mail from your system. Please note that the views or opinions presented in this e-mail are solely those of the author and do not necessarily represent those of Cooperative Educational Service Agency #7. Any unauthorized use, distribution, copying or disclosure by you or to any other person is prohibited.

More information about the ngw mailing list