API view

Column Type

URL

String

Method

String

Code

Integer

Accept

String

RequestType

String

RequestBody

String

ResponseType

String

ResponseBody

String

Examples

SELECT
    *
FROM
    API
WHERE
    Url = '/v2/expenses/mileage_settings'
    AND Method = 'GET'


SELECT
    *
FROM
    API
WHERE
    Url = '/v2/capital_assets?include_history=true'
    AND Method = 'GET'

-- Change the status of an invoice.
SELECT
    *
FROM
    API
WHERE
    Url = '/v2/invoices/INVOICEID/transitions/MARKAS'
    AND Method = 'PUT'

-- Retrieve, update, and remove the additional text for an invoice.
SELECT
    *
FROM
    API
WHERE
    Url = '/v2/invoices/default_additional_text'
    AND Method = 'GET'

SELECT
    *
FROM
    API
WHERE
    Url = '/v2/invoices/default_additional_text'
    AND Method = 'PUT'
    AND RequestBody = '{"default_additional_text":"Please pay promptly."}'

SELECT
    *
FROM
    API
WHERE
    Url = '/v2/invoices/default_additional_text'
    AND Method = 'DELETE'

-- Retrieve journal lines.
SELECT * FROM Journal_Sets_Journal_Entries WHERE Id='5754992'