Resource type: emailtemplatefolders
Action Type: Get
This call reads the IDs and names of the email template folders (Edit >> Templates / Files >> Email templates).
Parameters: NONE
Example:
1 2 3 4 5 6 7 8 9 | { "actionid" : "urn:onoffice-de-ns:smart:2.5:smartml:action:get" , "resourceid" : "" , "identifier" : "" , "resourcetype" : "emailtemplatefolders" , "parameters" : { } } |
Response parameters:
elements
. OBJECT. ID and name of the email template folders as key:value pairs.
Response example:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 | { "status" : { "code" : 200, "errorcode" : 0, "message" : "OK" }, "response" : { "results" : [ { "actionid" : "urn:onoffice-de-ns:smart:2.5:smartml:action:get" , "resourceid" : "" , "resourcetype" : "emailtemplatefolders" , "cacheable" : false, "identifier" : "" , "data" : { "meta" : { "cntabsolute" : null }, "records" : [ { "id" : 14, "type" : "" , "elements" : { "12" : "onOffice Systemvorlagen" , "25" : "Musterprozessvorlagen" , "53" : "Geburtstagsvorlagen" , "55" : "oO - Event-Vorlagen" , "57" : "oO - Vorlagen mit Unternehmensfarbe" , "63" : "oO - Marketplace-Vorlagen" , "71" : "Musterprozessvorlagen" , "73" : "Neuer Ordne" , "75" : "Test Mehrsprachige Vorlagen" , "77" : "Test-Ordner-ZVV-RI/RR" , "79" : "Test-ZVV_Robert" , "81" : "Testverteilen" , "83" : "VonZVVSupport" , "111" : "Faktura" } } ] }, "status" : { "errorcode" : 0, "message" : "OK" } } ] } } |