Push Message
mapElementCreate
Message Create Map Elements
Payload
Name | Type | Description | Value | Constraints | Notes |
---|---|---|---|---|---|
(root) | object | - | - | - | additional properties are allowed |
biz_code | string | - | - | - | |
version | string | - | - | - | |
timestamp | integer | unit: ms | - | - | - |
data | object | - | - | - | additional properties are allowed |
data.id | string | element id | - | - | - |
data.group_id | string | - | - | - | |
data.name | string | element name | - | - | - |
data.resource | object | - | - | - | additional properties are allowed |
data.resource.user_name | string | - | - | - | |
data.resource.content | object | - | - | additional properties are allowed | |
data.resource.type | integer | - | - | - |
Examples of payload (generated)
{
"biz_code":"map_element_create",
"version":"1.0",
"timestamp":146052438362,
"data":{
"group_id":"string",
"id":29,
"name":"",
"resource":{
"user_name":"string",
"content":{
"type":"Feature",
"properties":{
"color":"#0091FF"
},
"geometry":{
"type":"LineString",
"coordinates":[
[
-114.59526255248164,
44.52039593722584
],
[
-96.91234166804537,
47.39200791922252
],
[
-101.53652432009943,
39.10142503321269
]
]
}
},
"type":0
}
}
}
mapElementDelete
Message Delete Map Elements
Payload
Name | Type | Description | Value | Constraints | Notes |
---|---|---|---|---|---|
(root) | object | - | - | - | additional properties are allowed |
biz_code | string | - | - | - | |
version | string | - | - | - | |
timestamp | integer | unit: ms | - | - | - |
data | object | - | - | - | additional properties are allowed |
data.id | string | element id | - | - | - |
data.group_id | string | - | - | - |
Examples of payload (generated)
{
"biz_code":"map_element_delete",
"version":"1.0",
"timestamp":146052438362,
"data":{
"id":"string",
"group_id":"string"
}
}
mapElementUpdate
Message Update Map Elements
Payload
Name | Type | Description | Value | Constraints | Notes |
---|---|---|---|---|---|
(root) | object | - | - | - | additional properties are allowed |
biz_code | string | - | - | - | |
version | string | - | - | - | |
timestamp | integer | unit: ms | - | - | - |
data | object | - | - | - | additional properties are allowed |
data.id | string | element id | - | - | - |
data.group_id | string | - | - | - | |
data.name | string | element name | - | - | - |
data.resource | object | - | - | additional properties are allowed | |
data.resource.user_name | string | - | - | - | |
data.resource.content | object | - | - | additional properties are allowed | |
data.resource.type | integer | - | - | - |
Examples of payload (generated)
{
"biz_code":"map_element_update",
"version":"1.0",
"timestamp":146052438362,
"data":{
"id":"string",
"name":"string",
"display":0,
"group_id":"string",
"resource":{
"content":{
"type":"Feature",
"properties":{
"color":"#0091FF"
},
"geometry":{
"type":"LineString",
"coordinates":[
[
-114.59526255248164,
44.52039593722584
],
[
-96.91234166804537,
47.39200791922252
],
[
-101.53652432009943,
39.10142503321269
]
]
}
},
"type":0,
"user_name":"string"
}
}
}
mapGroupRefresh
Message Refresh Map Element List
Payload
Name | Type | Description | Value | Constraints | Notes |
---|---|---|---|---|---|
(root) | object | - | - | - | additional properties are allowed |
biz_code | string | - | - | - | |
version | string | - | - | - | |
timestamp | integer | unit: ms | - | - | - |
data | object | - | - | - | additional properties are allowed |
data.ids | array[string] | - | - | - | - |
data.ids (single item) | string | element id | - | - | - |
Examples of payload (generated)
{
"biz_code": "map_element_delete",
"version": "1.0",
"timestamp": 146052438362,
"data": {
"ids": [
"string"
]
}
}