push to sheet

This commit is contained in:
arc-alex
2023-11-19 17:04:14 +01:00
parent a7c9ce876c
commit 543e365f82
5 changed files with 162 additions and 41 deletions
+11
View File
@@ -265,3 +265,14 @@ export const postPreviewSheet = async (sheetId: string, worksheet: string, optio
});
return response.data.data;
};
export const postPushSheet = async (sheetId: string, worksheet: string, options?: ExcelImportMap) => {
const response = await axios.post(`${ontimeURL}/sheet-push`, {
sheetid: sheetId,
worksheet: worksheet,
options: options,
});
return response.data.data;
};