There are different options for referencing the Account Categories (1, 2, 3), Contact Categories (1, 2, 3), and Product Categories (1, 2) in the Account, Company, and Contact Endpoints.
There are two different fields for each of the Categories, but you should only use the field that applies to your application, so as to not accidentally override information.
For example, looking at Account Category 1, there are two fields available: AccountCategory1 and AccountCategory1List.
To determine which field you should use, look at the "Allow Multiple Choice Categories" setting under EventPro Setup > CRM > System Settings.
•If the setting has been turned on (i.e. allowing multiple choices per category), you should use the list field (AccountCategory1List).
For example, if passing data to the /company/update endpoint, you would set a list of objects referenced by Oid or ItemCode, which would look something like this:
{
"Oid": "18eb6c13-7213-33bd-5cce-39d383a29e22",
"AccountCategory1List": [{ "ItemCode": "Internal" }, { "ItemCode": "Facility" }, { "Oid": "04c2da46-3d9c-89ee-0872-39ca395acf3c" }]
}
•If the setting has been turned off (i.e. only one choice is allowed per category), you should use the single field (AccountCategory1).
If you set both the list field and single field in data passed to the endpoint, the list field will override the single field.