Retrieve all records from the table
Path parameters
-
Name of the case insensitive database table. Available table names for the Maintenance database are shown below
Values are
Item,Class,Mfg,Type,Task,Process,ProcImg,Remind,Supply,Tool, orSetting.
Query parameters
-
Maximum number of records to return
Maximum value is
100. Default value is25. -
Consolidate to remove empty values. To see all fields that can be returned, set this to 0
Values are
0or1. Default value is1. -
Page number to display
Default value is
1. -
Search term to filter results (supports partial matching anywhere in the field)
-
Field to search in (defaults to name or primary display field)
-
An optional field to sort by. If brief is enabled, it will add (
) to the end of the searchfield. -
An optional Sort order. Defaults to ASC
Values are
ascordesc. Default value isasc.
curl \
--request GET 'https://api.wrtm.io/v1.0/DB/Maint/item' \
--header "X-ApiKey: $API_KEY" \
--header "X-ApiDate: $API_KEY" \
--header "X-ApiHmac: $API_KEY"
{
"Data": [
{
"id": 10,
"name": "John Doe",
"email": "john@example.com"
}
],
"Total": 1
}