Operations

GET /orders (Legal Transcription)

Summary Get paged list of orders for user, including legal information
URL /api/v1/orders?page={pagenum}&pageSize={pageSize}&ids={orderNumber1}&ids={orderNumber2}..&ids={orderNumberN}
/api/v1/orders?page={pagenum}&pageSize={pageSize}&clientRef={referenceId}
Request Query Parameters
  • pagenum - the number of the page of orders to return. Optional, by default returns the first page
  • pageSize - the number of orders per page to return. Optional, by default returns 25 orders per page. Page size has to be between 5 and 100
  • orderNumber - you can retrieve specific orders by specifying their order numbers. Optional, by default returns all orders. Must not be specified if clientRef is specified - otherwise returns 403 Forbidden response.
  • referenceId - you can retrieve orders associated with the given reference id as used in your application. Optional, by default returns all orders. Must not be specified if ids is specified - otherwise returns 403 Forbidden response.
Detailed Description

Use this method to retrieve the list of orders for a user. The data will be returned as JSON or XML, depending on Accept header and/or URL extension.

The list is returned in a paged manner. The returned result will indicate the total number of orders, as well as number of orders per page and the number of orders in the requested page, which enables a client to iteratively retrieve all orders for the user if desired. The results are ordered in reverse chronological order by the date the order was placed.

Each order entity in the list contains summary information for the order - it omits comments and attachments. To get those, perform a GET /orders/{ordernum} with the appropriate order number.

Additionally, legal orders will contain a legal_transcription section that includes specific information unique to legal orders. Within this section, the following will be included:

  • proceeding_type

    Denotes the type of proceeding that was ordered. The current list of supported legal proceeding types are as follows:

    • deposition
    • hearing
    • statement_on_record
    • examination_under_oath
    • trial
    • other

  • template

    Denotes the ID of the Ready To Certify template to be used when generating the transcript. This may be null if the order does not require a template to be used. Template IDs are accessible via a GET request to /templates.


  • deliverable_details

    Denotes a list of all legal deliverables attached to the order. Each delivery detail will contain the following information:

    • deliverable_type

      Denotes the type of legal deliverable that was placed on the order.

    • delivery_date

      Denotes the expected date and time (in UTC) the following completed deliverable will be returned back to you by.

    • delivered_on

      Denotes the date and time (in UTC) the following deliverable was delivered at. This value can be null if the deliverable has not been completed yet.

    Note: while all date times are specified as UTC, business days operate in Eastern time.

See below for an annotated example of a response orders entity.

Request Headers
  • Authorization - contains client/user API keys
  • Accept - indicates the format in which the response should be delivered. Must be application/json, application/xml, or text/xml
