User Tools

Site Tools


data:fields:names:obj_xattributes


Fields list

obj_xAttributes

field name:
obj_xAttributes
containing:
Object's attributes / flag offer
field type:
bitmask
length:
64
condition for:
regions,
filters,
offers,
groups
returned in:
offers,
groups,
details,
filters

Descriptions

This field contains various flags assigned to the offer, these are the attributes, amenities and type of offer

For Camping/Youth Camp offers this field functionality changes to store mask of possible participants ages, used to search only for offers with specific participant ages.
List of possible age values is listed below.

Flag list

Flag name decimal value bits no.
Seniors offers -9223372036854775808 64
Object description 4611686018427387904 63
Object photo 2305843009213693952 62
Reserved 1152921504606846976 61
Mountains 2251799813685248 52
Reserved 1125899906842624 51
Free WiFi 562949953421312 50
for Adult 281474976710656 49
Reserved 140737488355328 48
Pilgrimage 70368744177664 47
Wellness 35184372088832 46
Reserved 17592186044416 45
Gay Only & Gay Friendly 8796093022208 44
Private pool 4398046511104 43
Barbecue 2199023255552 42
Home appliances 1099511627776 41
Fireplace 549755813888 40
Parking 274877906944 39
Near the slope 137438953472 38
Reserved 68719476736 37
Without passport 34359738368 36
Exotic offers 17179869184 35
lakes 8589934592 34
history1) 4294967296 33
Ski resorts 2147483648 32
Seaside resorts 1073741824 31
City breaks 536870912 30
For families with childrens 268435456 29
Club hotel 134217728 28
Fitness / gym 67108864 27
Directly on the beach 33554432 26
Outdoor pool 16777216 25
indoor pool 8388608 24
Bicycles 4194304 23
Kindergarten 2097152 22
Water slides 1048576 21
Near airport 524288 20
Animation for adults 262144 19
Sport 131072 18
Tennis 65536 17
Golf 32768 16
Minigolf 16384 15
Water Sports 8192 14
Diving 4096 13
Riding 2048 12
Nordic walking 1024 11
Windsurfing 512 10
Facilities for disabled 256 9
Sailing 128 8
Pets 64 7
Internet access 32 6
Air conditioning 16 5
Night Life 8 4
Near the center 4 3
Winter Sports 2 2
Winter equipment rental 1 1

In order to interrogate the system, several features should be added together to find deals, such as with air conditioning and nightlife in the field we have to insert the value “24”

The current list is always to download at http://www.merlinx.pl/mdsws/options.csv

In version 2.1, the field is also returned in response to a query type filters.

Camps age flags list

Age (years) value decimal value bits no.
26 2097152 22
25 1048576 21
24 524288 20
23 262144 19
22 131072 18
21 65536 17
20 32768 16
19 16384 15
18 8192 14
17 4096 13
16 2048 12
15 1024 11
14 512 10
13 256 9
12 128 8
11 64 7
10 32 6
9 16 5
8 8 4
7 4 3
6 2 2
5 1 1

By analogy to normal attributes, when searching for Camps, the participants ages should be specified by adding age values to form a bit mask.

By example when searching for child (12 years old) + child (9 years old):
128+16 = 144

1)
w przygotowaniu
data/fields/names/obj_xattributes.txt · Last modified: 2020/06/22 11:54 by marekj