Push Message

2022-06-23
No Rating

Message mapElementCreate

Create Map Elements

Payload

NameTypeDescriptionValueConstraintsNotes
(root)object---additional properties are allowed
biz_codestring---
versionstring---
timestampintegerunit: ms---
dataobject---additional properties are allowed
data.idstringelement id---
data.group_idstring---
data.namestringelement name---
data.resourceobject---additional properties are allowed
data.resource.user_namestring---
data.resource.contentobject--additional properties are allowed
data.resource.typeinteger---

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
        }
    }
}

Message mapElementDelete

Delete Map Elements

Payload

NameTypeDescriptionValueConstraintsNotes
(root)object---additional properties are allowed
biz_codestring---
versionstring---
timestampintegerunit: ms---
dataobject---additional properties are allowed
data.idstringelement id---
data.group_idstring---

Examples of payload (generated)

{
    "biz_code":"map_element_delete",
    "version":"1.0",
    "timestamp":146052438362,
    "data":{
        "id":"string",
        "group_id":"string"
    }
}

Message mapElementUpdate

Update Map Elements

Payload

NameTypeDescriptionValueConstraintsNotes
(root)object---additional properties are allowed
biz_codestring---
versionstring---
timestampintegerunit: ms---
dataobject---additional properties are allowed
data.idstringelement id---
data.group_idstring---
data.namestringelement name---
data.resourceobject--additional properties are allowed
data.resource.user_namestring---
data.resource.contentobject--additional properties are allowed
data.resource.typeinteger---

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"
        }
    }
}

Message mapGroupRefresh

Refresh Map Element List

Payload

NameTypeDescriptionValueConstraintsNotes
(root)object---additional properties are allowed
biz_codestring---
versionstring---
timestampintegerunit: ms---
dataobject---additional properties are allowed
data.idsarray[string]----
data.ids (single item)stringelement id---

Examples of payload (generated)

{
  "biz_code": "map_element_delete",
  "version": "1.0",
  "timestamp": 146052438362,
  "data": {
    "ids": [
      "string"
    ]
  }
}