Organizations
In PolicyCenter, an organization represents a business entity. Typically:
- There is one organization that represents the insurer itself. (In the bootstrap data, this is the "Enigma Fire & Casualty" organization.)
- All other organizations represent third-party entity that supports the insurer's business. Most of them are producers, such as agencies or brokers.
Querying for organizations
Use the following endpoints to query for organizations:
- GET
/admin/v1/organizations
- GET
/admin/v1/organizations/{organizationId}
For example, the following call retrieves information about organization pc:1.
Creating organizations
Use the following endpoint to create an organization:
- POST
/admin/v1/organizations
Minimum creation criteria
You must specify the following fields:
name
: The organization's nametype
: The organization type, which must be a typecode from theBusinessType
typelist, such asagency
orother
.- If the organizations type is
agency
,broker
, ormga
, thenproducerStatus
is also required. It must be a typecode from theProducerStatus
typelist, such asActive
orTerminated
. - Each instance of PolicyCenter can have only one organization whose type is
insurer
. If an insurer organization already exists (as it does in the bootstrap data), you cannot create a second one.
- If the organizations type is
For example, the following request creates a new producer agency organization:
Create an organization and primary contact using request inclusion
You can create an organization and a primary contact for that organization simultaneously using request inclusion. (For information on request inclusion, see Request and response inclusion.) The request body would look like this:
Updating organizations
Use the following endpoint to modify an organization:
- PATCH
/admin/v1/organizations
For example, the following request sets the security zone for producer organization pc:202 to security zone pc:SR3:
Cloud API does not support DELETEing organizations.