# Property Tax - Search Applications

**Objective:** To provide employees with the functionality to search Applications (whether Active or in workflow) based on

1. &#x20;Application No.
2. Property ID
3. &#x20;Owner’s Mobile No.
4. Application Type
5. &#x20;Application Status
6. &#x20;Create Between Dates

![](https://content.gitbook.com/content/OorNqx5By246mkjipsn7/blobs/YED3ajKo32D7PkjiHxHl/Screenshot%20from%202022-03-02%2020-22-59.png)

Users can view the application details page by clicking on the application number. The details page allows the employees to initiate and perform different workflow actions.

## **Technical Details**

Search application file link: <https://github.com/egovernments/DIGIT-Dev/blob/develop/frontend/micro-ui/web/micro-ui-internals/packages/modules/pt/src/components/SearchApplication.js>

The below hook is used to call the Property Search API and load the search result:

`1const { isLoading, isSuccess, isError, error, data: {Properties: searchReult, Count: count} = {} } = Digit.Hooks.pt.usePropertySearch( 2 { tenantId, 3 filters: payload 4 }, 5 config, 6 );`

Hook file path: <https://github.com/egovernments/DIGIT-Dev/blob/develop/frontend/micro-ui/web/micro-ui-internals/packages/modules/pt/src/pages/employee/SearchApp.js>

## &#x20;**Role Action Mapping**

<table data-header-hidden><thead><tr><th width="341.3359375"></th><th width="326.7122395833333"></th><th></th></tr></thead><tbody><tr><td><p></p><p><strong>Url</strong></p></td><td><strong>Role</strong></td><td><strong>Action Id</strong></td></tr><tr><td><code>/egov-location/location/v11/boundarys/_search</code></td><td><code>PTCEMP,FI,APPROVER,DV</code></td><td><code>1429</code></td></tr><tr><td><code>/property-services/property/_search</code></td><td><code>PTCEMP,FI,APPROVER,DV</code></td><td><code>1897</code></td></tr></tbody></table>