Response On success, 200 OK
Response Headers None
Response Body An <orders/> entity with a list of orders for the user. This includes information about how many total orders there are, to enable fully paging through the result set.
Error Codes None
Deliverable Type The following are a list of possible legal-specific deliverable type values based on what was ordered:
  • legal_ready_to_certify - Legal Ready To Certify transcripts for legal transcription orders
  • legal_human_rough_draft - Legal Human Rough Draft transcripts for legal transcription orders
  • legal_ai_rough_draft - Legal AI Rough Draft transcripts for legal transcription orders
  • Annotated sample response
    /*
        total_count is the total number of orders
        results_per_page shows how may results are returned in each page
        page is the number of the page returned (0-based)
    */
    {
        "total_count": 28,
        "results_per_page": 8,
        "page": 0,
        "orders": [
            {
                /* Rev assigned order number */
                "order_number": "TC432432",
                /* 
                    Client reference order number 
                    provided with the order request 
                */
                "client_ref": "6",
                /* Total cost of the order */
                "price": 56,
                /* When the order was placed, in UTC */
                "placed_on": "2003-04-05T12:20:30.123Z",
                /* Status of the order */
                "status": "Transcribing",
                /* 
                    Total length of the audio (in seconds) of media attachments 
                    for the order and additional services.
                */
                "transcription": {
                   "total_length_seconds": "300",
                   "verbatim": true,
                   "timestamps": false
                },
                /*
                    Specific information unique to legal orders.
                */
                "legal_transcription": {
                    /* 
                        The proceeding type of the legal order.
                    */
                    "proceeding_type": "deposition",
                    /* 
                        The ID of the Ready To Certify template to be used when generating the transcript. 
                    */
                    "template": 12345678,
                    /* 
                        A list of all legal deliverables attached to the order. 
                    */
                    "deliverable_details": [
                        {
                            /* 
                                The type of legal deliverable that was placed on the order. 
                            */
                            "deliverable_type": "legal_human_rough_draft",
                            /* 
                                The expected date and time (in UTC) the following completed deliverable will be returned back to you by. 
                            */
                            "delivery_date": "2024-06-19T03:59:59Z",
                            /*
                                The date and time (in UTC) the following deliverable was delivered at.
                            */
                            "delivered_on": "2024-06-19T02:57:28.89Z"
                        },
                        {
                            "deliverable_type": "legal_ready_to_certify",
                            "delivery_date": "2024-06-20T03:59:59Z",
                            "delivered_on": "2024-06-20T01:57:50.06Z"
                        },
                        {
                            "deliverable_type": "legal_ai_rough_draft",
                            "delivery_date": "2024-06-18T17:38:23.4Z",
                            "delivered_on": "2024-06-18T17:36:03.613Z"
                        }
                    ]
                },
                /*
                   Attachments and comments are not shown 
                   in orders that are returned in this list. 
                   Do a GET on orders/{ordernum} to get order attachments.
                */
            }
            /* the rest of the orders in the list */
        ]
    }
                    
    <!--
        total_count is the total number of orders
        results_per_page shows how may results are returned in each page
        page is the number of the page returned (0-based)
    -->
    <orders total_count="28" results_per_page="8" page="0">
        <order>
            <!-- Rev assigned order number -->
            <order_number>TC432432</order_number>
            <!-- Client reference order number provided with the order request -->
            <client_ref>6</client_ref>
            <!-- Total cost of the order -->
            <price>56</price>
            <!-- When the order was placed, in UTC -->
            <placed_on>2003-04-05T12:20:30.123Z</placed_on>
            <!-- Status of the order -->
            <status>Transcribing</status>
            <!-- 
                total length of the audio (in seconds) 
                in media attachments for the order and additional services 
            -->
            <transcription>
               <total_length_seconds>300</total_length_seconds>
               <verbatim>true</verbatim>
               <timestamps>false</timestamps>
            </transcription>
            <!-- 
                Specific information unique to legal orders.
            -->
            <legal_transcription>
                <!-- 
                    The proceeding type of the legal order.
                -->
                <proceeding_type>Deposition</proceeding_type>
                <!-- 
                    The ID of the Ready To Certify template to be used when generating the transcript. 
                -->
                <template>241921285</template>
                <!-- 
                    A list of all legal deliverables attached to the order.
                -->
                <deliverable_details>
                    <!-- 
                        The type of legal deliverable that was placed on the order. 
                    -->
                    <deliverable_type>legal_human_rough_draft</deliverable_type>
                    <!-- 
                        The expected date and time (in UTC) the following completed deliverable will be returned back to you by. 
                    -->
                    <delivery_date>2024-06-19T03:59:59</delivery_date>
                    <!-- 
                        The date and time (in UTC) the following deliverable was delivered at.
                    -->
                    <delivered_on>2024-06-19T02:57:28.89</delivered_on>
                </deliverable_details>
                <deliverable_details>
                    <deliverable_type>legal_ready_to_certify</deliverable_type>
                    <delivery_date>2024-06-20T03:59:59</delivery_date>
                    <delivered_on>2024-06-20T01:57:50.06</delivered_on>
                </deliverable_details>
                <deliverable_details>
                    <deliverable_type>legal_ai_rough_draft</deliverable_type>
                    <delivery_date>2024-06-18T17:38:23.4</delivery_date>
                    <delivered_on>2024-06-18T17:36:03.613</delivered_on>
                </deliverable_details>
            </legal_transcription>
            <!--
               Attachments and comments are not shown in orders that are returned
               in the list. You can GET orders/{ordernum} to get order attachments.
            -->
        </order>
        <!-- the rest of the matches -->
    </orders>