Resource type: calendarResources
Returns a list of all calendar resources from the appointment module. Individual resources can be created in the administration under “Extras >> Settings >> Administration >> Singleselect >> Module: Calendar management, Key field: ressources”.
Parameters: None
Example:
... { "actionid": "urn:onoffice-de-ns:smart:2.5:smartml:action:get", "resourceid": "", "identifier": "", "resourcetype": "calendarResources", "parameters": [] } ...
Response:
Parameters:
id
INTEGER. Resource ID. Specifies also the position.type
STRING. Type of resource. Always empty. Is not used yet.elements
OBJECT. Field name and label of the resource.
{ "actionid": "urn:onoffice-de-ns:smart:2.5:smartml:action:get", "resourceid": "", "resourcetype": "calendarResources", "cacheable": true, "identifier": "", "data": { "meta": { "cntabsolute": null }, "records": [ { "id": 0, "type": "", "elements": { "Konferenzraum": "Konferenzraum" } }, { "id": 1, "type": "", "elements": { "Firmenfahrzeug": "Firmenfahrzeug" } }, { "id": 2, "type": "", "elements": { "ind_Schl_3151": "Laptop" } }, { "id": 3, "type": "", "elements": { "ind_Schl_2903": "Beamer" } } ] }, "status": { "errorcode": 0, "message": "OK" } }