### Example JSON Response for Account Object (Status 200) Source: https://app.practicepanther.com/swagger/docs/v2/swagger/ui/index Provides an example JSON payload for a successful response (Status 200) when retrieving or creating an Account. This example demonstrates the structure and typical values for account fields. ```json { "application/json": { "id": "d8533851-160f-4a42-8946-849f61810f8a", "display_name": "John Doe", "number": 123, "company_name": "My Company Name", "address_street_1": "10800", "address_street_2": "Biscayne Blvd", "address_city": "Miami", "address_state": "Florida", "address_country": "United States", "address_zip_code": "33161", "company_custom_field_values": [ { "custom_field_ref": { ``` -------------------------------- ### Example JSON Response for FlatFee (Status 200) Source: https://app.practicepanther.com/swagger/docs/v2/swagger/ui/index Provides an example of a JSON payload representing a FlatFee object for a 200 OK response from the Practice Panther API. This example illustrates the expected data types and structure for each field. ```json { "application/json": { "id": "5f9e06d4-4dc6-4425-a71f-19119f11db21", "is_billable": false, "is_billed": false, "date": "2026-01-12T00:00:00", "qty": 1, "price": 1, "description": "description1", "private_notes": "private_notes1", "account_ref": { "id": "5f9e06d4-4dc6-4425-a71f-19119f11db21", "display_name": "Jane Doe" }, "matter_ref": { "id": "5f9e06d4-4dc6-4425-a71f-19119f11db21", "display_name": "My Matter" }, "billed_by_user_ref": { "id": "5f9e06d4-4dc6-4425-a71f-19119f11db21", "display_name": "Jon Doe", "email_address": "email_address1" }, "item_ref": { "id": "5f9e06d4-4dc6-4425-a71f-19119f11db21", "name": "name1" }, "created_at": "2026-01-12T00:00:00", "updated_at": "2026-01-12T00:00:00" } } ``` -------------------------------- ### Account Model Example Source: https://app.practicepanther.com/swagger/docs/v2/swagger/ui/index Demonstrates the structure and example values for an Account object. This includes fields for ID, display name, company information, addresses, and user assignments. ```json { "id": "dcaad3e6-4632-45d4-8fd2-01fad654c75c", "display_name": "John Doe", "number": 123, "company_name": "My Company Name", "address_street_1": "10800", "address_street_2": "Biscayne Blvd", "address_city": "Miami", "address_state": "Florida", "address_country": "United States" } ``` -------------------------------- ### Example Flat Fee Request/Response Source: https://app.practicepanther.com/swagger/docs/v2/swagger/ui/index Provides an example JSON payload for a FlatFee object, illustrating both request and success response structures. ```APIDOC ## Example Flat Fee Request/Response ### Description This section shows an example of a FlatFee object, as it might be used in a request body or returned in a successful response. ### Request Example ```json { "id": "5f9e06d4-4dc6-4425-a71f-19119f11db21", "is_billable": false, "is_billed": false, "date": "2026-01-12T00:00:00", "qty": 1, "price": 1, "description": "description1", "private_notes": "private_notes1", "account_ref": { "id": "5f9e06d4-4dc6-4425-a71f-19119f11db21", "display_name": "Jane Doe" }, "matter_ref": { "id": "5f9e06d4-4dc6-4425-a71f-19119f11db21", "display_name": "My Matter" }, "billed_by_user_ref": { "id": "5f9e06d4-4dc6-4425-a71f-19119f11db21", "display_name": "Jon Doe", "email_address": "email_address1" }, "item_ref": { "id": "5f9e06d4-4dc6-4425-a71f-19119f11db21", "name": "name1" }, "created_at": "2026-01-12T00:00:00", "updated_at": "2026-01-12T00:00:00" } ``` ### Response Example (200 OK) ```json { "id": "5f9e06d4-4dc6-4425-a71f-19119f11db21", "is_billable": false, "is_billed": false, "date": "2026-01-12T00:00:00", "qty": 1, "price": 1, "description": "description1", "private_notes": "private_notes1", "account_ref": { "id": "5f9e06d4-4dc6-4425-a71f-19119f11db21", "display_name": "Jane Doe" }, "matter_ref": { "id": "5f9e06d4-4dc6-4425-a71f-19119f11db21", "display_name": "My Matter" }, "billed_by_user_ref": { "id": "5f9e06d4-4dc6-4425-a71f-19119f11db21", "display_name": "Jon Doe", "email_address": "email_address1" }, "item_ref": { "id": "5f9e06d4-4dc6-4425-a71f-19119f11db21", "name": "name1" }, "created_at": "2026-01-12T00:00:00", "updated_at": "2026-01-12T00:00:00" } ``` ``` -------------------------------- ### Example User Object JSON Source: https://app.practicepanther.com/swagger/docs/v2/swagger/ui/index Provides an example of a single User object in JSON format, matching the defined structure. This is useful for understanding data representation and for testing. ```json { "application/json": { "id": "e516defc-4229-4e44-9068-bc1b0b77e80a", "is_active": false, "display_name": "display_name1", "first_name": "first_name1", "last_name": "last_name1", "middle_name": "middle_name1", "email": "email1", "created_at": "2026-01-12T00:00:00", "updated_at": "2026-01-12T00:00:00" } } ``` -------------------------------- ### Example JSON Response for Account (Status 200) Source: https://app.practicepanther.com/swagger/docs/v2/swagger/ui/index Provides an example JSON payload for a successful (Status 200) API response, illustrating the structure of an 'Account' object with sample data. ```json { "id": "cb3f2767-272e-437f-9b45-e3d523538a96", "display_name": "John Doe", "number": 123, "company_name": "My Company Name", "address_street_1": "10800", "address_street_2": "Biscayne Blvd", "address_city": "Miami", "address_state": "Florida", "address_country": "United States", "address_zip_code": "33161", "company_custom_field_values": [ { "custom_field_ref": { "id": "field_id_1", "label": "Custom Field Label", "value_type": "TextEditor" } } ] } ``` -------------------------------- ### Example JSON Response for Task Source: https://app.practicepanther.com/swagger/docs/v2/swagger/ui/index Provides an example of a JSON response body for a Task object. This illustrates the expected format and data types for a successful API call. ```json { "application/json": { "id": "2c1ba3da-1408-4e14-9759-761e3197b744", "account_ref": { "id": "2c1ba3da-1408-4e14-9759-761e3197b744", "display_name": "Jane Doe" }, "matter_ref": { "id": "2c1ba3da-1408-4e14-9759-761e3197b744", "display_name": "My Matter" }, "subject": "subject1", "notes": "notes1", "priority": "Low", "status": "NotCompleted", "due_date": "2026-01-12T00:00:00", "assigned_to_users": [ { "id": "2c1ba3da-1408-4e14-9759-761e3197b744", "display_name": "Jon Doe", "email_address": "email_address1" } ], "assigned_to_contacts": [ { "account_ref": { "id": "2c1ba3da-1408-4e14-9759-761e3197b744", "display_name": "Jane Doe" }, "id": "2c1ba3da-1408-4e14-9759-761e3197b744", "display_name": "John Doe" } ], "tags": [ "My Tag 1", "My Tag 2" ], "created_at": "2026-01-12T00:00:00", "updated_at": "2026-01-12T00:00:00" } } ``` -------------------------------- ### FlatFee Response Example (Status 200) - JSON Source: https://app.practicepanther.com/swagger/docs/v2/swagger/ui/index Provides an example of a FlatFee response object in JSON format for a successful request (Status 200). This example demonstrates the structure and typical values for each field, including nested reference objects for account, matter, billed by user, and item. ```json { "application/json": { "id": "b6236a2b-24eb-49ff-92b5-efedb1b1acc6", "is_billable": false, "is_billed": false, "date": "2026-01-12T00:00:00", "qty": 1, "price": 1, "description": "description1", "private_notes": "private_notes1", "account_ref": { "id": "b6236a2b-24eb-49ff-92b5-efedb1b1acc6", "display_name": "Jane Doe" }, "matter_ref": { "id": "b6236a2b-24eb-49ff-92b5-efedb1b1acc6", "display_name": "My Matter" }, "billed_by_user_ref": { "id": "b6236a2b-24eb-49ff-92b5-efedb1b1acc6", "display_name": "Jon Doe", "email_address": "email_address1" }, "item_ref": { "id": "b6236a2b-24eb-49ff-92b5-efedb1b1acc6", "name": "name1" }, "created_at": "2026-01-12T00:00:00", "updated_at": "2026-01-12T00:00:00" } } ``` -------------------------------- ### Example JSON Response for Contact (Status 200) Source: https://app.practicepanther.com/swagger/docs/v2/swagger/ui/index Provides an example of a successful JSON response (HTTP 200 OK) for a Contact object, illustrating the structure and typical data values. ```json { "application/json": { "id": "f13bc821-128d-43d0-8643-0b6d739da807", "account_ref": { "id": "f13bc821-128d-43d0-8643-0b6d739da807", "display_name": "Jane Doe" }, "is_primary_contact": false, "display_name": "Jake Doe", "first_name": "Jake", "middle_name": "Joe", "last_name": "Doe", "phone_mobile": "202-555-0197", "phone_home": "202-555-0171", "phone_fax": "202-555-0161", "phone_work": "202-555-0101", "email": "myemail@john-doe.cf", "notes": "These are my notes...", "custom_field_values": [ { "custom_field_ref": { "id": "f13bc821-128d-43d0-8643-0b6d739da807", "label": "My Label", "value_type": "TextBox" }, "value_boolean": false, "contact_ref": { "account_ref": { "id": "f13bc821-128d-43d0-8643-0b6d739da807", "display_name": "Jane Doe" }, "id": "f13bc821-128d-43d0-8643-0b6d739da807", "display_name": "John Doe" }, "value_date_time": "2026-01-12T00:00:00", "value_number": 123, "value_string": "Custom Field Value" } ], "status": "Active" } } ``` -------------------------------- ### Example Expense JSON Response (Status 200) Source: https://app.practicepanther.com/swagger/docs/v2/swagger/ui/index Provides an example of a successful JSON response (Status 200) for an expense, showcasing the structure and typical values for the fields defined in the Expense object. ```json { "application/json": [ { "id": "402a6248-3c26-4c4b-9b41-32f01885ae1c", "is_billable": false, "is_billed": false, "date": "2026-01-12T00:00:00", "qty": 2, "price": 100, "amount": 200, "description": "This is my expense", "private_notes": "These are my notes...", "account_ref": { "id": "402a6248-3c26-4c4b-9b41-32f01885ae1c", "display_name": "Jane Doe" }, "matter_ref": { "id": "402a6248-3c26-4c4b-9b41-32f01885ae1c", "display_name": "My Matter" }, "billed_by_user_ref": { "id": "402a6248-3c26-4c4b-9b41-32f01885ae1c", "display_name": "Jon Doe", "email_address": "email_address1" }, "expense_category_ref": { "id": "402a6248-3c26-4c4b-9b41-32f01885ae1c", "name": "My Expense", "created_at": "2026-01-12T00:00:00", "updated_at": "2026-01-12T00:00:00" }, "created_at": "2026-01-12T00:00:00", "updated_at": "2026-01-12T00:00:00" }, { "id": "0260831a-b575-4346-8574-f68408dc50fb", "is_billable": false, "is_billed": false, "date": "2026-01-12T00:00:00", "qty": 2, "price": 100, "amount": 200, "description": "This is my expense", "private_notes": "These are my notes...", "account_ref": { "id": "0260831a-b575-4346-8574-f68408dc50fb", "display_name": "Jane Doe" }, "matter_ref": { "id": "0260831a-b575-4346-8574-f68408dc50fb", "display_name": "My Matter" }, "billed_by_user_ref": { "id": "0260831a-b575-4346-8574-f68408dc50fb", "display_name": "Jon Doe", "email_address": "email_address1" }, "expense_category_ref": { "id": "0260831a-b575-4346-8574-f68408dc50fb", "name": "My Expense", "created_at": "2026-01-12T00:00:00", "updated_at": "2026-01-12T00:00:00" }, "created_at": "2026-01-12T00:00:00", "updated_at": "2026-01-12T00:00:00" } ] } ``` -------------------------------- ### Relationship Request Body Example (JSON) Source: https://app.practicepanther.com/swagger/docs/v2/swagger/ui/index Illustrates the expected JSON format for the request body when creating or updating a relationship. This example includes all fields and their corresponding data types as defined in the API. ```json { "id": "00000000-0000-0000-0000-000000000001", "contact_ref": { "account_ref": { "id": "de4b04b9-7078-409c-99e0-5ece811c2d1c", "display_name": "Jane Doe" }, "id": "de4b04b9-7078-409c-99e0-5ece811c2d1c", "display_name": "John Doe" }, "matter_ref": { "id": "de4b04b9-7078-409c-99e0-5ece811c2d1c", "display_name": "My Matter" }, "name": "name1", "notes": "notes1" } ``` -------------------------------- ### Task JSON Response Example (Status 200) Source: https://app.practicepanther.com/swagger/docs/v2/swagger/ui/index Provides an example of a successful JSON response (Status 200) for a task. This demonstrates the structure and data types of the fields as defined in the Task object. ```json { "application/json": [ { "id": "e2b89560-561a-4e9e-815e-5112bdc91152", "account_ref": { "id": "e2b89560-561a-4e9e-815e-5112bdc91152", "display_name": "Jane Doe" }, "matter_ref": { "id": "e2b89560-561a-4e9e-815e-5112bdc91152", "display_name": "My Matter" }, "subject": "subject1", "notes": "notes1", "priority": "Low", "status": "NotCompleted", "due_date": "2026-01-12T00:00:00", "assigned_to_users": [ { "id": "e2b89560-561a-4e9e-815e-5112bdc91152", "display_name": "Jon Doe", "email_address": "email_address1" } ], "assigned_to_contacts": [ { "account_ref": { "id": "e2b89560-561a-4e9e-815e-5112bdc91152", "display_name": "Jane Doe" }, "id": "e2b89560-561a-4e9e-815e-5112bdc91152", "display_name": "John Doe" } ], "tags": [ "My Tag 1", "My Tag 2" ], "created_at": "2026-01-12T00:00:00", "updated_at": "2026-01-12T00:00:00" }, { "id": "deafe843-d66c-4c11-81aa-070dab972d52", "account_ref": { "id": "deafe843-d66c-4c11-81aa-070dab972d52", "display_name": "Jane Doe" }, "matter_ref": { "id": "deafe843-d66c-4c11-81aa-070dab972d52", "display_name": "My Matter" }, "subject": "subject1", "notes": "notes1", "priority": "Low", "status": "NotCompleted", "due_date": "2026-01-12T00:00:00", "assigned_to_users": [ { "id": "deafe843-d66c-4c11-81aa-070dab972d52", "display_name": "Jon Doe", "email_address": "email_address1" } ], "assigned_to_contacts": [ { "account_ref": { "id": "deafe843-d66c-4c11-81aa-070dab972d52", "display_name": "Jane Doe" }, "id": "deafe843-d66c-4c11-81aa-070dab972d52", "display_name": "John Doe" } ], "tags": [ "My Tag 1", "My Tag 2" ], "created_at": "2026-01-12T00:00:00", "updated_at": "2026-01-12T00:00:00" } ] } ``` -------------------------------- ### Retrieve Event API Request Example (Curl) Source: https://app.practicepanther.com/swagger/docs/v2/swagger/ui/index Example cURL command to retrieve a specific event by its ID. This demonstrates how to make a GET request to the API endpoint, specifying the event ID as a query parameter. ```bash curl -X GET "/api/v2/events?id=9a5d5148-b74f-41d6-a407-b6d86144175f" ``` -------------------------------- ### GET /api/v2/payments/{id} - Retrieve Payment by ID (Example) Source: https://app.practicepanther.com/swagger/docs/v2/swagger/ui/index Retrieves a specific payment record using its unique identifier. This endpoint is typically used to fetch details of a single payment. ```json { "id": "example-payment-id", "amount": 100.50, "currency": "USD", "status": "completed", "transaction_date": "2023-10-27T10:00:00Z" } ``` -------------------------------- ### File Model and Example - JSON Source: https://app.practicepanther.com/swagger/docs/v2/swagger/ui/index Illustrates the structure of a File object, detailing its properties such as ID, references to accounts and matters, file name, size, and content type. A sample JSON response shows an example of a file object. ```json { "application/json": { "id": "00000000-0000-0000-0000-000000000001", "account_ref": { "id": "853e813b-16fb-45b4-9c91-cc13755ef0d3", "display_name": "Jane Doe" }, "matter_ref": { "id": "853e813b-16fb-45b4-9c91-cc13755ef0d3", "display_name": "My Matter" }, "activity_ref": { "id": "853e813b-16fb-45b4-9c91-cc13755ef0d3", "subject": "My Activity" }, "description": "A simple image", "file_name": "SimpleImage.png", "size": 1234, "content_type": "image/bmp", "created_at": "2026-01-12T00:00:00", "updated_at": "2026-01-12T00:00:00" } } ``` -------------------------------- ### File Resource Example Response (POST /api/v2/files) Source: https://app.practicepanther.com/swagger/docs/v2/swagger/ui/index Provides an example JSON response body for a successful POST request to the /api/v2/files endpoint. This illustrates the structure of a newly created file resource, including its unique identifier, associated references, and metadata. It serves as a reference for expected output after file creation. ```json { "id": "00000000-0000-0000-0000-000000000001", "account_ref": { "id": "7fd1fc8a-bc2a-4a36-9164-a189ebbc83fc", "display_name": "Jane Doe" }, "matter_ref": { "id": "7fd1fc8a-bc2a-4a36-9164-a189ebbc83fc", "display_name": "My Matter" }, "activity_ref": { "id": "7fd1fc8a-bc2a-4a36-9164-a189ebbc83fc", "subject": "My Activity" }, "description": "A simple image", "file_name": "SimpleImage.png", "size": 1234, "content_type": "image/bmp", "created_at": "2026-01-12T00:00:00", "updated_at": "2026-01-12T00:00:00" } ``` -------------------------------- ### Get Notes Response (Status 200) JSON Example Source: https://app.practicepanther.com/swagger/docs/v2/swagger/ui/index This JSON object represents a successful response (Status 200 OK) when retrieving a list of notes. It conforms to the defined 'Note' model, including nested 'AccountReference', 'MatterReference', and 'UserReference' objects, along with arrays for tags and assigned users. ```json { "application/json": [ { "id": "7e2bd7d8-a767-4271-a82b-73307afd44fe", "account_ref": { "id": "7e2bd7d8-a767-4271-a82b-73307afd44fe", "display_name": "Jane Doe" }, "matter_ref": { "id": "7e2bd7d8-a767-4271-a82b-73307afd44fe", "display_name": "My Matter" }, "subject": "Note subject...", "note": "These are my notes...", "assigned_to_users": [ { "id": "7e2bd7d8-a767-4271-a82b-73307afd44fe", "display_name": "Jon Doe", "email_address": "email_address1" } ], "date": "2026-01-12T14:50:41.482645+00:00", "tags": [ "My Tag 1", "My Tag 2" ], "created_at": "2026-01-12T00:00:00", "updated_at": "2026-01-12T00:00:00" }, { "id": "28306def-08f4-4978-ae6b-6df2738ae746", "account_ref": { "id": "28306def-08f4-4978-ae6b-6df2738ae746", "display_name": "Jane Doe" }, "matter_ref": { "id": "28306def-08f4-4978-ae6b-6df2738ae746", "display_name": "My Matter" }, "subject": "Note subject...", "note": "These are my notes...", "assigned_to_users": [ { "id": "28306def-08f4-4978-ae6b-6df2738ae746", "display_name": "Jon Doe", "email_address": "email_address1" } ], "date": "2026-01-12T14:50:41.482645+00:00", "tags": [ "My Tag 1", "My Tag 2" ], "created_at": "2026-01-12T00:00:00", "updated_at": "2026-01-12T00:00:00" } ] } ``` -------------------------------- ### Get Call Log by ID API Documentation Source: https://app.practicepanther.com/swagger/docs/v2/swagger/ui/index This section describes the API endpoint for retrieving a specific call log using its ID. It outlines the path parameter and details the structure of the CallLog object in the response body, including fields like account reference, subject, duration, and more. Example JSON response is provided. ```json { "application/json": { "id": "2a990f54-df94-422d-9cb6-70a2287adbae", "account_ref": { "id": "2a990f54-df94-422d-9cb6-70a2287adbae", "display_name": "Jane Doe" }, "matter_ref": { "id": "2a990f54-df94-422d-9cb6-70a2287adbae", "display_name": "My Matter" }, "subject": "Call Log subject...", "duration": 1, "notes": "These are my notes...", "date": "2026-01-12T00:00:00", "call_direction": "Inbound", "assigned_to_users": [ { "id": "2a990f54-df94-422d-9cb6-70a2287adbae", "display_name": "Jon Doe", "email_address": "email_address1" } ], "tags": [ "My Tag 1", "My Tag 2" ], "created_at": "2026-01-12T00:00:00", "updated_at": "2026-01-12T00:00:00" } } ``` -------------------------------- ### Response Body Example for GET /api/v2/relationships Source: https://app.practicepanther.com/swagger/docs/v2/swagger/ui/index This JSON object illustrates a successful response (Status 200 OK) when retrieving a relationship. It provides the details of the requested relationship, including its unique identifier, references to associated contacts and matters, and descriptive fields like name and notes. This format adheres to the API's defined Relationship model. ```json { "application/json": { "id": "00000000-0000-0000-0000-000000000001", "contact_ref": { "account_ref": { "id": "ad15ae82-67b7-43ea-b1ea-278a1109457e", "display_name": "Jane Doe" }, "id": "ad15ae82-67b7-43ea-b1ea-278a1109457e", "display_name": "John Doe" }, "matter_ref": { "id": "ad15ae82-67b7-43ea-b1ea-278a1109457e", "display_name": "My Matter" }, "name": "name1", "notes": "notes1" } } ``` -------------------------------- ### File Model and Example Response (200 OK) Source: https://app.practicepanther.com/swagger/docs/v2/swagger/ui/index Defines the structure of a File object, including its associated references and metadata. It also provides an example JSON response for a successful (200 OK) request, showcasing a populated File object. ```json { "id": "00000000-0000-0000-0000-000000000001", "account_ref": { "id": "dbe73b4c-8763-462f-a2b4-12b143e784cb", "display_name": "Jane Doe" }, "matter_ref": { "id": "dbe73b4c-8763-462f-a2b4-12b143e784cb", "display_name": "My Matter" }, "activity_ref": { "id": "dbe73b4c-8763-462f-a2b4-12b143e784cb", "subject": "My Activity" }, "description": "A simple image", "file_name": "SimpleImage.png", "size": 1234, "content_type": "image/bmp", "created_at": "2026-01-12T00:00:00", "updated_at": "2026-01-12T00:00:00" } ``` -------------------------------- ### Expense JSON Example (Status 200 OK) Source: https://app.practicepanther.com/swagger/docs/v2/swagger/ui/index Provides a concrete example of the JSON payload for a successful (Status 200 OK) Expense response. This illustrates the structure and data types for each field, including nested reference objects. ```json { "application/json": { "id": "c4787530-fa76-46a9-b2e3-88d336c63cbf", "is_billable": false, "is_billed": false, "date": "2026-01-12T00:00:00", "qty": 2, "price": 100, "amount": 200, "description": "This is my expense", "private_notes": "These are my notes...", "account_ref": { "id": "c4787530-fa76-46a9-b2e3-88d336c63cbf", "display_name": "Jane Doe" }, "matter_ref": { "id": "c4787530-fa76-46a9-b2e3-88d336c63cbf", "display_name": "My Matter" }, "billed_by_user_ref": { "id": "c4787530-fa76-46a9-b2e3-88d336c63cbf", "display_name": "Jon Doe", "email_address": "email_address1" }, "expense_category_ref": { "id": "c4787530-fa76-46a9-b2e3-88d336c63cbf", "name": "My Expense", "created_at": "2026-01-12T00:00:00", "updated_at": "2026-01-12T00:00:00" }, "created_at": "2026-01-12T00:00:00", "updated_at": "2026-01-12T00:00:00" } } ``` -------------------------------- ### Expense Object Example Value (Status 200) - PracticePanther API v2 Source: https://app.practicepanther.com/swagger/docs/v2/swagger/ui/index Provides an example of a JSON payload representing a complete Expense object for a Status 200 response. This example illustrates the expected data types and formatting for each field, including nested reference objects. ```json { "application/json": { "id": "f7446b8b-b0d6-44ad-86fa-a1b49968486a", "is_billable": false, "is_billed": false, "date": "2026-01-12T00:00:00", "qty": 2, "price": 100, "amount": 200, "description": "This is my expense", "private_notes": "These are my notes...", "account_ref": { "id": "f7446b8b-b0d6-44ad-86fa-a1b49968486a", "display_name": "Jane Doe" }, "matter_ref": { "id": "f7446b8b-b0d6-44ad-86fa-a1b49968486a", "display_name": "My Matter" }, "billed_by_user_ref": { "id": "f7446b8b-b0d6-44ad-86fa-a1b49968486a", "display_name": "Jon Doe", "email_address": "email_address1" }, "expense_category_ref": { "id": "f7446b8b-b0d6-44ad-86fa-a1b49968486a", "name": "My Expense", "created_at": "2026-01-12T00:00:00", "updated_at": "2026-01-12T00:00:00" }, "created_at": "2026-01-12T00:00:00", "updated_at": "2026-01-12T00:00:00" } } ``` -------------------------------- ### Expense Category Model and Example Source: https://app.practicepanther.com/swagger/docs/v2/swagger/ui/index Defines the structure of an ExpenseCategory object, including its fields and their types. Provides an example JSON payload for an ExpenseCategory. ```json { "id": "5e3d31b8-5d6c-4dff-b2ca-2575cae379e7", "name": "My Expense", "created_at": "2026-01-12T00:00:00", "updated_at": "2026-01-12T00:00:00" } ``` -------------------------------- ### Example FlatFee JSON Response (Status 200) Source: https://app.practicepanther.com/swagger/docs/v2/swagger/ui/index Provides example JSON data representing a successful response for a FlatFee object. This includes all fields with sample values, illustrating the expected format for data retrieval. ```json { "application/json": [ { "id": "2fd98162-43e7-47bc-80d5-c31e3b39f18e", "is_billable": false, "is_billed": false, "date": "2026-01-12T00:00:00", "qty": 1, "price": 1, "description": "description1", "private_notes": "private_notes1", "account_ref": { "id": "2fd98162-43e7-47bc-80d5-c31e3b39f18e", "display_name": "Jane Doe" }, "matter_ref": { "id": "2fd98162-43e7-47bc-80d5-c31e3b39f18e", "display_name": "My Matter" }, "billed_by_user_ref": { "id": "2fd98162-43e7-47bc-80d5-c31e3b39f18e", "display_name": "Jon Doe", "email_address": "email_address1" }, "item_ref": { "id": "2fd98162-43e7-47bc-80d5-c31e3b39f18e", "name": "name1" }, "created_at": "2026-01-12T00:00:00", "updated_at": "2026-01-12T00:00:00" }, { "id": "6bc2d229-132e-4778-818a-7d22f3afda95", "is_billable": false, "is_billed": false, "date": "2026-01-12T00:00:00", "qty": 1, "price": 1, "description": "description1", "private_notes": "private_notes1", "account_ref": { "id": "6bc2d229-132e-4778-818a-7d22f3afda95", "display_name": "Jane Doe" }, "matter_ref": { "id": "6bc2d229-132e-4778-818a-7d22f3afda95", "display_name": "My Matter" }, "billed_by_user_ref": { "id": "6bc2d229-132e-4778-818a-7d22f3afda95", "display_name": "Jon Doe", "email_address": "email_address1" }, "item_ref": { "id": "6bc2d229-132e-4778-818a-7d22f3afda95", "name": "name1" }, "created_at": "2026-01-12T00:00:00", "updated_at": "2026-01-12T00:00:00" } ] } ``` -------------------------------- ### Update Email Request Body Example (JSON) Source: https://app.practicepanther.com/swagger/docs/v2/swagger/ui/index Provides an example JSON payload for updating an email. This includes all fields of the Email model. ```json { "id": "e920cad0-c9db-4aa1-9db6-3ff6cc60b5d2", "subject": "Email subject", "cc": [ { "address": "myemail@john-doe.cf", "display_name": "John Doe" } ], "to": [ { "address": "myemail@john-doe.cf", "display_name": "John Doe" } ], "from": { "address": "myemail@john-doe.cf", "display_name": "John Doe" }, "body_text": "Email Body", "body_html": "body_html1", "external_message_id": "external_message_id1", "external_thread_id": "external_thread_id1", "account_ref": { "id": "e920cad0-c9db-4aa1-9db6-3ff6cc60b5d2", "display_name": "Jane Doe" }, "matter_ref": { "id": "e920cad0-c9db-4aa1-9db6-3ff6cc60b5d2", "display_name": "My Matter" }, "date": "2026-01-12T00:00:00", "created_at": "2026-01-12T00:00:00", "updated_at": "2026-01-12T00:00:00" } ``` -------------------------------- ### Example JSON Response for Time Entry (Status 200) Source: https://app.practicepanther.com/swagger/docs/v2/swagger/ui/index Provides an example of a JSON payload representing a Time Entry object returned with a 200 OK status. This includes sample values for all fields defined in the Time Entry model, showcasing the expected structure and data types. ```json { "application/json": { "id": "92caf55d-afe4-4cdc-8f9c-00141c703b75", "is_billable": false, "is_billed": false, "date": "2026-01-12T00:00:00", "hours": 1, "rate": 1, "description": "description1", "private_notes": "private_notes1", "account_ref": { "id": "92caf55d-afe4-4cdc-8f9c-00141c703b75", "display_name": "Jane Doe" }, "matter_ref": { "id": "92caf55d-afe4-4cdc-8f9c-00141c703b75", "display_name": "My Matter" }, "billed_by_user_ref": { "id": "92caf55d-afe4-4cdc-8f9c-00141c703b75", "display_name": "Jon Doe", "email_address": "email_address1" }, "item_ref": { "id": "92caf55d-afe4-4cdc-8f9c-00141c703b75", "name": "name1" }, "created_at": "2026-01-12T00:00:00", "updated_at": "2026-01-12T00:00:00" } } ```