Partial register claim method added to store
This commit is contained in:
parent
ade752091f
commit
e6ae82780a
1 changed files with 22 additions and 0 deletions
|
|
@ -347,6 +347,28 @@ export const useMainStore = defineStore({
|
|||
};
|
||||
}
|
||||
},
|
||||
// TODO determine what inputs are required to get a response
|
||||
registerClaim() {
|
||||
try {
|
||||
const response = globalMethods.callHttpClient({
|
||||
method: endpoints.RegisterClaim.method,
|
||||
endpoint: endpoints.RegisterClaim.url,
|
||||
payload: {
|
||||
// accountNumber: accountNumber,
|
||||
// policyNumber: policyNumber,
|
||||
// dateOfLoss: dateOfLoss,
|
||||
// zipCode: zipCode
|
||||
}
|
||||
});
|
||||
return response;
|
||||
} catch (responseError) {
|
||||
return {
|
||||
error: {
|
||||
status: responseError.status
|
||||
}
|
||||
};
|
||||
}
|
||||
},
|
||||
async lookupVinByPlate(licensePlate, licenseState) {
|
||||
try {
|
||||
const response = await globalMethods.callHttpClient({
|
||||
|
|
|
|||
Loading…
Reference in a new issue