POST api/Token/GetMandate
Get a mandate from the system
Request Information
URI Parameters
None.
Body Parameters
The mandate request
MandateTokenRequestName | Description | Type | Additional 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
MandateDataName | Description | Type | Additional 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": "89101e33-8225-448f-8fa2-03634a68e436", "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": "2024-12-10T23:04:54.8126444+00:00", "Signed": "2024-12-10T23:04:54.8126444+00:00", "ValidFrom": "2024-12-10T23:04:54.8126444+00:00", "ValidTo": "2024-12-10T23:04:54.8126444+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>2024-12-10T23:04:54.8126444+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>89101e33-8225-448f-8fa2-03634a68e436</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>2024-12-10T23:04:54.8126444+00:00</Signed> <State>Issuance</State> <ValidFrom>2024-12-10T23:04:54.8126444+00:00</ValidFrom> <ValidTo>2024-12-10T23:04:54.8126444+00:00</ValidTo> </MandateData>