DimensionOptionsRequest

GET {{base_url}}/DimensionOptionsRequest?DimensionId={{integer}}&IgnoreCompanyId={{boolean}}

Retrieves a list of dimension options to load.

API
Dimension API

Requires Authentication
Yes

Returns
List [DimensionOption]

Batch?
No

Request Params

KeyDatatypeRequiredDescription
DimensionIdstringRequired.
(int32)
The identifier of the dimension options to load.
CompanyIdstringOptional.
(int32)
The identifier of the associated company.
NOTE: For information about the Company object, see Company.
IgnoreCompanyIdstringRequired.
(int32)
The flag that indicates whether or not it should ignore the company from the dimension, and return one instance of the dimension, instead of one per company.
If true, it ignores the company from the dimension and returns one instance of the dimension. Otherwise it does not.
ActivestringOptional.
(int32)
The flag that indicates whether or not it is active.
If true, the dimension option object is active. Otherwise, it is not.
DisableInactiveParenthesisstringOptional.
(int32)
The flag that indicates whether or not inactive parenthesis is disabled. If true, it disables the addition of parantheses. Otherwise, it does not.
NOTE: By default, this is automatically set to false if not specified.

RESPONSES

status: OK

[{"Id":13,"Name":"asdasdasdasd","Active":true},{"Id":5950,"Name":"BMW","Active":true},{"Id":5948,"Name":"Car 1","Active":true},{"Id":5936,"Name":"Car 2","Active":true},{"Id":5938,"Name":"Car 2","Active":true},{"Id":229,"Name":"Car 4","Active":true},{"Id":228,"Name":"Car 5","Active":true},{"Id":227,"Name":"Car 6","Active":true},{"Id":225,"Name":"Car 7","Active":true},{"Id":221,"Name":"Car 8","Active":true},{"Id":219,"Name":"Car 9","Active":true},{"Id":5,"Name":"Citroen","Active":true},{"Id":6,"Name":"Ford","Active":true},{"Id":12,"Name":"Honda","Active":true},{"Id":11,"Name":"Mazda","Active":true},{"Id":5949,"Name":"test new () !\u0026%^#@ edit","Active":true},{"Id":7,"Name":"Toyota","Active":true},{"Id":135,"Name":"(Audi A8  Tommy Brandt)","Active":false},{"Id":109,"Name":"(BMW)","Active":false},{"Id":212,"Name":"(Car 10)","Active":false},{"Id":192,"Name":"(dfgdfg)","Active":false},{"Id":5937,"Name":"(Disabled dimension no. 1)","Active":false},{"Id":132,"Name":"(Dummy)","Active":false},{"Id":194,"Name":"(fghfgh)","Active":false},{"Id":195,"Name":"(fghfgh)","Active":false},{"Id":198,"Name":"(fghfgh)","Active":false},{"Id":201,"Name":"(fghfgh)","Active":false},{"Id":202,"Name":"(fghfghfgh3)","Active":false},{"Id":137,"Name":"(Ford Mondeo Poul Ringsholm)","Active":false},{"Id":197,"Name":"(ghjghj)","Active":false},{"Id":206,"Name":"(ghjghj)","Active":false},{"Id":207,"Name":"(ghjghj)","Active":false},{"Id":205,"Name":"(ghjghjghj)","Active":false},{"Id":204,"Name":"(ghjhj)","Active":false},{"Id":193,"Name":"(hfghfgh)","Active":false},{"Id":200,"Name":"(hfghg)","Active":false},{"Id":196,"Name":"(jghjghj)","Active":false},{"Id":203,"Name":"(jghjghj)","Active":false},{"Id":208,"Name":"(jghjghjghj)","Active":false},{"Id":220,"Name":"(Management)","Active":false},{"Id":153,"Name":"(McFly)","Active":false},{"Id":108,"Name":"(Mercedes)","Active":false},{"Id":158,"Name":"(Rasmus Rødskæg)","Active":false},{"Id":191,"Name":"(sdfdf)","Active":false},{"Id":199,"Name":"(sdfsdf)","Active":false},{"Id":160,"Name":"(Tesla)","Active":false},{"Id":171,"Name":"(testyy)","Active":false},{"Id":107,"Name":"(Volvo)","Active":false},{"Id":134,"Name":"(Volvo V70  Ringsholm)","Active":false},{"Id":136,"Name":"(Volvo V70 2.4 Ringsholm)","Active":false},{"Id":133,"Name":"(VW Passat  Poul Ringsholm)","Active":false}]