Skip to main content
POST
/
v0
/
map
/
{mapId}
/
location
cURL
curl --request POST \
  --url https://realtime.nocodemapapp.com/v0/map/{mapId}/location \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "fields": {
    "Name": "The Kooks Restaurant",
    "Address": "Frammi við Gjónna, Leynavatn 410, Faroe Islands",
    "key": "The Kooks Restaurant"
  },
  "order": "1"
}
'
{}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

mapId
string
required

ID of the map to retrieve

locationId
string
required

ID of the map location to retrieve

Body

application/json
fields
object
required

All data of this location as object. MUST include a name & address field that was specified at the creation of Map.

Example:
{
  "Name": "The Kooks Restaurant",
  "Address": "Frammi við Gjónna, Leynavatn 410, Faroe Islands",
  "key": "The Kooks Restaurant"
}
order
integer<int64>

By default locations are listed by {order} in ascending order. Specify if you have specific preference on where this location shall be shown in the list. By default, it’s appended to the end of list.

Example:

"1"

Response

Location response

data
object