v2
latestOpenAPI 3.0.12026-07-262352981007.0 KBMatters
Create a matter
Creates a new matter.
Note: This endpoint can also be used to create a Lead.
When creating a Lead you MUST remember to set a valid lead specific matterTypeId field (see field description below for more details) and set the isLead field to true.
The clientRole and otherSideRole are optional and cannot be identical. They will be set to the default role(s) for the specified matter type - if not provided.
post/matters
Request body
Example request
{
"externalSystemId": "EXT01",
"number": "FUS-124",
"matterTypeId": "009f778f-83df-454a-b344-768a862a7e55",
"clientIds": [
"832e778f-83df-454a-b344-768a862a7e67"
],
"otherSideIds": [
"776e778f-83df-454a-b344-768a862a6e58"
],
"branchId": "dd4e4381-b6a0-4c64-8feb-e8ea8016ea42",
"branchProviderId": "Smokeball",
"clientRole": "Buyer",
"otherSideRole": "Seller",
"description": "This is a brief description for the matter",
"status": "Open",
"openedDate": "2022-04-23T14:00:00Z",
"closedDate": "2022-04-23T14:00:00Z",
"leadOpenedDate": "2022-04-23T14:00:00Z",
"leadClosedDate": "2022-04-23T14:00:00Z",
"leadClosedReason": "No longer interested",
"referralType": "Google",
"referrerId": "97bbe49f-6460-4bfc-b287-34ddfdbb81ef",
"personResponsibleStaffId": "c85d28cb-a760-4627-aa59-0a853c2e65ed",
"personAssistingStaffId": "c85d28cb-a760-4627-aa59-0a853c2e65ed",
"personAssistingStaffIds": [
"c85d28cb-a760-4627-aa59-0a853c2e65ed"
],
"originatingStaffId": "c85d28cb-a760-4627-aa59-0a853c2e65ed",
"originatingStaffIds": [
"c85d28cb-a760-4627-aa59-0a853c2e65ed"
],
"supervisorStaffId": "c85d28cb-a760-4627-aa59-0a853c2e65ed",
"clientCode": "Client A"
}Response
When request is accepted. Returns a hypermedia 'Link' object of the matter to be created.