{ "alps" : { "version" : "1.0", "descriptor" : [ { "id" : "dealer-representation", "href" : "https://api.hyundai.co.in/profile/dealers", "descriptor" : [ { "name" : "superDealerCode", "type" : "SEMANTIC" }, { "name" : "dealerCode", "type" : "SEMANTIC" }, { "name" : "dealerName", "type" : "SEMANTIC" }, { "name" : "dealerCategoryId", "type" : "SEMANTIC" }, { "name" : "dealerTypeId", "type" : "SEMANTIC" }, { "name" : "zoneId", "type" : "SEMANTIC" }, { "name" : "regionId", "type" : "SEMANTIC" }, { "name" : "stateId", "type" : "SEMANTIC" }, { "name" : "cityId", "type" : "SEMANTIC" }, { "name" : "latitude", "type" : "SEMANTIC" }, { "name" : "longitude", "type" : "SEMANTIC" }, { "name" : "address", "type" : "SEMANTIC" }, { "name" : "location", "type" : "SEMANTIC" }, { "name" : "postCode", "type" : "SEMANTIC" }, { "name" : "stdCode", "type" : "SEMANTIC" }, { "name" : "phone1", "type" : "SEMANTIC" }, { "name" : "phone2", "type" : "SEMANTIC" }, { "name" : "mobile1", "type" : "SEMANTIC" }, { "name" : "mobile2", "type" : "SEMANTIC" }, { "name" : "fax", "type" : "SEMANTIC" }, { "name" : "email1", "type" : "SEMANTIC" }, { "name" : "email2", "type" : "SEMANTIC" }, { "name" : "email3", "type" : "SEMANTIC" }, { "name" : "website", "type" : "SEMANTIC" }, { "name" : "dealerStatus", "type" : "SEMANTIC" }, { "name" : "merchant", "type" : "SEMANTIC" }, { "name" : "hyBuy", "type" : "SEMANTIC" }, { "name" : "onlineBooking", "type" : "SEMANTIC" }, { "name" : "createdBy", "type" : "SEMANTIC" }, { "name" : "createdTime", "type" : "SEMANTIC" }, { "name" : "updatedBy", "type" : "SEMANTIC" }, { "name" : "updatedTime", "type" : "SEMANTIC" }, { "name" : "version", "type" : "SEMANTIC" }, { "name" : "dealerCategory", "type" : "SAFE", "rt" : "https://api.hyundai.co.in/profile/dealerCategories#dealerCategory-representation" }, { "name" : "zone", "type" : "SAFE", "rt" : "https://api.hyundai.co.in/profile/zones#zone-representation" }, { "name" : "dealerType", "type" : "SAFE", "rt" : "https://api.hyundai.co.in/profile/dealerTypes#dealerType-representation" }, { "name" : "region", "type" : "SAFE", "rt" : "https://api.hyundai.co.in/profile/regions#region-representation" }, { "name" : "city", "type" : "SAFE", "rt" : "https://api.hyundai.co.in/profile/cities#city-representation" }, { "name" : "state", "type" : "SAFE", "rt" : "https://api.hyundai.co.in/profile/states#state-representation" } ] }, { "id" : "get-dealers", "name" : "dealers", "type" : "SAFE", "descriptor" : [ { "name" : "page", "type" : "SEMANTIC", "doc" : { "format" : "TEXT", "value" : "The page to return." } }, { "name" : "size", "type" : "SEMANTIC", "doc" : { "format" : "TEXT", "value" : "The size of the page to return." } }, { "name" : "sort", "type" : "SEMANTIC", "doc" : { "format" : "TEXT", "value" : "The sorting criteria to use to calculate the content of the page." } } ], "rt" : "#dealer-representation" }, { "id" : "create-dealers", "name" : "dealers", "type" : "UNSAFE", "rt" : "#dealer-representation" }, { "id" : "delete-dealer", "name" : "dealer", "type" : "IDEMPOTENT", "rt" : "#dealer-representation" }, { "id" : "patch-dealer", "name" : "dealer", "type" : "UNSAFE", "rt" : "#dealer-representation" }, { "id" : "get-dealer", "name" : "dealer", "type" : "SAFE", "rt" : "#dealer-representation" }, { "id" : "update-dealer", "name" : "dealer", "type" : "IDEMPOTENT", "rt" : "#dealer-representation" }, { "name" : "getDealersByOnlineBookingAndCity", "type" : "SAFE", "descriptor" : [ { "name" : "onlineBooking", "type" : "SEMANTIC" }, { "name" : "cityId", "type" : "SEMANTIC" }, { "name" : "salesDealerCategoryId", "type" : "SEMANTIC" }, { "name" : "dealerStatus", "type" : "SEMANTIC" } ] }, { "name" : "exportDealersByCategoryAndStatus", "type" : "SAFE", "descriptor" : [ { "name" : "dealerCategoryId", "type" : "SEMANTIC" }, { "name" : "dealerStatus", "type" : "SEMANTIC" } ] }, { "name" : "findDealersByDealerCategoryAndStatus", "type" : "SAFE", "descriptor" : [ { "name" : "dealerCategoryId", "type" : "SEMANTIC" }, { "name" : "dealerStatus", "type" : "SEMANTIC" } ] }, { "name" : "getDealerNamesWithoutDealerCategory", "type" : "SAFE", "descriptor" : [ { "name" : "roleIds", "type" : "SEMANTIC" }, { "name" : "dealerName", "type" : "SEMANTIC" }, { "name" : "dealerStatus", "type" : "SEMANTIC" } ] }, { "name" : "findDealersByDealerStatus", "type" : "SAFE", "descriptor" : [ { "name" : "dealerStatus", "type" : "SEMANTIC" } ] }, { "name" : "getDealerNamesWithDealerCategory", "type" : "SAFE", "descriptor" : [ { "name" : "roleIds", "type" : "SEMANTIC" }, { "name" : "dealerName", "type" : "SEMANTIC" }, { "name" : "dealerCategoryId", "type" : "SEMANTIC" }, { "name" : "dealerStatus", "type" : "SEMANTIC" } ] }, { "name" : "exportDealersByStatus", "type" : "SAFE", "descriptor" : [ { "name" : "dealerStatus", "type" : "SEMANTIC" } ] }, { "name" : "getDealerHavingDealerCodeAndDealerTypeId", "type" : "SAFE", "descriptor" : [ { "name" : "dealerCode", "type" : "SEMANTIC" }, { "name" : "dealerTypeId", "type" : "SEMANTIC" } ] }, { "name" : "getById", "type" : "SAFE", "descriptor" : [ { "name" : "id", "type" : "SEMANTIC" } ] }, { "name" : "getDealerIdsByLatLon", "type" : "SAFE", "descriptor" : [ { "name" : "dealerCategoryId", "type" : "SEMANTIC" }, { "name" : "latitude", "type" : "SEMANTIC" }, { "name" : "longitude", "type" : "SEMANTIC" }, { "name" : "distance", "type" : "SEMANTIC" }, { "name" : "dealerStatus", "type" : "SEMANTIC" } ] }, { "name" : "getAllDealers", "type" : "SAFE" }, { "name" : "getDealerCodesWithoutDealerCategory", "type" : "SAFE", "descriptor" : [ { "name" : "roleIds", "type" : "SEMANTIC" }, { "name" : "dealerCode", "type" : "SEMANTIC" }, { "name" : "dealerStatus", "type" : "SEMANTIC" } ] }, { "name" : "findDealerIds", "type" : "SAFE", "descriptor" : [ { "name" : "dealerIds", "type" : "SEMANTIC" } ] }, { "name" : "getDealerCodesWithDealerCategory", "type" : "SAFE", "descriptor" : [ { "name" : "roleIds", "type" : "SEMANTIC" }, { "name" : "dealerCode", "type" : "SEMANTIC" }, { "name" : "dealerCategoryId", "type" : "SEMANTIC" }, { "name" : "dealerStatus", "type" : "SEMANTIC" } ] }, { "name" : "findDealersByDealerCategoryAndCity", "type" : "SAFE", "descriptor" : [ { "name" : "dealerCategoryId", "type" : "SEMANTIC" }, { "name" : "cityId", "type" : "SEMANTIC" }, { "name" : "dealerStatus", "type" : "SEMANTIC" } ] } ] } }