changes.mady.by.user Stanislav Slacky
Saved on Feb 17, 2016
...
URL: https://api-stage.bimplus.net/v2/messages
Example: https://api-stage.bimplus.net/v2/messages
JSON Structure:
Name
Mandatory / Optional
Type
Description
id
will be ignored
string
Id of the message
receiver
mandatory
object
receiver user object (contains id & email)
source
Source of the message (eg: Import Service)
topic
Topic of the message
severity
Severity can be Info, Warning, Error
returnCode
Readable return code
Authorization: BimPlus 9c1874a62c974dcfa75e0132c423a088 Content-Type: application/json
{ "sender": { "id": "1110ac3b-fa49-e540-ac2f-8caff3dd72ed" }, "receiver": { "id": "1e2223b-fa49-e540-ac2f-8caff3dd72ed" }, "source": "ServiceName", "topic": "SKETCHUP_JOB", "severity": "Warn", "returncode": "FILE_TOO_BIG", "unreadBrowserNotification": true }
Status: 201 Created
{ "id": "4633d522-53aa-4d81-90b4-704681e0573d", "sender": { "id": "1110ac3b-fa49-e540-ac2f-8caff3dd72ed", "email": "customer1@bimplus.net" }, "receiver": { "id": "1e2223b-fa49-e540-ac2f-8caff3dd72ed", "email": "customer2@bimplus.net" }, "source": "ServiceName", "topic": "SKETCHUP_JOB", "severity": "Warn", "returncode": "FILE_TOO_BIG", "unreadunreadBrowserNotification": falsetrue, "timestamp": "2013-11-15T10:55:53" }