POST api/Mandate/GetMandates

Get mandates from the system with search criteria

Request Information

URI Parameters

None.

Body Parameters

The request

MandateRequest
NameDescriptionTypeAdditional information
MandateID

string

None.

GiverSSN

string

None.

HolderSSN

string

None.

OnBehalfSSN

string

None.

FromTime

date

None.

ToTime

date

None.

Username

string

None.

Password

string

None.

Request Formats

application/json, text/json

Sample:
{
  "MandateID": "sample string 1",
  "GiverSSN": "sample string 2",
  "HolderSSN": "sample string 3",
  "OnBehalfSSN": "sample string 4",
  "FromTime": "2022-06-30T18:56:21.2989582+00:00",
  "ToTime": "2022-06-30T18:56:21.2989582+00:00",
  "Username": "sample string 5",
  "Password": "sample string 6"
}

application/xml, text/xml

Sample:
<MandateRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Advania.Model.Authorization">
  <Password>sample string 6</Password>
  <Username>sample string 5</Username>
  <FromTime>2022-06-30T18:56:21.2989582+00:00</FromTime>
  <GiverSSN>sample string 2</GiverSSN>
  <HolderSSN>sample string 3</HolderSSN>
  <MandateID>sample string 1</MandateID>
  <OnBehalfSSN>sample string 4</OnBehalfSSN>
  <ToTime>2022-06-30T18:56:21.2989582+00:00</ToTime>
</MandateRequest>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

Collection of MandateData
NameDescriptionTypeAdditional information
ID

globally unique identifier

None.

HolderSSN

Collection of string

None.

OnbehalfSSN

Collection of string

None.

GiverSSN

Collection of string

None.

Document

Collection of byte

None.

DocumentContent

string

None.

Data

Dictionary of string [key] and string [value]

None.

Added

date

None.

Signed

date

None.

ValidFrom

date

None.

ValidTo

date

None.

FormName

string

None.

FormID

integer

None.

State

AuthorizationState

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "ID": "283d3c35-516a-4e3b-9d70-1d6f18fb8b06",
    "HolderSSN": [
      "sample string 1",
      "sample string 2"
    ],
    "OnbehalfSSN": [
      "sample string 1",
      "sample string 2"
    ],
    "GiverSSN": [
      "sample string 1",
      "sample string 2"
    ],
    "Document": "QEA=",
    "DocumentContent": "sample string 2",
    "Data": {
      "sample string 1": "sample string 2",
      "sample string 3": "sample string 4"
    },
    "Added": "2022-06-30T18:56:21.330255+00:00",
    "Signed": "2022-06-30T18:56:21.330255+00:00",
    "ValidFrom": "2022-06-30T18:56:21.330255+00:00",
    "ValidTo": "2022-06-30T18:56:21.330255+00:00",
    "FormName": "sample string 4",
    "FormID": 5,
    "State": 0
  },
  {
    "ID": "283d3c35-516a-4e3b-9d70-1d6f18fb8b06",
    "HolderSSN": [
      "sample string 1",
      "sample string 2"
    ],
    "OnbehalfSSN": [
      "sample string 1",
      "sample string 2"
    ],
    "GiverSSN": [
      "sample string 1",
      "sample string 2"
    ],
    "Document": "QEA=",
    "DocumentContent": "sample string 2",
    "Data": {
      "sample string 1": "sample string 2",
      "sample string 3": "sample string 4"
    },
    "Added": "2022-06-30T18:56:21.330255+00:00",
    "Signed": "2022-06-30T18:56:21.330255+00:00",
    "ValidFrom": "2022-06-30T18:56:21.330255+00:00",
    "ValidTo": "2022-06-30T18:56:21.330255+00:00",
    "FormName": "sample string 4",
    "FormID": 5,
    "State": 0
  }
]

application/xml, text/xml

Sample:
<ArrayOfMandateData xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Advania.Model.Authorization">
  <MandateData>
    <Added>2022-06-30T18:56:21.330255+00:00</Added>
    <Data xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
      <d3p1:KeyValueOfstringstring>
        <d3p1:Key>sample string 1</d3p1:Key>
        <d3p1:Value>sample string 2</d3p1:Value>
      </d3p1:KeyValueOfstringstring>
      <d3p1:KeyValueOfstringstring>
        <d3p1:Key>sample string 3</d3p1:Key>
        <d3p1:Value>sample string 4</d3p1:Value>
      </d3p1:KeyValueOfstringstring>
    </Data>
    <Document>QEA=</Document>
    <DocumentContent>sample string 2</DocumentContent>
    <FormID>5</FormID>
    <FormName>sample string 4</FormName>
    <GiverSSN xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
      <d3p1:string>sample string 1</d3p1:string>
      <d3p1:string>sample string 2</d3p1:string>
    </GiverSSN>
    <HolderSSN xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
      <d3p1:string>sample string 1</d3p1:string>
      <d3p1:string>sample string 2</d3p1:string>
    </HolderSSN>
    <ID>283d3c35-516a-4e3b-9d70-1d6f18fb8b06</ID>
    <OnbehalfSSN xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
      <d3p1:string>sample string 1</d3p1:string>
      <d3p1:string>sample string 2</d3p1:string>
    </OnbehalfSSN>
    <Signed>2022-06-30T18:56:21.330255+00:00</Signed>
    <State>Issuance</State>
    <ValidFrom>2022-06-30T18:56:21.330255+00:00</ValidFrom>
    <ValidTo>2022-06-30T18:56:21.330255+00:00</ValidTo>
  </MandateData>
  <MandateData>
    <Added>2022-06-30T18:56:21.330255+00:00</Added>
    <Data xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
      <d3p1:KeyValueOfstringstring>
        <d3p1:Key>sample string 1</d3p1:Key>
        <d3p1:Value>sample string 2</d3p1:Value>
      </d3p1:KeyValueOfstringstring>
      <d3p1:KeyValueOfstringstring>
        <d3p1:Key>sample string 3</d3p1:Key>
        <d3p1:Value>sample string 4</d3p1:Value>
      </d3p1:KeyValueOfstringstring>
    </Data>
    <Document>QEA=</Document>
    <DocumentContent>sample string 2</DocumentContent>
    <FormID>5</FormID>
    <FormName>sample string 4</FormName>
    <GiverSSN xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
      <d3p1:string>sample string 1</d3p1:string>
      <d3p1:string>sample string 2</d3p1:string>
    </GiverSSN>
    <HolderSSN xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
      <d3p1:string>sample string 1</d3p1:string>
      <d3p1:string>sample string 2</d3p1:string>
    </HolderSSN>
    <ID>283d3c35-516a-4e3b-9d70-1d6f18fb8b06</ID>
    <OnbehalfSSN xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
      <d3p1:string>sample string 1</d3p1:string>
      <d3p1:string>sample string 2</d3p1:string>
    </OnbehalfSSN>
    <Signed>2022-06-30T18:56:21.330255+00:00</Signed>
    <State>Issuance</State>
    <ValidFrom>2022-06-30T18:56:21.330255+00:00</ValidFrom>
    <ValidTo>2022-06-30T18:56:21.330255+00:00</ValidTo>
  </MandateData>
</ArrayOfMandateData>