(base: string, params: AgiloftDeleteRecordParams)
| 55 | } |
| 56 | |
| 57 | export function buildDeleteRecordUrl(base: string, params: AgiloftDeleteRecordParams): string { |
| 58 | const { kb, table } = encodeTable(params) |
| 59 | const id = encodeURIComponent(params.recordId.trim()) |
| 60 | return `${base}/ewws/REST/${kb}/${table}/${id}?$lang=en` |
| 61 | } |
| 62 | |
| 63 | function buildEwBaseQuery(params: AgiloftBaseParams): string { |
| 64 | const { kb, table } = encodeTable(params) |