POST api/v1/Agent/SearchCode2
Söker fullmakt baserat på angiven kod. Returnerat svar innehåller mer data om fullmakterna än i SearchCode.
Allowed Roles
- Fullmaktshavare
Request Information
CodeSearchRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| PresenteePartyNumber |
Behörighetskontrollerande part nummer. |
string |
None. |
| Code |
Fullmaktshavarens kod för en angiven mottagande BKP. |
string |
None. |
| Skip |
Antalet koder att skippa. |
integer |
None. |
| Take |
Antalet koder att hämta, begränsad till 1000st. |
integer |
None. |
Request Formats
application/xml, text/xml
Sample:
<CodeSearchRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://api.fullmaktskollen.se/"> <Code>sample string 2</Code> <PresenteePartyNumber>sample string 1</PresenteePartyNumber> <Skip>3</Skip> <Take>4</Take> </CodeSearchRequest>
Response Information
Resource Description
CodeSearchResponse2| Name | Description | Type | Additional information |
|---|---|---|---|
| CodeDetail |
Lista med information om fullmakter. |
Collection of PoaCodeDetail2 |
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 fullmakter med matchande kod. |
integer |
None. |
Response Formats
application/xml, text/xml
Sample:
<CodeSearchResponse2 xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://api.fullmaktskollen.se/">
<CodeDetail>
<PoaCodeDetail2>
<Code>sample string 1</Code>
<PresenteePartyName>sample string 2</PresenteePartyName>
<PresenteePartyNumber>sample string 3</PresenteePartyNumber>
<PoaDetails2>
<PoaId>980b9314-40f5-46ba-a52a-9163724501e6</PoaId>
<Type>Unknown</Type>
<GrantorName>sample string 2</GrantorName>
<GrantorNumber>sample string 3</GrantorNumber>
<Contact1>
<Email>sample string 1</Email>
<FirstName>sample string 2</FirstName>
<LastName>sample string 3</LastName>
</Contact1>
<Contact2>
<Email>sample string 1</Email>
<FirstName>sample string 2</FirstName>
<LastName>sample string 3</LastName>
</Contact2>
</PoaDetails2>
</PoaCodeDetail2>
<PoaCodeDetail2>
<Code>sample string 1</Code>
<PresenteePartyName>sample string 2</PresenteePartyName>
<PresenteePartyNumber>sample string 3</PresenteePartyNumber>
<PoaDetails2>
<PoaId>980b9314-40f5-46ba-a52a-9163724501e6</PoaId>
<Type>Unknown</Type>
<GrantorName>sample string 2</GrantorName>
<GrantorNumber>sample string 3</GrantorNumber>
<Contact1>
<Email>sample string 1</Email>
<FirstName>sample string 2</FirstName>
<LastName>sample string 3</LastName>
</Contact1>
<Contact2>
<Email>sample string 1</Email>
<FirstName>sample string 2</FirstName>
<LastName>sample string 3</LastName>
</Contact2>
</PoaDetails2>
</PoaCodeDetail2>
</CodeDetail>
<ResponseCount>1</ResponseCount>
<Throttled>true</Throttled>
<TotalCount>3</TotalCount>
</CodeSearchResponse2>