Discussions
REST - organization set company id
Hello,
I am creating REST logic to add a company id (CO_ID) for the individual and organization.
Adding a individual works fine and sets the company id properly.
Adding an organization works (200 response), but does not set the company id. The logic used is similar so not sure why works for one and not the other.
Could it be a set-up issue? I noticed using vanilla Rise “Add contact” "Individual" can enter/search organization (company id), but for "Organization" cannot search for an organization (just enter a company name).
I have tried many combinations and reviewed the documentation/samples, but have not gotten company id to work for an organization.
The logic used is :
"PrimaryOrganization": {
"$type": "Asi.Soa.Membership.DataContracts.PrimaryOrganizationInformationData, Asi.Contracts",
"OrganizationPartyId": "xxxxxxx"
},
This works for individual, but not organization.
iMIS version20.3.156.346
Any help or sample for adding company id to an organization linking to another organization is appreciated.
Thanks Nick