Skip to main content
POST
/
policies
/
{policyId}
/
branches
Create a branch
curl --request POST \
  --url https://api.example.com/policies/{policyId}/branches \
  --header 'Content-Type: application/json' \
  --data '
{
  "branchType": "BASE",
  "name": "<string>",
  "branchSubType": "CREATE_ADDITIONAL_COMPONENTS"
}
'
{
"type": "<string>",
"id": "<string>"
}

Path Parameters

policyId
string
required

Unique identifier for the policy

Query Parameters

whenAt
string

Optional: the whenAt datetime

Body

application/json
branchType
enum<string>
required

Branch type

Available options:
BASE,
NEW_BUSINESS,
MTA,
RENEWAL,
REPRICING
name
string

Optional: Name of the entity

branchSubType
enum<string>

Branch sub type

Available options:
CREATE_ADDITIONAL_COMPONENTS,
DRIVEQUANT

Response

type
string
required

Type of the created object

id
string
required

Unique identifier for the created object