Stubbed out getShopTimeSlots method in service-location-helper
This commit is contained in:
parent
e0b552f4f9
commit
057c7fbfbc
1 changed files with 46 additions and 0 deletions
|
|
@ -42,3 +42,49 @@ export async function getServiceabilityDetails(serviceZipCode, lineItems) {
|
|||
|
||||
return Promise.resolve(serviceabilityDetails);
|
||||
}
|
||||
|
||||
export async function getShopTimeSlots(providerNumber, startDate, endDate) {
|
||||
// For a given shop provider number and date range, get the appointment time slots available
|
||||
/*
|
||||
Request
|
||||
{
|
||||
"providerNumber": "string",
|
||||
"startDate": "2023-05-19T18:32:02.026Z",
|
||||
"endDate": "2023-05-19T18:32:02.026Z",
|
||||
"shopAppointmentType": "string",
|
||||
"applicationName": "string",
|
||||
"parentAccountNumber": 0,
|
||||
"carId": "string",
|
||||
"partNumbers": [
|
||||
"string"
|
||||
],
|
||||
"glassPieces": [
|
||||
{
|
||||
"name": "string",
|
||||
"location": "string"
|
||||
}
|
||||
],
|
||||
"eon": "string",
|
||||
"paymentType": "string",
|
||||
"coverage": {
|
||||
"status": "string",
|
||||
"deductible": 0,
|
||||
"additionalAuthFlag": "string"
|
||||
},
|
||||
"partSelection": {
|
||||
"hasAnsweredPartQuestions": true,
|
||||
"hasAnsweredMoldingQuestions": true,
|
||||
"hasAnsweredCapabilityQuestions": true,
|
||||
"hasManuallySelectedParts": true
|
||||
},
|
||||
"vehicle": {
|
||||
"year": 0,
|
||||
"make": "string",
|
||||
"model": "string",
|
||||
"style": "string",
|
||||
"vin": "string"
|
||||
}
|
||||
}
|
||||
|
||||
*/
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue