Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Overview

Excerpt

This document covers the requirements for the initial Initial request to get the Map Data based on the Map Profile ID.

...

This request can be the existing GetMaps API request.

Type

POST

Endpoint

{{url}}/api/Maps/GetMaps

Request

...

Code Block
languagejson
{
  "mapid": 

...

4
}

Response

...

Code Block
languagejson
{
    "d": {
        "Locations": [
            {
                "Building": "Secret Headquarter",
                "City": "",
                "Country": "

...

United Kingdom",
                "Floor": "",
                "FloorLevel": 0,
                "FloorLevelDisplay": "",
                "Height": "1038",
                "Level": "

...

Building",
                "LocationId": null,
                "MapID": 8050,
                "MapURL": "/ResourceFiles//1683297076-

...

UnitedKingdom.svg",
                "ShowClock": 0,
                "Site": "",
                "StylesheetID": 11035,
                "StylesheetURL": "/Stylesheet/Css?id=11035",
                "Width": "1623",
                "Zone": "",
                "CountryId": null
            },
            {
                "Building": "

...

Secret Headquarters",
                "City": "

...

Exeter",
                "Country": "

...

United Kingdom",
                "Floor": "

...

Ground Floor",
                "FloorLevel": 1,
                "FloorLevelDisplay": "",
                "Height": "1130",
                "Level": "Floor",
                "LocationId": 8156,
                "MapID": 7048,
                "MapURL": "/ResourceFiles//1678446548-

...

SecretHeadquarters.svg",
                "ShowClock": 1,
                "Site": "

...

",
                "StylesheetID": 8026,
                "StylesheetURL": "/Stylesheet/Css?id=8026",
                "Width": "4096",
                "Zone": "",
                "CountryId": null
            }
        ],
        "Buildings": null,
        "EnergySavingMode": 0,
        "ErrCode": "",
        "ErrDesc": "",
        "PseudoPowerStart": "17:00",
        "PseudoPowerEnd": "09:00",
        "WorkingDay": [
            "09:00",
            "13:00",
            "13:00",
            "17:00"
        ],
        "ServerDate": "Wednesday, 20 September",
        "ServerDate1": "20/09/2023 10:32",
        "ServerTime": "10:32",
        "ServerTimeFormat": "0",
        "TimeZone": "GMT Standard Time",
        "AuthType": {
            "ShowRFID": 1,
            "ShowAccessCode": 1,
            "ShowUserPwd": 0,
            "ShowPwdChars": 0
        },
        "__type": "RXMapProfileData"
    }
}