POST api/Token/GetMandate

Get a mandate from the system

Request Information

URI Parameters

None.

Body Parameters

MandateTokenRequest
NameDescriptionTypeAdditional information
Token

string

None.

Request Formats

application/json, text/json

Sample:
{
  "Token": "sample string 1"
}

application/xml, text/xml

Sample:
<TokenController.MandateTokenRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Advania.Service.Authorization.Controllers">
  <Token>sample string 1</Token>
</TokenController.MandateTokenRequest>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

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": "5ca5a1ee-96d7-4125-aae9-1089fa23a0db",
  "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-07-01T06:53:15.3205056+00:00",
  "Signed": "2022-07-01T06:53:15.3205056+00:00",
  "ValidFrom": "2022-07-01T06:53:15.3205056+00:00",
  "ValidTo": "2022-07-01T06:53:15.3205056+00:00",
  "FormName": "sample string 4",
  "FormID": 5,
  "State": 0
}

application/xml, text/xml

Sample:
<MandateData xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Advania.Model.Authorization">
  <Added>2022-07-01T06:53:15.3205056+00:00</Added>
  <Data xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:KeyValueOfstringstring>
      <d2p1:Key>sample string 1</d2p1:Key>
      <d2p1:Value>sample string 2</d2p1:Value>
    </d2p1:KeyValueOfstringstring>
    <d2p1:KeyValueOfstringstring>
      <d2p1:Key>sample string 3</d2p1:Key>
      <d2p1:Value>sample string 4</d2p1:Value>
    </d2p1:KeyValueOfstringstring>
  </Data>
  <Document>QEA=</Document>
  <DocumentContent>sample string 2</DocumentContent>
  <FormID>5</FormID>
  <FormName>sample string 4</FormName>
  <GiverSSN xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:string>sample string 1</d2p1:string>
    <d2p1:string>sample string 2</d2p1:string>
  </GiverSSN>
  <HolderSSN xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:string>sample string 1</d2p1:string>
    <d2p1:string>sample string 2</d2p1:string>
  </HolderSSN>
  <ID>5ca5a1ee-96d7-4125-aae9-1089fa23a0db</ID>
  <OnbehalfSSN xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:string>sample string 1</d2p1:string>
    <d2p1:string>sample string 2</d2p1:string>
  </OnbehalfSSN>
  <Signed>2022-07-01T06:53:15.3205056+00:00</Signed>
  <State>Issuance</State>
  <ValidFrom>2022-07-01T06:53:15.3205056+00:00</ValidFrom>
  <ValidTo>2022-07-01T06:53:15.3205056+00:00</ValidTo>
</MandateData>