(base: string, params: AgiloftBaseParams)
| 23 | } |
| 24 | |
| 25 | export function buildCreateRecordUrl(base: string, params: AgiloftBaseParams): string { |
| 26 | const { kb, table } = encodeTable(params) |
| 27 | return `${base}/ewws/REST/${kb}/${table}?$lang=en` |
| 28 | } |
| 29 | |
| 30 | export function buildReadRecordUrl(base: string, params: AgiloftReadRecordParams): string { |
| 31 | const { kb, table } = encodeTable(params) |