CourtOrder.SaveDraft
Try it in Swagger
Endpoint
- Method:
POST
- Route:
CourtOrder/SaveDraft
- Authentication:
Authorize
Request Schema
| 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: CourtOrderRequest
| Field |
Type |
Required |
Max Length |
Notes |
webOrder |
string? |
No |
20 |
|
jobTypeCode |
int |
Yes |
|
Job type code from CourtOrder.GetJobTypes. |
theirFileNumber |
string |
Yes |
35 |
|
plaintiff |
string |
Yes |
600 |
|
defendant |
string |
Yes |
600 |
|
courtCode |
string |
Conditional |
12 |
Court code, not the court display name. Required unless court override is used. Use Court.Search, Court.GetAll, or Court.Get to retrieve valid court codes. |
caseNumber |
string |
Yes |
100 |
|
claimNumber |
string |
Conditional |
50 |
Required when the bill-to customer is an insurance customer. |
department |
string |
Yes |
50 |
|
room |
string |
Yes |
50 |
|
hearingDate |
DateTime? |
No |
|
|
copyType |
string |
Yes |
|
|
courtFile |
bool |
No |
|
|
advanceFees |
bool |
No |
|
|
advanceFeeAmount |
decimal? |
No |
|
|
checkAttached |
bool |
No |
|
|
checkAttachedAmount |
decimal? |
No |
|
|
courtesyCopyDelivery |
bool |
No |
|
|
statuteFiling |
bool |
No |
|
|
eServe |
bool |
No |
|
|
callClientWithCaseNumber |
bool |
No |
|
|
rushReturnConformed |
bool |
No |
|
|
researchCopy |
bool |
No |
|
|
caseType |
int |
Yes |
|
|
specialInstructions |
string |
Yes |
500 |
|
documentsDescription |
string |
Yes |
2000 |
|
export |
bool |
No |
|
|
documents |
List<CourtOrderDocumentRequest> |
Conditional |
|
Required when the selected job type requires uploads. |
Type / Enum Values
| Field |
Allowed Values |
Notes |
courtCode |
code from Court.Search, Court.GetAll, or Court.Get |
Send the court code, not the court name/description. |
copyType |
StandardCopy, CertifiedCopy |
Maps to CourtCopyTypeEnum. |
caseType |
0 Other, 1 SmallClaims, 2 Probate, 3 FamilyLaw, 4 Complex, 5 Civil |
Maps to CourtCaseTypeEnum. |
jobTypeCode |
Integer from CourtOrder.GetJobTypes |
Use the linked lookup endpoint to get valid court job types for the tenant. |
Request Sample
{
"webOrder": "W123456",
"jobTypeCode": 101,
"theirFileNumber": "REF-12345",
"plaintiff": "Acme Corporation",
"defendant": "John Doe",
"courtCode": "LASC",
"caseNumber": "24STCV12345",
"claimNumber": "CLM-12345",
"department": "Dept 12",
"room": "Room 305",
"hearingDate": "2026-05-07T09:00:00",
"copyType": "StandardCopy",
"courtFile": true,
"advanceFees": false,
"advanceFeeAmount": null,
"checkAttached": false,
"checkAttachedAmount": null,
"courtesyCopyDelivery": false,
"statuteFiling": false,
"eServe": false,
"callClientWithCaseNumber": false,
"rushReturnConformed": false,
"researchCopy": false,
"caseType": 5,
"specialInstructions": "Call before filing.",
"documentsDescription": "Summons and complaint",
"export": false,
"documents": [
{
"name": "supporting-document.pdf",
"id": "doc-123",
"base64": "JVBERi0xLjQ="
}
]
}
Expected Response Schema
Status Codes
| Status |
Notes |
200 OK |
Returned by the controller for this operation. |
Success Body
Response type: string
The response body is the saved draft web order id.
Response Sample
"W123456"