POST api/v1/Agent/SearchCode
Söker fullmakt baserat på angiven kod.
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
CodeSearchResponse| Name | Description | Type | Additional information | 
|---|---|---|---|
| CodeDetail | Lista med information om fullmakter. | Collection of PoaCodeDetail | 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:
<CodeSearchResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://api.fullmaktskollen.se/">
  <CodeDetail>
    <PoaCodeDetail>
      <Code>sample string 1</Code>
      <PresenteePartyName>sample string 2</PresenteePartyName>
      <PresenteePartyNumber>sample string 3</PresenteePartyNumber>
      <PoaDetails>
        <PoaId>130a287d-cc9c-4b10-a244-53b137c8279c</PoaId>
        <GrantorName>sample string 2</GrantorName>
        <GrantorNumber>sample string 3</GrantorNumber>
      </PoaDetails>
    </PoaCodeDetail>
    <PoaCodeDetail>
      <Code>sample string 1</Code>
      <PresenteePartyName>sample string 2</PresenteePartyName>
      <PresenteePartyNumber>sample string 3</PresenteePartyNumber>
      <PoaDetails>
        <PoaId>130a287d-cc9c-4b10-a244-53b137c8279c</PoaId>
        <GrantorName>sample string 2</GrantorName>
        <GrantorNumber>sample string 3</GrantorNumber>
      </PoaDetails>
    </PoaCodeDetail>
  </CodeDetail>
  <ResponseCount>1</ResponseCount>
  <Throttled>true</Throttled>
  <TotalCount>3</TotalCount>
</CodeSearchResponse>