Matters

Matters#index

Retrieves all firm matters

GET /matters

Response:

Returns a 200 OK with an array of matters:

[
    {
        "id": 1,
        "number": null,
        "title": "John Doe's Matter",
        "description": null,
        "attorney_id": null,
        "client_id": 1,
        "created_at": "2019-08-22T21:27:00.253-05:00",
        "updated_at": "2019-08-22T21:27:00.253-05:00",
        "archived": false,
        "discarded_at": null,
        "settings": null,
        "firm_id": 1,
        "receipt_number": null,
        "preference_category_id": null,
        "priority_date": null,
        "priority_date_status": "undefined",
        "invoice_id": null,
        "created_by_migration": null,
        "status": null,
        "type": null
    }
]

Matters#show

Returns a single matter

Response:

Returns a 200 OK with a single matter:

Matters#create

Creates a new matter. Keep in mind to send matter data inside a matter root key.

You should pass a JSON with the following parameters:

  • number string

  • title string

  • description string

  • client_id integer required

  • user_ids int array

Response:

Returns a 201 created.

Matters#update

Updates an existing matter.

You should pass a JSON with the following parameters:

  • number string

  • title string

  • description string

  • client_id integer required

  • user_ids int array

Response:

Returns 200 OK

Matters#destroy

Destroys an existing contact

Response:

Returns 200 OK

Matters#receipts

Retrieves all matter receipts

Response:

Returns 200 OK

Last updated

Was this helpful?