Returns list of all donor_generations from donor_model.
Permission: read
Header
| Field | Type | Description |
| User-Agent | string | Account email. |
Query Param
| Field | Type | Description |
| category_id | Number | Category Id. Category unique ID. |
| make_code | String | Brand Slug. |
| model_code | String | Model Slug. |
Example request
HTTP/1.1 GET /categories/69/donor_models/ford/donor_generations/focus
User-Agent: $USER_EMAIL
Content-Type: application/json
Authorization: Bearer $ACCESS_TOKEN
Copied to clipboard
200
| Field | Type | Description |
|---|---|---|
| options | Object | document containing all donor_generations keys and associated labels in a per language basis |
Success response
HTTP/1.1 200 OK
{
"options": {
"gen-mk1": {
"ro": "Mk1",
"en": "Mk1"
},
"gen-mk2": {
"ro": "Mk2",
"en": "Mk2"
},
"gen-mk3": {
"ro": "Mk3",
"en": "Mk3"
},
"gen-st": {
"ro": "St",
"en": "St"
},
}
}
Copied to clipboard