Attribute Values
Retrieve a list of attribute values with optional filtering.
Authorizations
Query parameters
pageinteger · min: 1OptionalDefault:
Specifies the page number of the current dataset
1
limitinteger · min: 1OptionalDefault:
Indicates the number of rows on the current page.
10
labelstringOptionalExample:
The display label of the attribute value
Color
valuestringOptionalExample:
Filter by value (contains)
Red
erp_codestringOptionalExample:
Filter by ERP code (contains)
ERPCODE123
value__exactstringOptionalExample:
Filter by value (exact match)
Red
pk__ininteger[]Optional
Filter by multiple primary key values (comma-separated list of integers)
attributeinteger · int64OptionalExample:
Filter by related attribute ID
1
Responses
200
A list of attribute values.
application/json
401
Unauthorized Access
application/json
500
Server Error
get
GET /api/v1/attribute_value/ HTTP/1.1
Host: sandbox.akinon.com
Authorization: YOUR_API_KEY
Accept: */*
[
{
"id": 1,
"attribute": {
"id": 1,
"default_value": {
"id": 1,
"attribute": {
"id": 1,
"default_value": {
"id": 1,
"attribute": "[Circular Reference]",
"label": "Color Red",
"value": "Red",
"order": 1,
"erp_code": "ERPCODE123",
"created_date": "2021-01-01T00:00:00Z",
"modified_date": "2021-01-01T00:00:00Z",
"translations": {
"ANY_ADDITIONAL_PROPERTY": "text"
}
},
"entity_type": {
"id": 1,
"app_label": "text",
"model": "text"
},
"erp_code": "ERPCODE123",
"pre_attribute": true,
"description": "This is a color attribute",
"name": "Color",
"key": "color",
"data_type": "text"
},
"label": "Color Red",
"value": "Red",
"order": 1,
"erp_code": "ERPCODE123",
"created_date": "2021-01-01T00:00:00Z",
"modified_date": "2021-01-01T00:00:00Z",
"translations": {
"ANY_ADDITIONAL_PROPERTY": "text"
}
},
"entity_type": {
"id": 1,
"app_label": "text",
"model": "text"
},
"erp_code": "ERPCODE123",
"pre_attribute": true,
"description": "This is a color attribute",
"name": "Color",
"key": "color",
"data_type": "text"
},
"label": "Color Red",
"value": "Red",
"order": 1,
"erp_code": "ERPCODE123",
"created_date": "2021-01-01T00:00:00Z",
"modified_date": "2021-01-01T00:00:00Z",
"translations": {
"ANY_ADDITIONAL_PROPERTY": "text"
}
}
]
Was this helpful?