Download OpenAPI specification:Download
This is an API specification for the Web-Platform data service.
Get feature flags for given feature specifications
required | object |
object | |
object |
{- "config": {
- "names": [
- "avatax",
- "avalara",
- "foobar"
]
}, - "data": {
- "accountId": 12345678,
- "returns": true,
- "companyName": "test-company"
}, - "overrides": {
- "experimental-feature-1": true
}
}
{- "data": {
- "experimental-feature-1": true,
- "experimental-feature-2": true,
- "experimental-feature-3": false
}, - "error": {
- "message": "Unable to locate feature specifications: foobar.json",
- "code": "FeatureFlagSpecificationNotFound"
}
}
Aggregation of AvaTax subscriptions and user role and IAM-DS entitlements and grants
object If activeAccountId is set and passed via aui-context cookie, that value will be preferred over the accountId determined from the bearer auth. |
{- "iamDsEntitlements": [
- {
- "displayName": "string",
- "system": {
- "identifier": "string",
- "displayName": "string",
- "location": "url"
}, - "tenant": {
- "identifier": "string",
- "displayName": "string",
- "location": "url"
}, - "active": true,
- "features": [
- {
- "feature": {
- "identifier": "string",
- "displayName": "string",
- "location": "url"
}, - "active": true
}
], - "id": "string",
- "meta": {
- "created": "timestamp",
- "lastModified": "timestamp",
- "location": "url",
- "version": "1"
}, - "tags": [ ]
}
], - "iamDsGrants": [
- {
- "type": "string",
- "id": "string",
- "meta": {
- "created": "timestamp",
- "createdBy": "string",
- "lastModified": "timestamp",
- "modifiedBy": "string",
- "location": "string",
- "version": "string"
}, - "aspects": [
- {
- "identifier": "string",
- "displayName": "string",
- "location": "string",
- "namespace": "string"
}
], - "tags": [
- {
- "name": "string",
- "value": "string"
}
], - "displayName": "string",
- "description": "string",
- "rules": [
- {
- "permissions": [
- "string"
], - "condition": "string"
}
], - "system": {
- "identifier": "string",
- "displayName": "string",
- "location": "string"
}, - "role": {
- "identifier": "string",
- "displayName": "string",
- "location": "string"
}
}
], - "avataxSubscriptions": [
- {
- "id": 12345,
- "accountId": 123456789,
- "subscriptionTypeId": 2,
- "subscriptionDescription": "AvaTaxPro",
- "effectiveDate": "2015-01-01"
}
], - "avataxUserRole": "AccountAdmin",
- "errors": [
- {
- "label": "getAccount",
- "error": {
- "ok": false,
- "message": "string",
- "status": 123
}
}
]
}
{- "elr": {
- "targeted": [
- "de-DE",
- "fr-FR"
], - "released": [
- "en-US",
- "de-DE",
- "fr-FR"
]
}, - "portal": {
- "targeted": [
- "de-DE",
- "fr-FR"
], - "released": [
- "en-US"
]
}
}
{- "userInitials": "TS",
- "accountData": {
- "accountId": 2090286755,
- "menuItems": [
- {
- "label": "Product and usage",
- "dataRef": "aui-header.account-menu.products-usage",
- "ref": "account-products-usage",
- "icon": "usage"
}, - {
- "label": "Billing",
- "dataRef": "aui-header.account-menu.billing",
- "ref": "account-billing",
- "icon": "usd-circle"
}, - {
- "label": "Support Cases",
- "dataRef": "aui-header.account-menu.support-cases",
- "ref": "account-support-cases",
- "icon": "support"
}
]
}, - "userData": {
- "userId": 0,
- "username": "",
- "menuItems": [
- {
- "label": "My downloads",
- "dataRef": "aui-header.account-menu.downloads",
- "ref": "account-downloads",
- "icon": "download"
}, - {
- "label": "Change password",
- "dataRef": "aui-header.account-menu.change-password",
- "ref": "account-change-password",
- "icon": "key"
}, - {
- "label": "Sign out",
- "url": "/auth/logout?returnUrl=http%3A%2F%2Flocalhost%3A8080",
- "dataRef": "aui-header.account-menu.logout",
- "icon": "logout"
}
]
}, - "internalOnlyData": [
- {
- "label": "Switch accounts",
- "dataRef": "aui-header.account-menu.tsa-switch",
- "icon": "switch-accounts"
}
]
}