query_service Method
Queries an OData service using the specified parameters.
Syntax
def query_service() -> None: ...
Remarks
Queries an OData feed specified by service_root_uri and resource_path (service_root_uri/resource_path) using the query options specified in the Query*** properties and other_query_options. To fetch an OData feed, without performing any filtering, you can leave Query*** and other_query_options empty and call query_service.
The query results are delivered in the transferred_data property, as well as through the on_transfer event. The response headers can be retrieved via the parsed_headers property as well as through the on_header event.
The class will then attempt to parse the query results. Upon successfully parsing the response, channel will be set with their associated feed element values and entry_count will be populated with the total number of entries contained within the feed. entry_index will also be set to 1, thus populating entry_author, entry_e_tag, entry_title, entry_summary, entry_updated, entry_links,entry_properties and resource_path.