...
origin | Describes who created the layout:
| string |
name | The name of the layout. | string |
fields | Array of fields to be included in the layout. Each element has these properties:
See ./list/fields to get a list of all available fields. | object[] |
rows | Rows to show per page | int |
... | There may be other properties for specific use by the Wordbee Translator system | * |
EXAMPLES
Calling /list/querieslayouts may return:
Code Block |
---|
{{ { "default": { "origin": "System", "Userid": null, "name": "UserSystem default", "query": "" }, "userpresets": [{ "origin": "User", "name": "My query", "query": "{status} = 1 AND {locked} = false" }, ], "systempresets": [] } "fields": [ { "id": "id", "name": "ID", "desc": "The globally unique string ID of the job, such as 'c2002' or 's773'", "type": "String", "isdata": true, "iscol": true, "iscoldef": true, "canquery": true, "cansort": true, "width": null }, { "id": "oreference", "name": "Order ref", "desc": "", "type": "String", "isdata": false, "iscol": true, "iscoldef": true, "canquery": true, "cansort": true, "width": null } ], "rows": 20 }, "userpresets": [], "systempresets": [ { "origin": "System", "id": null, "name": "System default", "fields": [ { "id": "id", "name": "ID", "desc": "The globally unique string ID of the job, such as 'c2002' or 's773'", "type": "String", "isdata": true, "iscol": true, "iscoldef": true, "canquery": true, "cansort": true, "width": null }, { "id": "oreference", "name": "Order ref", "desc": "", "type": "String", "isdata": false, "iscol": true, "iscoldef": true, "canquery": true, "cansort": true, "width": null } ], "rows": 20 } ] }} |