propertyFilter in URL to set a filter when entering a page

I would like to set a filter when entering a page.
As far as I have seen it is possible using this configuration in the destination page:

    <facets>
        <dataLoadCoordinator auto="true"/>
        <urlQueryParameters>
            <propertyFilter component="environmentFilter"/>
            <pagination component="pagination"/>
        </urlQueryParameters>
    </facets>
...
            <propertyFilter
                    id="environmentFilter"
                    property="environment"
                    operation="EQUAL"
                    dataLoader="myDl"
                    labelPosition="TOP"
                    label="msg://environmentFilter">
                <entityComboBox itemsContainer="environmentsDc" metaClass="Environment" width="35em">
                    ...
                </entityComboBox>
            </propertyFilter>

Unfortunately, I did not find anything about how the URL query parameters have to look like in the browser URL.
How does the URL look like? Is there a helper class to build the URL?

@krivopustov can you help with this?

First of all, you can set a filter configuration as a default, so it will be always selected when opening the view:

  <genericFilter id="genericFilter"
                 dataLoader="usersDl">
      <properties include=".*"/>
      <configurations>
          <configuration id="config1" default="true">
              <propertyFilter operation="EQUAL" property="department"/>
          </configuration>
      </configurations>
  </genericFilter>

You can also select a configuration by providing a URL query parameter {filterId}Configuration, where {filterId} is your generic filter component id.

For example, this is how to do it from the main menu:

<menu opened="true" id="application" ...>
    <item view="User.list" ...>
        <urlQueryParameters>
            <parameter name="genericFilterConfiguration" value="config1"/>
        </urlQueryParameters>
    </item>
</menu>

Programmatic navigation:

  viewNavigators.view(this, UserListView.class)
          .withQueryParameters(QueryParameters.of("genericFilterConfiguration", "config1"))
          .navigate();

Regards,
Konstantin