From a70dfab9ec098a86994fcfc371a4d2af8e50e3a4 Mon Sep 17 00:00:00 2001 From: Kulbhushan Kaushik Date: Thu, 15 Sep 2022 08:25:49 -0400 Subject: [PATCH] commit --- src/constants/endpoints.js | 77 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 77 insertions(+) diff --git a/src/constants/endpoints.js b/src/constants/endpoints.js index e69de29b..9021ded4 100644 --- a/src/constants/endpoints.js +++ b/src/constants/endpoints.js @@ -0,0 +1,77 @@ +const endpoints = { + GetRouteInfo: { + url: "/content/api/v1/content/RouteInfo", + method: "POST", + }, + GetHomepageInfo: { + url: "/content/api/v1/content/HomepageInfo", + method: "GET", + }, + GetVehicleYears: { + url: "/vehicle/api/v1/vehicle/years", + method: "GET", + }, + GetVehicleMakes: { + url: "/vehicle/api/v1/vehicle/Makes", + method: "GET", + }, + GetVehicleModels: { + url: "/vehicle/api/v1/vehicle/Models", + method: "GET", + }, + GetVehicleStyles: { + url: "/vehicle/api/v1/vehicle/Styles", + method: "GET", + }, + GetVehicle: { + url: "/vehicle/api/v1/vehicle/lookup", + method: "GET", + }, + GetDamageOptions: { + url: "/parts/api/v1/parts/damage-options", + method: "GET", + }, + GetPageData: { + url: "/content/api/v1/content", + method: "GET", + }, + LookupVehicleByYmms: { + url: "/vehicle/api/v1/vehicle/Lookup", + method: "GET", + }, + LookupVehicleByVin: { + url: "/vehicle/api/v1/vehicle/Lookup", + method: "POST", + }, + LookupVinByPlate: { + url: "/vehicle/api/v1/vehicle/lookup-vin-by-plate", + method: "POST", + }, + LookupVinByAddress: { + url: "/vehicle/api/v1/vehicle/lookup-vin-by-address", + method: "POST", + }, + GetPartsOrQuestions: { + url: "/parts/api/v1/parts/parts-or-questions", + method: "POST", + }, + GetParts: { + url: "/parts/api/v1/parts/parts", + method: "POST", + }, + GetCapabilityQuestions: { + url: "/parts/api/v1/parts/capability-questions", + method: "GET" + }, + GetPartFromCapabilityAnswer: { + url: "/parts/api/v1/parts/part-from-capability-answer", + method: "POST" + }, + ValidateZip: { + url: "/location/api/v1/location/zip", + method: "GET", + } + }; + + export { endpoints }; + \ No newline at end of file