Skip to main content
POST
/
policies
/
{policyId}
/
branches
/
{branchId}
/
fork
Fork a branch until its XXX_QUOTED events
curl --request POST \
  --url https://api.example.com/policies/{policyId}/branches/{branchId}/fork \
  --header 'Content-Type: application/json' \
  --data '
{
  "name": "<string>",
  "closeOriginalBranch": true,
  "branchType": "BASE",
  "branchSubType": "CREATE_ADDITIONAL_COMPONENTS",
  "includeAllEvents": true
}
'
{
"type": "<string>",
"id": "<string>"
}

Path Parameters

policyId
string
required
branchId
string
required

Unique identifier for the branch

Query Parameters

whenAt
string

Optional: the whenAt datetime

Body

application/json
name
string

Optional: Name of the entity

closeOriginalBranch
boolean
branchType
enum<string>

Branch type

Available options:
BASE,
NEW_BUSINESS,
MTA,
RENEWAL,
REPRICING
branchSubType
enum<string>

Branch sub type

Available options:
CREATE_ADDITIONAL_COMPONENTS,
DRIVEQUANT
includeAllEvents
boolean

Include all events from the original branch

Response

type
string
required

Type of the created object

id
string
required

Unique identifier for the created object