( base: string, params: AgiloftGetChoiceLineIdParams )
| 142 | } |
| 143 | |
| 144 | export function buildGetChoiceLineIdUrl( |
| 145 | base: string, |
| 146 | params: AgiloftGetChoiceLineIdParams |
| 147 | ): string { |
| 148 | const field = encodeURIComponent(params.fieldName.trim()) |
| 149 | const value = encodeURIComponent(params.value.trim()) |
| 150 | return `${base}/ewws/EWGetChoiceLineId/.json?${buildEwBaseQuery(params)}&field=${field}&value=${value}` |
| 151 | } |
| 152 | |
| 153 | export function getLockHttpMethod(lockAction: string): HttpMethod { |
| 154 | switch (lockAction) { |
no test coverage detected