Skip to main content
POST
/
api
/
bis
/
datasets
/
dimensions
/bis/datasets/dimensions
curl --request POST \
  --url https://api.anysite.io/api/bis/datasets/dimensions \
  --header 'Content-Type: application/json' \
  --header 'access-token: <api-key>' \
  --data '
{
  "dataset": "<string>",
  "timeout": 300,
  "agency": "BIS",
  "version": "1.0",
  "lang": "en"
}
'
[
  {
    "id": "<string>",
    "position": 123,
    "codes": [
      {
        "code": "<string>",
        "@type": "@bis_dimension_code",
        "label": "<string>"
      }
    ],
    "@type": "@bis_dimension",
    "label": "<string>"
  }
]

Authorizations

access-token
string
header
required

API token from the dashboard

Headers

access-token
string
required

Body

application/json
dataset
string
required

Dataset id

Examples:

"WS_CBPOL"

"WS_TC"

"WS_EER"

timeout
integer
default:300

Max scrapping execution timeout (in seconds)

Required range: 20 <= x <= 1500
agency
string
default:BIS

Maintenance agency id

Example:

"BIS"

version
string
default:1.0

Dataset version

Example:

"1.0"

lang
enum<string>
default:en

Language of the dimension and code labels

Available options:
en

Response

Successful Response

id
string
required
position
integer
required
codes
BisDimensionCode · object[]
required
@type
string
default:@bis_dimension
label
string | null