POST api/Mandate/SaveMandate

Save a mandate to the system

Request Information

URI Parameters

None.

Body Parameters

SaveMandateRequest
NameDescriptionTypeAdditional information
MandateID

string

None.

FormID

integer

None.

Givers

Collection of string

None.

ExtraAttribute

string

None.

Receivers

Collection of string

None.

OnBehalfs

Collection of string

None.

Username

string

None.

Password

string

None.

Request Formats

application/json, text/json

Sample:
{
  "MandateID": "sample string 1",
  "FormID": 2,
  "Givers": [
    "sample string 1",
    "sample string 2"
  ],
  "ExtraAttribute": "sample string 3",
  "Receivers": [
    "sample string 1",
    "sample string 2"
  ],
  "OnBehalfs": [
    "sample string 1",
    "sample string 2"
  ],
  "Username": "sample string 4",
  "Password": "sample string 5"
}

application/xml, text/xml

Sample:
<SaveMandateRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Advania.Model.Authorization">
  <Password>sample string 5</Password>
  <Username>sample string 4</Username>
  <ExtraAttribute>sample string 3</ExtraAttribute>
  <FormID>2</FormID>
  <Givers xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:string>sample string 1</d2p1:string>
    <d2p1:string>sample string 2</d2p1:string>
  </Givers>
  <MandateID>sample string 1</MandateID>
  <OnBehalfs xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:string>sample string 1</d2p1:string>
    <d2p1:string>sample string 2</d2p1:string>
  </OnBehalfs>
  <Receivers xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:string>sample string 1</d2p1:string>
    <d2p1:string>sample string 2</d2p1:string>
  </Receivers>
</SaveMandateRequest>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

string

Response Formats

application/json, text/json

Sample:
"sample string 1"

application/xml, text/xml

Sample:
<string xmlns="http://schemas.microsoft.com/2003/10/Serialization/">sample string 1</string>