POST api/v1/Agent/SearchContact
Söker fullmakt baserat på angiven kontaktuppgift.
Allowed Roles
- Fullmaktshavare
Request Information
ContactSearchRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| FirstName |
Namn att söka efter. |
string |
None. |
| LastName |
Efternamn att söka efter. |
string |
None. |
|
E-post att söka efter. |
string |
None. |
|
| Skip |
Antalet kontakter att skippa. |
integer |
None. |
| Take |
Antalet kontakter att hämta, begränsad till 1000st. |
integer |
None. |
Request Formats
application/xml, text/xml
Sample:
<ContactSearchRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://api.fullmaktskollen.se/"> <Email>sample string 3</Email> <FirstName>sample string 1</FirstName> <LastName>sample string 2</LastName> <Skip>4</Skip> <Take>5</Take> </ContactSearchRequest>
Response Information
Resource Description
ContactSearchResponse| Name | Description | Type | Additional information |
|---|---|---|---|
| Contacts |
Lista med information om kontakter. |
Collection of ContactDetails |
None. |
| ResponseCount |
Antal rader i svaret. |
integer |
None. |
| Throttled |
Om svaret är begränsat till max 1000 rader eller inte. |
boolean |
None. |
| TotalCount |
Totala antalet kontaktuppgifter. |
integer |
None. |
Response Formats
application/xml, text/xml
Sample:
<ContactSearchResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://api.fullmaktskollen.se/">
<Contacts>
<ContactDetails>
<FirstName>sample string 1</FirstName>
<LastName>sample string 2</LastName>
<Email>sample string 3</Email>
<ContactRole>Unknown</ContactRole>
<PoaDetails>
<PoaId>85cb6e0e-3a10-45a2-a903-b0972cbe7666</PoaId>
<GrantorName>sample string 2</GrantorName>
<GrantorNumber>sample string 3</GrantorNumber>
</PoaDetails>
</ContactDetails>
<ContactDetails>
<FirstName>sample string 1</FirstName>
<LastName>sample string 2</LastName>
<Email>sample string 3</Email>
<ContactRole>Unknown</ContactRole>
<PoaDetails>
<PoaId>85cb6e0e-3a10-45a2-a903-b0972cbe7666</PoaId>
<GrantorName>sample string 2</GrantorName>
<GrantorNumber>sample string 3</GrantorNumber>
</PoaDetails>
</ContactDetails>
</Contacts>
<ResponseCount>1</ResponseCount>
<Throttled>true</Throttled>
<TotalCount>3</TotalCount>
</ContactSearchResponse>