Zum Hauptinhalt springen

LoadRooms

RPC Configuration

Rpc Name:

Plain: LoadRooms
Sha1: db0381bf84065c2402378ef963422df0b9a3170e
Rpc Call

RPCs can be called by their plain name or their SHA1 representation.

Rpc Parameters:

"bid" : int,
"floor" : int,
"doubleEncode" : bool = 1,
"boundingBox" : ?object = null
Parameter Description

Requires Login:

true

Requires Context:

Context

The context providing parameter can either be a contagt-id (8-Bytes, Alphaumeric) or an integer as a building id. The context parameter name should make the choice obviouse, the type has not to be defined manually.

true

Requires contextParamName:

bid

Requires WriteAccess:

WriteAccess

Only accounts that have an explicit write access to the defined context can execute this RPC, no matter if the authentication level matches or not.

false

Requires AuthenticationLevel:

Context

Authentication levels allow the SuperUser to define a by-RPC granular access configuration. If RPCs are chained in a single unified call and lenient is enabled, all allowed RPCs will be executed, while execution will fail entirely with lenient set to false.

STANDARD_USER

Requires Subbuilding Merge Strategy:

REPLACE

Cache Configuration

Response Cache

All writing RPCs are not Cacheable, also Caching will be disabled by the paramters nocache and readonly.

Cache enabled:

true

Cache Time to Live:

1800

Sample Request

->

{
"bid": 131,
"floor": 0
}

<-

{
"latlngs": "[{\"roomId\":7933,\"tag\":\"Rtdjby3S\",\"name\":{\"de_DE\":\"Seminarraum\",\"en_EN\":\"Seminarraum\"},\"image_uri\":\"http:\\\/\\\/172.18.1.12\\\/rooms\\\/img\\\/iRrojiZuOSexLrL7fOTdLPJMqoHmW9HK.png\",\"clusterPriority\":0,\"showWhileNavigating\":false,\"iconSize\":30,\"noContent\":false},{\"color\":\"#333388FF\"},{\"corners\":[{\"lat\":49.49872011486,\"lng\":8.4686176478863},{\"lat\":49.498806343832,\"lng\":8.4686826914549},{\"lat\":49.49878892385,\"lng\":8.4687383472919},{\"lat\":49.498703130348,\"lng\":8.4686726331711}]},{\"roomId\":7934,\"tag\":\"njMqjt4a\",\"name\":{\"de_DE\":\"Flamingosooososo\",\"en_EN\":null},\"image_uri\":null,\"clusterPriority\":0,\"showWhileNavigating\":false,\"iconSize\":null,\"noContent\":false},{\"color\":\"#00000000\"},{\"corners\":[{\"lat\":48.805013017102,\"lng\":9.2077566683292},{\"lat\":48.804911439441,\"lng\":9.2078156769276},{\"lat\":48.804735665438,\"lng\":9.2077995836735},{\"lat\":48.804506010032,\"lng\":9.2077741026878},{\"lat\":48.804549291324,\"lng\":9.2076762020588},{\"lat\":48.804604938644,\"lng\":9.2075715959072},{\"lat\":48.80466323577,\"lng\":9.2074643075466},{\"lat\":48.804718882963,\"lng\":9.2073771357536},{\"lat\":48.804778063244,\"lng\":9.2072832584381},{\"lat\":48.804842543172,\"lng\":9.2071813344955},{\"lat\":48.804909672872,\"lng\":9.207090139389},{\"lat\":48.804959136804,\"lng\":9.2070981860161},{\"lat\":48.805032449327,\"lng\":9.2073301970959},{\"lat\":48.805104878462,\"lng\":9.2075635492802},{\"lat\":48.805096045646,\"lng\":9.2076386511326},{\"lat\":48.805043932002,\"lng\":9.2077204585075}]}]"
}