Page 1 of 1

CoroprateUser Primary Department

Posted: Mon Sep 24, 2018 10:49 am
by candell
In the CRM for users there is a Primary Department field and an Other departments field.

How do we target the primary department for coroprateUser via the API?

The api has 'departments' and this returns the primary department and the other departments. I wondered whether the first department returned would be the primary department but this does not seem to be the case.

Can we target the primary department? I want to query on something such as

select * from corporateUsers where primarydepartment = 'xx'

Thanks

Re: CoroprateUser Primary Department

Posted: Wed Sep 26, 2018 2:43 pm
by pmularski
Good Afternoon Candell,

There is not currently a means to query specifically for a Primary Department on a user account. This feature was not implemented into either version of the APIs.