rehive.admin.account.definitions.get().then(function (res) { ... }, function (err) { ... });
{- "status": "success",
- "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": "success",
- "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": "success",
- "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": "success",
- "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": "success",
- "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": "success",
- "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": "success",
- "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": "success",
- "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": "success",
- "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": "success",
- "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": "success",
- "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": "success",
- "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": "success",
- "data": {
- "currency": {
- "code": "string",
- "display_code": "string",
- "description": "string",
- "symbol": "string",
- "unit": "string",
- "divisibility": -2147483648,
}, - "archived": true,
- "created": 0,
- "updated": 0
}
}
{- "archived": false
}
{- "status": "success",
- "data": {
- "currency": {
- "code": "string",
- "display_code": "string",
- "description": "string",
- "symbol": "string",
- "unit": "string",
- "divisibility": -2147483648,
}, - "archived": true,
- "created": 0,
- "updated": 0
}
}
{- "archived": false
}
{- "status": "success",
- "data": {
- "currency": {
- "code": "string",
- "display_code": "string",
- "description": "string",
- "symbol": "string",
- "unit": "string",
- "divisibility": -2147483648,
}, - "archived": true,
- "created": 0,
- "updated": 0
}
}