POST | /data/telematic/raw} |
---|
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
Data | body | List<Raw> | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
ApiKey | form | string | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
DeviceId | form | int | No | |
ServerTime | form | DateTime | No | |
Incoming | form | bool | No | |
Processed | form | bool | No | |
Unknown | form | bool | No | |
Data | form | byte[] | No |
To override the Content-type in your clients, use the HTTP Accept Header, append the .jsv suffix or ?format=jsv
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
POST /data/telematic/raw} HTTP/1.1
Host: api.v3.monitorsystem.ru
Accept: text/jsv
Content-Type: text/jsv
Content-Length: length
{
Data:
[
{
DeviceId: 0,
ServerTime: 0001-01-01,
Incoming: False,
Processed: False,
Unknown: False,
Data: AA==
}
],
ApiKey: String
}
HTTP/1.1 200 OK Content-Type: text/jsv Content-Length: length False