Template actions
Template search
Identification is required, example url:
$ curl https://SystemId:APIKey@r3.minicrm.hu/Api/R3/TemplateList/3
Get all templates of a given terméke.
In the response, the data comes in one array. On its Count key, the number of the templates can be found. On the Results key, the termékes’ templates can be found in separate arrays.
The search can be narrowed by the CreatedAt parameter. This way, only those templates will be listed that were created at the defined time or later. Example:
$ curl https://SystemId:APIKey@r3.minicrm.hu/Api/R3/TemplateList/3?CreatedAt=2014-03-20
Example output:
{
"Count":2,
"Results":[
{
"Id":1357,
"Type":"Email",
"Name":"Basic email template",
"Url":"https://r3.minicrm.hu/Api/R3/Template/1357"
},
{
"Id":7531,
"Type":"ToDoSms",
"Name":"Remind a colleague",
"Url":"https://r3.minicrm.hu/Api/R3/Template/7531"
}
]
}
Templates (GET)
Identification is required, example url:
$ curl https://SystemId:APIKey@r3.minicrm.hu/Api/R3/Template/1357
Get all data of a selected template.
In the response, the template comes in one array in which the template’s data can be found.
Example output:
{
"Id":1357,
"CategoryId":3,
"Type":"Email",
"FolderId":1235,
"SenderId":0,
"Name":"Basic email template",
"Subject":"First sending",
"Content":"Here can you see the whole html code of the source email"
}