INPUT_OBJECT
SRPParamsInput
link GraphQL Schema definition
- input SRPParamsInput {
- # Search by the opportunity's cause categories
- Category] : [
- # VolunteerMatch Internal Use Only. An array of collection ids. This is used to
- # limit the search to opportunities linked to the given collection. Currently,
- # only one collection is allowed.
- Int] : [
- # Defines how a user can participate in this opportunity
- OpportunityConnectionType :
- Long] : [
- # The name or id of a container. This is used to limit the search to
- # opportunities linked to the given container. Currently, only one container is
- # allowed.
- String] : [
- # Id for custom query to use
- String :
- # Search for opportunities that start and/or end on certain dates, as well as ones
- # on-going without specific start and end dates
- DateRangeDetailInput] : [
- # User enter an array of Strings. This is a text search against opportunities's
- # description, i.e., descriptions: ["girls","boys"]
- String] : [
- Boolean :
- # User enter an array of Strings. This is a text search against opportunities's
- # parent Organization's EIN, i.e., eins: ["123456789","12-3456789"]
- String] : [
- Boolean :
- # Search opportunities are friendly for these groups of people, including kids,
- # teens, seniors, groups and doneInADay
- GreatFor] : [
- # Search Opportunities by an array of opportunity IDs
- Int] : [
- Boolean :
- # Set to false if we don't want to include regional/national opportunities.
- # Default is true
- Boolean :
- # User enter an array of Strings. This is a keyword search against opportunities's
- # title, org name, description, skills, and categories, i.e., keywords:
- # ["girls","boys"]
- String] : [
- Boolean :
- # Free-form text to indicate location, i.e., location: "san francisco", or
- # location: "94111", or location: "GB". Use "Non-US" to query for opportunities
- # located in all non-US countries
- String :
- Int :
- # An array of Organization IDs to search by
- Int] : [
- # User enter an array of Strings. This is a text search against opportunities's
- # parent Organization names, i.e., orgNames: ["girls","boys"]
- String] : [
- Boolean :
- # The page number of the search result
- Int :
- SortSRPBy :
- # An array of opportunities's parent organization's National or multi-chapter
- # organization IDs
- Int] : [
- # The supported search radius values are: a number(in miles), city,
- # subregion(county), msa, region(state), country
- String :
- # Set this field to true to query for opportunities that have a redirect link,
- # false to filter out all opportunities with redirect links. Omit this field if
- # no filtering based on redirect link is desired.
- Boolean :
- # Set this field to true to query for both virtual and on-location opportunities
- # based on Location input. This input is ignored if you’ve set virtual = true
- Boolean :
- SearchOption :
- # User enter an array of Strings. This is a text search against opportunities's
- # needed skills, i.e., skills: ["computer","child care"]
- String] : [
- # An array of container names used when sortCriteria is set to "container".
- # Opportunities will be sorted according to the order of these containers. Contact
- # VolunteerMatch for valid container names.
- String] : [
- # The sort criteria for the search result, if non specified, the default is
- # 'distanceBand'
- SortBy :
- # The the sort order of the search result. Supported values: asc or desc
- SortOrder :
- # The special flag tagged to this opportunity, currently only covid19 is supported
- String :
- # Represents checkboxes with four options: daytimeWeekdays, daytimeWeekends,
- # eveningWeekdays and eveningWeekends. Only the selected options are input and
- # displayed.
- Timeslot] : [
- # Opportunity Title
- String :
- # Search for opportunities updated on or after a certain date
- String :
- # Set to true if we want to include opportunities without a location
- Boolean :
- # Allows filtering of virtual opportunities by the region the organization is
- # located in. Ignored if virtual is false or omitted. Free-form organization
- # region text, i.e., virtualOrgRegion: "CA", or virtualOrgRegion: "94111". For
- # US-based locations, region will always resolve to a state.
- String :
- }