Last active
June 15, 2018 23:26
-
-
Save switchspan/9208ae5b47c761ad6514321bf2c25262 to your computer and use it in GitHub Desktop.
Netsuite Mule Criteria via Dataweave
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
%dw 1.0 | |
%output application/java | |
--- | |
{ | |
email: { | |
operator: "IS", | |
searchValue: inboundProperties["http.query.params"].email | |
}, | |
customFieldList: { | |
customField: [{ | |
scriptId: "custentity_contactgoodstanding", | |
searchValue: "true" | |
} as :object { | |
class: "com.netsuite.webservices.platform.core.SearchBooleanCustomField" | |
}] | |
} as :object { | |
class: "com.netsuite.webservices.platform.core.SearchCustomFieldList" | |
} | |
} as :object { | |
class : "com.netsuite.webservices.platform.common.ContactSearchBasic" | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment