MCPcopy Index your code
hub / github.com/simstudioai/sim / buildGetChoiceLineIdUrl

Function buildGetChoiceLineIdUrl

apps/sim/tools/agiloft/utils.ts:144–151  ·  view source on GitHub ↗
(
  base: string,
  params: AgiloftGetChoiceLineIdParams
)

Source from the content-addressed store, hash-verified

142}
143
144export 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
153export function getLockHttpMethod(lockAction: string): HttpMethod {
154 switch (lockAction) {

Callers 1

route.tsFile · 0.90

Calls 1

buildEwBaseQueryFunction · 0.85

Tested by

no test coverage detected