{% extends "_section.html" %} {% block uspc_section_class %}section-selected{% endblock %} {% block section_title %}USPC Mainclass{% endblock %} {% block section_title_plural %}USPC Mainclasses{% endblock %} {% block section_get_url %}/api/uspc_mainclasses/query?q{,f,o,s}{% endblock %} {% block section_post_url %}/api/uspc_mainclasses/query{% endblock %} {% block section_introduction %}
This will search for USPC (United States Patent Classification) mainclasses matching the query string (q) and returning the data fields listed in the field string (f) sorted by the fields in the sort string (s) using options provided in the option string (o).
{% endblock %} {% block section_query_example %} {"uspc_mainclass_id":"292"} {% endblock %} {% block section_field_defaults %} uspc_mainclass_id and uspc_mainclass_title {% endblock %} {% block section_field_example %} ["uspc_mainclass_id", "uspc_mainclass_title","uspc_total_num_patents"] {% endblock %} {% block section_sort_default %} uspc_mainclass_id {% endblock %} {% block section_sort_example %} [{"uspc_total_num_patents":"desc"}] {% endblock %} {% block section_get_url_example %} uspc_mainclasses/query?q={"uspc_mainclass_id":"292"}&f=["uspc_mainclass_id","uspc_mainclass_title","uspc_total_num_patents"] {% endblock %} {% block section_post_url_example %} uspc_mainclasses/query {% endblock %} {% block section_post_body_example %} {"q":{"uspc_mainclass_id":"292"},"f":["uspc_mainclass_id", "uspc_mainclass_title","uspc_total_num_patents"]} {% endblock %} {% block section_examples %}Return inventor names for patents whose assignee organization contains the word "Census", whose grant date is between 2000 and 2010, and whose USPC mainclass title contains the word "Electricity".