Matter.CreateOrUpdateMatter
Endpoint
- Method:
POST - Route:
Matter/CreateOrUpdateMatter - Authentication:
Authorize
Request Schema
Headers
| Header | Required | Notes |
|---|---|---|
X-Api-Key |
Required when tenant is not resolved by subdomain | Resolves the tenant/customer database. |
Authorization: Bearer {token} |
Required for authorized endpoints | Get a token from Auth/Token or Session/Create. |
JSON Body
Body type: CreateOrUpdateMatterRequestDto
| Field | Type | Required | Max Length | Notes |
|---|---|---|---|---|
uniqueMatterId |
string |
Yes | 30 | |
matter |
string |
Yes | 35 | |
caseNumber |
string |
Yes | 100 | |
caseName |
string |
Yes | 500 |
Request Sample
{
"uniqueMatterId": "string",
"matter": "string",
"caseNumber": "string",
"caseName": "string"
}
Expected Response Schema
Status Codes
| Status | Notes |
|---|---|
200 OK |
Returned by the controller for this operation. |
400 Bad Request |
Validation, invalid request, invalid contact, or service/export failure. |
Success Body
Response type: string
The response body is a JSON string.
Response Sample
"ABC001"