This endpoint allows the user to upload map messages in ASN.1 UPER base64 encoded format or JER (JSON) formats. The MAP data message can have more than one intersections in it. Both SAE and ETSI defined MAP messages are supported. The SAE type MAP messages have to be wrapped in a MessageFrame, as defined in the SAE J2735 standard. The ETSI type MAP messages are expected as MAPEM structures that include the ETSI header, as defined in the ETSI TS 103 301 standard. Note: The user needs to authenticate with their ThingSpace credentials using the Access/Bearer and Session/M2M tokens in order to call this API.
Required request header: Content-Type — specifies the format of the request body. Omitting or sending an unsupported value will result in a 415 Unsupported Media Type. Supported values:
text/plain — ASN.1 UPER base64-encoded MAP messageapplication/json — JSON representation of the MAP messagethingspace_oauth sessionToken Access/Bearer token needed to authorize the user. The Bearer/Access Token should be acquired by using the ThingSpace Portal (thingspace.verizon.com). For details on how to obtain the token please refer to the
In: header
This is the Session/M2M token needed to authenticate the user. It should be acquired by using the ThingSpace APIs. For detail on how to obtain a Session/M2M token please refer to the
In: header
The VendorID set during the Vendor registration call.
^[a-zA-Z0-9]+$length <= 64Select which V2X messaging standard will be used for the message generation. The following options are supported:
^(etsi|sae)$length <= 4"sae"Value in
UPER/ASN.1 J2735/ETSI base64 encoded MapData message or JSON representation of the MapData message.
TypeScript Definitions
Use the request body type in TypeScript.
UPER/ASN.1 J2735/ETSI base64 encoded MapData message
^(?:[a-zA-Z0-9+/]{4})*(?:|(?:[a-zA-Z0-9+/]{3}=)|(?:[a-zA-Z0-9+/]{2}==)|(?:[a-zA-Z0-9+/]{1}===))$length <= 1000000text/plain
application/json
application/json
application/json
application/json
application/json
application/json
application/json
curl -X POST "https://example.com/api/v2/mapdata" \ -H "VendorID: VzMapManager" \ -H "MessageStandard: sae" \ -H "Content-Type: application/json" \ -d '{ "messageId": 18, "value": { "intersections": [ { "id": { "region": 0, "id": 156 }, "laneWidth": 366, "refPoint": { "lat": 389284111, "long": -772410713 }, "revision": 3 } ], "msgIssueRevision": 3 } }'"Imported successfully"{ "error": "Error-Summary", "description": "Error-Description", "uuid": "a4fcd16a-343d-4527-8203-2f46e3e4ff4b", "timestamp": "2023-02-15T14:30:00.123456789Z"}{ "error": "Error-Summary", "description": "Error-Description", "uuid": "a4fcd16a-343d-4527-8203-2f46e3e4ff4b", "timestamp": "2023-02-15T14:30:00.123456789Z"}{ "error": "Error-Summary", "description": "Error-Description", "uuid": "a4fcd16a-343d-4527-8203-2f46e3e4ff4b", "timestamp": "2023-02-15T14:30:00.123456789Z"}{ "error": "Error-Summary", "description": "Error-Description", "uuid": "a4fcd16a-343d-4527-8203-2f46e3e4ff4b", "timestamp": "2023-02-15T14:30:00.123456789Z"}{ "error": "Error-Summary", "description": "Error-Description", "uuid": "a4fcd16a-343d-4527-8203-2f46e3e4ff4b", "timestamp": "2023-02-15T14:30:00.123456789Z"}{ "error": "Error-Summary", "description": "Error-Description", "uuid": "a4fcd16a-343d-4527-8203-2f46e3e4ff4b", "timestamp": "2023-02-15T14:30:00.123456789Z"}{ "error": "Error-Summary", "description": "Error-Description", "uuid": "a4fcd16a-343d-4527-8203-2f46e3e4ff4b", "timestamp": "2023-02-15T14:30:00.123456789Z"}