You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

Add multiple filter in REST API callRest

Summary:

Hello,

I have the below code (my code snippet) to invoke a custom common lookup table, I would like to add multiple filter, how can I do this?
something like

op: '$eq',attribute: 'Tag',value: "Marc",

Content (please ensure you mask any confidential information):
My code snippet

Version (include the version you are using, if applicable):



Code Snippet (add any code snippets that support your topic, if applicable):

My code snippet

const getProjectApprovers = await Actions.callRest(context, {
endpoint: 'fscmRestApi/getall_commonLookups-lookupCodes',
uriParams: {
'commonLookups_Id': 'CUSTOM_COMMON_LOOKUPS_XX',
},
responseType: 'getallCommonLookupsLookupCodesResponse',
requestTransformOptions: {
filter: {
op: '$eq',
attribute: 'EnabledFlag',
value: "Y",
Tagged:

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!