Function ehelply::apis::places_api::search_places
source · [−]pub async fn search_places(
configuration: &Configuration,
project_uuid: Option<&str>,
name: Option<&str>,
address_line_1: Option<&str>,
address_line_2: Option<&str>,
city: Option<&str>,
province_state: Option<&str>,
country: Option<&str>,
postal_zip_code: Option<&str>,
lat: Option<&str>,
lng: Option<&str>,
email: Option<&str>,
is_public: Option<bool>,
is_deleted: Option<bool>,
with_company: Option<bool>,
with_meta: Option<bool>,
with_catalog: Option<bool>,
with_reviews: Option<bool>,
with_schedule: Option<bool>,
with_collection: Option<bool>,
with_blog: Option<bool>,
with_tags: Option<bool>,
with_categories: Option<bool>,
page: Option<i32>,
page_size: Option<i32>,
sort_on: Option<&str>,
sort_desc: Option<bool>,
x_access_token: Option<&str>,
x_secret_token: Option<&str>,
authorization: Option<&str>,
ehelply_active_participant: Option<&str>,
ehelply_project: Option<&str>,
ehelply_data: Option<&str>
) -> Result<Page, Error<SearchPlacesError>>
Expand description
Search all places and returns paginated results with Places being stored in items field. Can search by project_uuid, name, address, address_line_2, city, province_state, country, postal_zip_code, lat, lng email
string fields or the is_public and is_deleted
boolean fields. To search with these fields use query params with string values. For sorting fill out "sort_desc" field with either true/false and the "sort_on" query parameter with column you want to sort on (ex: name). Max pagination items per page is 50. Item return format: { uuid **type:** string project_uuid **type:** string or None meta_uuid **type:** string or None catalog_data **type:** dict or None review_group_data **type:** dict or None schedule_data **type:** dict or None collection_data **type:** dict or None blog_data **type:** dict or None tags **type:** [TagBase] or None categories **type:** [CategoryBase] or None company **type:** CompanyBase or None created_at **type:** string or None updated_at **type:** string or None deleted_at **type:** string or None }