PhotoCopyOrder.GetDraft

Try it in Swagger

Endpoint

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.

Path Parameters

Field Type Required Notes
webOrder string Yes Route segment.

This endpoint does not accept a JSON request body.

Expected Response Schema

Status Codes

Status Notes
200 OK Returned by the controller for this operation.
404 Not Found Requested resource or draft was not found.

Success Body

Response type: PhotoCopyOrderResponse

Field Type Required Max Length Notes
webOrder string Yes
referenceNumber string Yes
caseNumber string Yes
courtCode string Yes 12 Court code, not the court display name. See Court.Search, Court.GetAll, or Court.Get for court lookup details.
attorney int? No
billToAttorney int? No
plaintiff string Yes
defendant string Yes
representing string Yes
billMe bool No
shipToMe bool No
releaseType int No
patientName string Yes
patientId string Yes
birthDate DateTime? No
injuryDate DateTime? No
specialInstructions string Yes
dateOrdered string Yes
dueDate string Yes
rush bool No
billToParties List<PhotoCopyBillToPartyRequest> No
shipToParties List<PhotoCopyShipToPartyRequest> No
opposingCounsels List<PhotoCopyOpposingCounselRequest> No
facilities List<PhotoCopyFacilityRequest> No
documents List<PhotoCopyDocumentResponse> No

Response Sample

{
  "webOrder": "W123456",
  "referenceNumber": "REF-12345",
  "caseNumber": "24STCV12345",
  "courtCode": "LASC",
  "attorney": 123,
  "billToAttorney": 123,
  "plaintiff": "Acme Corporation",
  "defendant": "John Doe",
  "representing": "Plaintiff",
  "billMe": false,
  "shipToMe": false,
  "releaseType": 123,
  "patientName": "John Patient",
  "patientId": "PAT-12345",
  "birthDate": "2026-05-07T00:00:00",
  "injuryDate": "2026-05-07T00:00:00",
  "specialInstructions": "Call before delivery.",
  "dateOrdered": "2026-05-07T00:00:00",
  "dueDate": "2026-05-07T00:00:00",
  "rush": false,
  "opposingCounsels": [
    {
      "name": "Opposing Counsel LLP",
      "adjuster": "Olivia Opposing",
      "address": "700 Counsel Rd",
      "city": "Los Angeles",
      "state": "CA",
      "zip": "90012",
      "phone": "2135550456",
      "consumer": "John Patient",
      "representing": "Defendant",
      "representativeName": "John Doe",
      "primaryOpposingCounsel": true,
      "handServeOpposing": false,
      "mailNotice": true,
      "emailNotice": false
    }
  ]
}