This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
en:sidebar:remoteapi:apiref:format:group [10/04/2013 12:55] zuve |
en:sidebar:remoteapi:apiref:format:group [29/04/2017 12:19] stan [Unit groups] |
||
---|---|---|---|
Line 5: | Line 5: | ||
This chapter describes flags that can be applied to unit groups and parts of resulting JSON which they are responsible for. If you specify several flags, then parts will be gathered into one JSON. | This chapter describes flags that can be applied to unit groups and parts of resulting JSON which they are responsible for. If you specify several flags, then parts will be gathered into one JSON. | ||
+ | |||
+ | :!: All flags are only used in DEC format. | ||
Unit group flags: | Unit group flags: | ||
- | ^ Value ^ Description ^ | + | ^ Value HEX ^ Value HEX ^ Description ^ |
- | | [[#General properties|0x00000001]] | base flag | | + | | [[#General properties|0x00000001]] | 1 | base flag | |
- | | [[#Custom properties|0x00000002]] | custom properties | | + | | [[#Custom properties|0x00000002]] | 2 | custom properties | |
- | | [[#Billing|0x00000004]] | billing properties | | + | | [[#Billing|0x00000004]] | 4 | billing properties | |
- | | [[#Custom fields|0x00000008]] | custom fields | | + | | [[#Custom fields|0x00000008]] | 8 | custom fields | |
- | | [[#Unit group image|0x00000010]] | image | | + | | [[#Unit group image|0x00000010]] | 16 | image | |
- | | [[#GUID|0x00000040]] | GUID | | + | | [[#GUID|0x00000040]] | 64 | GUID | |
- | | [[#Administrative fields|0x00000080]] | administrative fields | | + | | [[#Administrative fields|0x00000080]] | 128 | administrative fields | |
- | | 0x3FFFFFFFFFFFFFFF | set all possible flags to unit group | | + | | 0x3FFFFFFFFFFFFFFF | 4611686018427387903 | set all possible flags to unit group | |
===== General properties ===== | ===== General properties ===== | ||
Line 98: | Line 100: | ||
<code=javascript> | <code=javascript> | ||
{ | { | ||
- | "aflds":{ /* custom fields */ | + | "aflds":{ /* administrative fields */ |
<text>:{ /* sequence number */ | <text>:{ /* sequence number */ | ||
"id":<uint>, /* ID */ | "id":<uint>, /* ID */ | ||
Line 106: | Line 108: | ||
... | ... | ||
}, | }, | ||
- | "afldsmax":<long>, /* maximal count of custom fields (-1 - unlimited) */ | + | "afldsmax":<long>, /* maximal count of administrative fields (-1 - unlimited) */ |
} | } | ||
</code> | </code> |
|