| Required role: | Business |
| GET | /staff/find_user_by_phonenumber |
|---|
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| PhoneNumber | query | string | Yes |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| User | form | BusinessUserDto | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| Id | form | long | No | |
| form | string | No | ||
| FirstName | form | string | No | |
| LastName | form | string | No | |
| MobilePhone | form | string | Yes | |
| LegalIdentityVerified | form | bool | No | |
| Locale | form | Locale | No |
| EnUs | |
| NbNo |
To override the Content-type in your clients, use the HTTP Accept Header, append the .other suffix or ?format=other
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
GET /staff/find_user_by_phonenumber HTTP/1.1 Host: business-api.brovs.com Accept: text/jsonl
HTTP/1.1 200 OK
Content-Type: text/jsonl
Content-Length: length
{"user":{"id":0,"email":"String","firstName":"String","lastName":"String","mobilePhone":"String","legalIdentityVerified":false,"locale":"EnUs"}}