Opportunity Application status count query
August 2nd, 2024
  • for opportunity application status aggregation count, a new query field is introduced on opportunity object applications_status_count and the previous one applications_status_facets is deprecated .
  • it will return a json response with status as key and count as value.
response example:
        "applications_status_count": {
            "matched": 1,
            "approved": 1,
            "withdrawn": 4,
            "rejected": 19,
            "open": 20
          },
example:
query GetMyOpportunities($page: Int, $per_page: Int, $q: String, $filters: OpportunityFilter) {
  myOpportunities(page: $page, per_page: $per_page, q: $q, filters: $filters) {
    paging {
      total_items
      total_pages
      current_page
      __typename
    }
    data {
        applicants_count
        applications_close_date
        applications_status_count
        id
        title
      __typename
    }
    __typename
  }
}

X
Crafted by