rehive.admin.account.definitions.get().then(function (res) { ... }, function (err) { ... });
{- "status": "string",
- "data": {
- "count": 123,
- "results": [
- {
- "name": "string",
- "label": "string",
- "recon": true,
- "groups": [
- {
- "group": {
- "name": "string",
- "label": "string",
- "section": "system"
}, - "default": true,
- "primary": true,
- "currencies": [
- {
- "currency": null,
- "archived": null,
- "created": null,
- "updated": null
}
], - "archived": true,
- "created": 0,
- "updated": 0
}
], - "archived": true,
- "updated": 0,
- "created": 0
}
]
}
}
{- "name": "string",
- "label": "string",
- "recon": true,
- "archived": false
}
{- "status": "string",
- "data": {
- "name": "string",
- "label": "string",
- "recon": true,
- "groups": [
- {
- "group": {
- "name": "string",
- "label": "string",
- "section": "system"
}, - "default": true,
- "primary": true,
- "currencies": [
- {
- "currency": {
- "code": "string",
- "display_code": "string",
- "description": "string",
- "symbol": "string",
- "unit": "string",
- "divisibility": -2147483648,
}, - "archived": true,
- "created": 0,
- "updated": 0
}
], - "archived": true,
- "created": 0,
- "updated": 0
}
], - "archived": true,
- "updated": 0,
- "created": 0
}
}
rehive.admin.account_definitions.get({ "name": accountDefinitionName }).then( function (res) { ... }, function (err) { ... });
{- "status": "string",
- "data": {
- "name": "string",
- "label": "string",
- "recon": true,
- "groups": [
- {
- "group": {
- "name": "string",
- "label": "string",
- "section": "system"
}, - "default": true,
- "primary": true,
- "currencies": [
- {
- "currency": {
- "code": "string",
- "display_code": "string",
- "description": "string",
- "symbol": "string",
- "unit": "string",
- "divisibility": -2147483648,
}, - "archived": true,
- "created": 0,
- "updated": 0
}
], - "archived": true,
- "created": 0,
- "updated": 0
}
], - "archived": true,
- "updated": 0,
- "created": 0
}
}
{- "name": "string",
- "label": "string",
- "recon": true,
- "archived": false
}
{- "status": "string",
- "data": {
- "name": "string",
- "label": "string",
- "recon": true,
- "groups": [
- {
- "group": {
- "name": "string",
- "label": "string",
- "section": "system"
}, - "default": true,
- "primary": true,
- "currencies": [
- {
- "currency": {
- "code": "string",
- "display_code": "string",
- "description": "string",
- "symbol": "string",
- "unit": "string",
- "divisibility": -2147483648,
}, - "archived": true,
- "created": 0,
- "updated": 0
}
], - "archived": true,
- "created": 0,
- "updated": 0
}
], - "archived": true,
- "updated": 0,
- "created": 0
}
}
{- "name": "string",
- "label": "string",
- "recon": true,
- "archived": false
}
{- "status": "string",
- "data": {
- "name": "string",
- "label": "string",
- "recon": true,
- "groups": [
- {
- "group": {
- "name": "string",
- "label": "string",
- "section": "system"
}, - "default": true,
- "primary": true,
- "currencies": [
- {
- "currency": {
- "code": "string",
- "display_code": "string",
- "description": "string",
- "symbol": "string",
- "unit": "string",
- "divisibility": -2147483648,
}, - "archived": true,
- "created": 0,
- "updated": 0
}
], - "archived": true,
- "created": 0,
- "updated": 0
}
], - "archived": true,
- "updated": 0,
- "created": 0
}
}
rehive.admin.account.definitions.groups.get(accountDefinitionName) .then(function (res) { ... }, function (err) { ... });
{- "status": "string",
- "data": {
- "count": 123,
- "results": [
- {
- "group": {
- "name": "string",
- "label": "string",
- "section": "system"
}, - "default": true,
- "primary": true,
- "currencies": [
- {
- "currency": {
- "code": "string",
- "display_code": "string",
- "description": "string",
- "symbol": "string",
- "unit": "string",
- "divisibility": -2147483648,
}, - "archived": true,
- "created": 0,
- "updated": 0
}
], - "archived": true,
- "created": 0,
- "updated": 0
}
]
}
}
{- "group": "string",
- "default": true,
- "primary": true,
- "currencies": [
- "string"
], - "archived": false
}
{- "status": "string",
- "data": {
- "group": {
- "name": "string",
- "label": "string",
- "section": "system"
}, - "default": true,
- "primary": true,
- "currencies": [
- {
- "currency": {
- "code": "string",
- "display_code": "string",
- "description": "string",
- "symbol": "string",
- "unit": "string",
- "divisibility": -2147483648,
}, - "archived": true,
- "created": 0,
- "updated": 0
}
], - "archived": true,
- "created": 0,
- "updated": 0
}
}
rehive.admin.account.definitions.groups.get( accountDefinitionName, {"name": groupName}).then(function (res) { ... }, function (err) { ... });
{- "status": "string",
- "data": {
- "group": {
- "name": "string",
- "label": "string",
- "section": "system"
}, - "default": true,
- "primary": true,
- "currencies": [
- {
- "currency": {
- "code": "string",
- "display_code": "string",
- "description": "string",
- "symbol": "string",
- "unit": "string",
- "divisibility": -2147483648,
}, - "archived": true,
- "created": 0,
- "updated": 0
}
], - "archived": true,
- "created": 0,
- "updated": 0
}
}
{- "default": true,
- "primary": true,
- "currencies": [
- "string"
], - "archived": false
}
{- "status": "string",
- "data": {
- "group": {
- "name": "string",
- "label": "string",
- "section": "system"
}, - "default": true,
- "primary": true,
- "currencies": [
- {
- "currency": {
- "code": "string",
- "display_code": "string",
- "description": "string",
- "symbol": "string",
- "unit": "string",
- "divisibility": -2147483648,
}, - "archived": true,
- "created": 0,
- "updated": 0
}
], - "archived": true,
- "created": 0,
- "updated": 0
}
}
{- "default": true,
- "primary": true,
- "currencies": [
- "string"
], - "archived": false
}
{- "status": "string",
- "data": {
- "group": {
- "name": "string",
- "label": "string",
- "section": "system"
}, - "default": true,
- "primary": true,
- "currencies": [
- {
- "currency": {
- "code": "string",
- "display_code": "string",
- "description": "string",
- "symbol": "string",
- "unit": "string",
- "divisibility": -2147483648,
}, - "archived": true,
- "created": 0,
- "updated": 0
}
], - "archived": true,
- "created": 0,
- "updated": 0
}
}
rehive.admin.account.definitions.groups.currencies.get( accountDefinitionName, groupName).then(function (res) { ... }, function (err) { ... });
{- "status": "string",
- "data": {
- "count": 123,
- "results": [
- {
- "currency": {
- "code": "string",
- "display_code": "string",
- "description": "string",
- "symbol": "string",
- "unit": "string",
- "divisibility": -2147483648,
}, - "archived": true,
- "created": 0,
- "updated": 0
}
]
}
}
{- "currency": "string",
- "archived": false
}
{- "status": "string",
- "data": {
- "currency": {
- "code": "string",
- "display_code": "string",
- "description": "string",
- "symbol": "string",
- "unit": "string",
- "divisibility": -2147483648,
}, - "archived": true,
- "created": 0,
- "updated": 0
}
}
rehive.admin.account.definitions.groups.currencies( accountDefinitionName, groupName, { "code": currencyCode }).then(function (res) { ... }, function (err) { ... });
{- "status": "string",
- "data": {
- "currency": {
- "code": "string",
- "display_code": "string",
- "description": "string",
- "symbol": "string",
- "unit": "string",
- "divisibility": -2147483648,
}, - "archived": true,
- "created": 0,
- "updated": 0
}
}
{- "archived": false
}
{- "status": "string",
- "data": {
- "currency": {
- "code": "string",
- "display_code": "string",
- "description": "string",
- "symbol": "string",
- "unit": "string",
- "divisibility": -2147483648,
}, - "archived": true,
- "created": 0,
- "updated": 0
}
}
{- "archived": false
}
{- "status": "string",
- "data": {
- "currency": {
- "code": "string",
- "display_code": "string",
- "description": "string",
- "symbol": "string",
- "unit": "string",
- "divisibility": -2147483648,
}, - "archived": true,
- "created": 0,
- "updated": 0
}
}