Private

Create a dimension

Changed on

Create a new dimension which is related to an instance

post/instances/{instance_id}/dimensions

Request

  • Base URL
    https://api.beta.ons.gov.uk/v1
  • Auth
    API key in header Authorization

Path parameters

instance_idstring required

A unique id for an instance

Headers

If-Matchstring

Filter resource version, as returned by a previous ETag, to be validated; or '*' to skip the version check

Request body

codestring
codeliststring
dimensionstring

The name of the dimension

instance_idstring

The unique identifier for the instance in which this dimension option is associated to

labelstring

The label for a option

optionstring

The option of the dimension

orderinteger

The numerical order for the dimension option

Response

Dimension was created

Changes

    • info

      the endpoint scheme security Authorization was added to the API

    • info

      the endpoint scheme security InternalAPIKey was removed from the API