getVariantMakes
getVariantMakes
Overview
This method will list the makes and its detail.
Permissions
To run this API, the nominated 'web-services' role needs to be given permission.
If you are not actively using the API, leave the permission off for better security.
Go to Roles / Apis and check on QuoteVariants:Get
HTTP Method
Use the HTTP Method 'GET' for consuming this web service.
Input Fields (Header)
Header should contain the 'Accept' Key with the Value = 'application/json' or 'application/vnd.catch-e-api.v1+json'.
Input Fields (Body)
Wildcard % operator notes:
If you are using "Postman" app, with the wildcard operator, the search string of either %ab% or %ba%, will give this response:
"field_name": {"isEmpty": "Value is required and can't be empty"}.If you need to search either %ab% or %ba%, please use %25ab%25 or %25ba%25 as required to return results as expected.
Input URL Examples
https://api.test.catch-e.com/qt/makes?make_code=FO%25&make_type=motor-vehicles&profile_required_flag=no&include_inactive_flag=no&page=1&page_size=25 (Successful) Output Example
{ "_links": { "self": { "href": "https://api.test.catch-e.com/qt/makes/?make_code=FO%25&make_type=motor-vehicles&profile_required_flag=no&include_inactive_flag=no&page=1&page_size=25" }, "first": { "href": "https://api.test.catch-e.com/qt/makes/?make_code=FO%25&make_type=motor-vehicles&profile_required_flag=no&include_inactive_flag=no&page_size=25" }, "last": { "href": "https://api.test.catch-e.com/qt/makes/?make_code=FO%25&make_type=motor-vehicles&profile_required_flag=no&include_inactive_flag=no&page=1&page_size=25" } }, "_embedded": { "qt_makes": [ { "make_id": 100014, "make_code": "FORD", "name": "FORD", "make_type": "motor-vehicles", "data_source_id": 100001, "status_flag": "active", "_links": { "self": { "href": "https://api.test.catch-e.com/qt/makes/100014" } } }, { "make_id": 100085, "make_code": "FOTO", "name": "FOTON", "make_type": "motor-vehicles", "data_source_id": 100001, "status_flag": "active", "_links": { "self": { "href": "https://api.test.catch-e.com/qt/makes/100085" } } } ] }, "page_count": 1, "page_size": 25, "total_items": 2, "page": 1 } Error Codes
Was this helpful?
More in Quote / Variants
getVariantModelsgetVariantModelYears getVariantModelgetVariantBodyTypesStill need help? Ask the team