FormMessages
Last updated
Last updated
$client = new GuzzleHttp\Client(['base_uri' => 'https://{tenant}.intratool.de']);
$response = $client->request('GET', '/api/forms/messages', [
'headers' => ['Authorization' => "Bearer {accessToken}"]
]);[
{
"id": 4,
"user_id": 2,
"group_account_user_id": null,
"department_id": 1,
"form_id": 1,
"recipient": null,
"subject": "\"Form-1-changed\" wurde von intratool Service (intratool) \u00fcbertragen",
"body": "<p><strong>Field-1</strong></p><p>https://intratool.de</p><p><br></p><p><strong>Field-2</strong></p><p>accusam et</p><p><br></p>",
"sent_at": "2019-01-25 14:18:05",
"created_at": "2019-01-25 14:18:05",
"updated_at": "2019-01-25 14:18:05",
"hash": "2w54q7xmvk1drl8ygeo96jrd"
},
{
"id": 5,
"user_id": 2,
"group_account_user_id": null,
"department_id": 1,
"form_id": 1,
"recipient": null,
"subject": "\"Form-1-changed\" wurde von intratool Service (intratool) \u00fcbertragen",
"body": "<p><strong>Field-1</strong></p><p>https://intratool.de</p><p><br></p><p><strong>Field-2</strong></p><p>congue nihil</p><p><br></p>",
"sent_at": "2019-01-25 14:19:25",
"created_at": "2019-01-25 14:19:25",
"updated_at": "2019-01-25 14:19:25",
"hash": "r609mj42kn1rm3v58dogz7we"
}
]$client = new GuzzleHttp\Client(['base_uri' => 'https://{tenant}.intratool.de']);
$response = $client->request('GET', '/api/forms/messages/4', [
'headers' => ['Authorization' => "Bearer {accessToken}"]
]);{
"id": 4,
"user_id": 2,
"group_account_user_id": null,
"department_id": 1,
"form_id": 1,
"recipient": null,
"subject": "\"Form-1-changed\" wurde von intratool Service (intratool) \u00fcbertragen",
"body": "<p><strong>Field-1</strong></p><p>https://intratool.de</p><p><br></p><p><strong>Field-2</strong></p><p>accusam et</p><p><br></p>",
"sent_at": "2019-01-25 14:18:05",
"created_at": "2019-01-25 14:18:05",
"updated_at": "2019-01-25 14:18:05",
"hash": "2w54q7xmvk1drl8ygeo96jrd"
}