Parameter | Mandatory | Description | Examples | More Info |
---|---|---|---|---|
API | Yes | The API area | resources.json | |
General | Yes | Parameters described in overview | see overview | Structure of an API call |
Model Structure | No | Name of model required | modelstructure=resourceslist | Using data models |
Company | Yes | The company number | company=1 |
Example request:
http://<SERVER>/jsonAPI/resources.json?user=user&password=user&version=4&company=1&modelstructure=resourceslist
Example response:
"responsecode": 1,
"responsestatus": "OK",
"errorcode": 0,
"errormessage": "",
"totalrows": 206,
"totalpages": 1,
"responsemessage": "",
"pagerows": 0,
"pagenumber": 1,
"success": true,
"data": [
{
"resourcesUuid": "0B7154FEB963464C84A31F7B2A3A4022",
"resourcesTimestampModified": 1656066564,
"resourcesRecordVersionNumber": 704,
"resourcesCode": "1/AAD",
"resourcesName": "Aaron Dyson"
},
{
"resourcesUuid": "731AF9AB8173744E8128C24A7B5A852E",
"resourcesTimestampModified": 1654000245,
"resourcesRecordVersionNumber": 66,
"resourcesCode": "1/AC2",
"resourcesName": "Adele Clarke"
},
{
"resourcesUuid": "1C4C17DE577B2840BB115F71A17D43CB",
"resourcesTimestampModified": 1649696076,
"resourcesRecordVersionNumber": 221,
"resourcesCode": "1/AG1",
"resourcesName": "Adele Graham"
},