RightDocuments::CourtCasesApi
Constructors
Instance methods
List a court case's filings @param court_case_id [String] Court case UUID, its case number, or the matter number when the matter has one case @return [nil]
List a court case's filings @param court_case_id [String] Court case UUID, its case number, or the matter number when the matter has one case @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
Record a court filing (a court submission) Kept for older clients; new clients use POST /api/v1/documents/{id}/submissions and POST /api/v1/submissions/{id}/accept. document is the as-filed copy, already filed under the case's matter. Without endorsed a court submission is added (status submitted) and case_number / filed_on are refused. With endorsed (the court's stamped PDF) and filed_on, the open submission of the document in this case (or a new one) is accepted: the PDF becomes an asset of the document and its filed copy, and case_number and filed_on are written to the court case with that document as the source. Review gates: while the matter's lawsuit workflow has an open review gate before the complaint (the attorney's review of this version, the client's approval), the call is refused with 422 Not reviewed unless the form field unreviewed_reason gives the reason to record it anyway; the reason is kept with the submission and the 201 response lists the open gates in warnings (empty when none). @param court_case_id [String] Court case UUID, its case number, or the matter number when the matter has one case @return [ReviewWarnings]
Record a court filing (a court submission) Kept for older clients; new clients use POST /api/v1/documents/{id}/submissions and POST /api/v1/submissions/{id}/accept. document is the as-filed copy, already filed under the case's matter. Without endorsed a court submission is added (status submitted) and case_number / filed_on are refused. With endorsed (the court's stamped PDF) and filed_on, the open submission of the document in this case (or a new one) is accepted: the PDF becomes an asset of the document and its filed copy, and case_number and filed_on are written to the court case with that document as the source. Review gates: while the matter's lawsuit workflow has an open review gate before the complaint (the attorney's review of this version, the client's approval), the call is refused with 422 Not reviewed unless the form field unreviewed_reason gives the reason to record it anyway; the reason is kept with the submission and the 201 response lists the open gates in warnings (empty when none). @param court_case_id [String] Court case UUID, its case number, or the matter number when the matter has one case @return [Array<(ReviewWarnings, Integer, Hash)>] ReviewWarnings data, response status code and response headers
Show a court case with its filings and the source of each fact @param id [String] Court case UUID, its case number, or the matter number when the matter has one case @return [nil]
Show a court case with its filings and the source of each fact @param id [String] Court case UUID, its case number, or the matter number when the matter has one case @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
Change a court case's non-fact fields Changes court_name, efsp, efsp_reference or status. case_number and filed_on are refused: record the acceptance or endorsed copy on the court submission instead. @param id [String] Court case UUID, its case number, or the matter number when the matter has one case @return [nil]
Change a court case's non-fact fields Changes court_name, efsp, efsp_reference or status. case_number and filed_on are refused: record the acceptance or endorsed copy on the court submission instead. @param id [String] Court case UUID, its case number, or the matter number when the matter has one case @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
List a matter's court cases @param matter_id [String] Matter UUID or number (e.g. 0004-001) @return [nil]
List a matter's court cases @param matter_id [String] Matter UUID or number (e.g. 0004-001) @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
Open a court case (before filing) Opens a case shell with the intended court. The case number and filed date are facts: only the court's acceptance or endorsed copy of a court submission sets them (POST /api/v1/submissions/{id}/accept). @param matter_id [String] Matter UUID or number (e.g. 0004-001) @return [nil]
Open a court case (before filing) Opens a case shell with the intended court. The case number and filed date are facts: only the court's acceptance or endorsed copy of a court submission sets them (POST /api/v1/submissions/{id}/accept). @param matter_id [String] Matter UUID or number (e.g. 0004-001) @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers