Rest API for querying all records for Lists - imona/tutorial GitHub Wiki
Authentication method
Basic authentication is used. Provide your username & password in each request.
Services
Query Lists Service
Service URL: /rest/lists?app={appShortName}
Method: GET
Description: Retrieves the records that correspond to each List. The response holds a list of records for each List type.
Example response:
{
items_cg_3: [
{
imona_version: 0,
key: "item_1",
nat_lang_1: "Item 1",
nat_lang_2: null,
nat_lang_3: null,
nat_lang_4: null,
nat_lang_5: null,
visibility: true,
hostts: 1389355799000,
userid: "[email protected]",
wsid: "127.0.0.1",
apprvd: true,
latitude: -1,
longitude: -1,
waitingforapproval: false,
rejectionreason: null,
id: 1
},
{
imona_version: 0,
key: "item_2",
nat_lang_1: "Item 2",
nat_lang_2: null,
nat_lang_3: null,
nat_lang_4: null,
nat_lang_5: null,
visibility: true,
hostts: 1389355799000,
userid: "[email protected]",
wsid: "127.0.0.1",
apprvd: true,
latitude: -1,
longitude: -1,
waitingforapproval: false,
rejectionreason: null,
id: 2
}
],
tpsales$status: [
{
imona_version: 0,
key: "status_01",
nat_lang_1: "Bekliyor",
nat_lang_2: "Waiting",
nat_lang_3: null,
nat_lang_4: null,
nat_lang_5: null,
visibility: true,
hostts: 1389606418000,
userid: "[email protected]",
wsid: "127.0.0.1",
apprvd: true,
latitude: -1,
longitude: -1,
waitingforapproval: false,
rejectionreason: null,
id: 1
},
{
imona_version: 0,
key: "status_02",
nat_lang_1: "Onaylandi",
nat_lang_2: "Approved",
nat_lang_3: null,
nat_lang_4: null,
nat_lang_5: null,
visibility: true,
hostts: 1389606418000,
userid: "[email protected]",
wsid: "127.0.0.1",
apprvd: true,
latitude: -1,
longitude: -1,
waitingforapproval: false,
rejectionreason: null,
id: 2
}
]
}