POST api/{database}/Mandate

No Documentation Found.



Request Information

Parameters

NameDescriptionAdditional information
value No Documentation Found.

Define this parameter in the request body.

Request body formats

application/json, text/json

Sample:
{
  "messages": [],
  "bankAccountId": 1,
  "canChange": true,
  "cannotChangeReason": "sample string 3",
  "customerId": "sample string 4",
  "dateOfSignature": "sample string 5",
  "description": "sample string 6",
  "electronicSignature": "sample string 7",
  "existingMandate": true,
  "finished": true,
  "firstCollection": true,
  "kind": 0,
  "lastAccountholder": "sample string 11",
  "lastBic": "sample string 12",
  "lastBillerId": "sample string 13",
  "lastCollectionDate": "sample string 14",
  "lastIban": "sample string 15",
  "linkedSubscriptionIds": [
    "sample string 1",
    "sample string 2",
    "sample string 3"
  ],
  "mandateId": "sample string 16",
  "mandateType": 0,
  "oldMandateId": "sample string 17",
  "printCounter": 18,
  "toPrint": true
}

application/xml, text/xml

Sample:
<Mandate xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/UNIT4.Multivers.API.BL.Financial.Edit">
  <BankAccountId>1</BankAccountId>
  <CanChange>true</CanChange>
  <CannotChangeReason>sample string 3</CannotChangeReason>
  <CustomerId>sample string 4</CustomerId>
  <DateOfSignature>sample string 5</DateOfSignature>
  <Description>sample string 6</Description>
  <ElectronicSignature>sample string 7</ElectronicSignature>
  <ExistingMandate>true</ExistingMandate>
  <Finished>true</Finished>
  <FirstCollection>true</FirstCollection>
  <Kind>Recurrent</Kind>
  <LastAccountholder>sample string 11</LastAccountholder>
  <LastBic>sample string 12</LastBic>
  <LastBillerId>sample string 13</LastBillerId>
  <LastCollectionDate>sample string 14</LastCollectionDate>
  <LastIban>sample string 15</LastIban>
  <LinkedSubscriptionIds xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:string>sample string 1</d2p1:string>
    <d2p1:string>sample string 2</d2p1:string>
    <d2p1:string>sample string 3</d2p1:string>
  </LinkedSubscriptionIds>
  <MandateId>sample string 16</MandateId>
  <MandateType>Core</MandateType>
  <Messages xmlns:d2p1="http://schemas.datacontract.org/2004/07/UNIT4.Multivers.API.Web.WebApi.Core.Models" />
  <OldMandateId>sample string 17</OldMandateId>
  <PrintCounter>18</PrintCounter>
  <ToPrint>true</ToPrint>
</Mandate>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'MandateProxy'.

Response Information

Response body formats

application/json, text/json

Sample:
{
  "messages": [],
  "bankAccountId": 1,
  "canChange": true,
  "cannotChangeReason": "sample string 3",
  "customerId": "sample string 4",
  "dateOfSignature": "sample string 5",
  "description": "sample string 6",
  "electronicSignature": "sample string 7",
  "existingMandate": true,
  "finished": true,
  "firstCollection": true,
  "kind": 0,
  "lastAccountholder": "sample string 11",
  "lastBic": "sample string 12",
  "lastBillerId": "sample string 13",
  "lastCollectionDate": "sample string 14",
  "lastIban": "sample string 15",
  "linkedSubscriptionIds": [
    "sample string 1",
    "sample string 2",
    "sample string 3"
  ],
  "mandateId": "sample string 16",
  "mandateType": 0,
  "oldMandateId": "sample string 17",
  "printCounter": 18,
  "toPrint": true
}

application/xml, text/xml

Sample:
<Mandate xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/UNIT4.Multivers.API.BL.Financial.Edit">
  <BankAccountId>1</BankAccountId>
  <CanChange>true</CanChange>
  <CannotChangeReason>sample string 3</CannotChangeReason>
  <CustomerId>sample string 4</CustomerId>
  <DateOfSignature>sample string 5</DateOfSignature>
  <Description>sample string 6</Description>
  <ElectronicSignature>sample string 7</ElectronicSignature>
  <ExistingMandate>true</ExistingMandate>
  <Finished>true</Finished>
  <FirstCollection>true</FirstCollection>
  <Kind>Recurrent</Kind>
  <LastAccountholder>sample string 11</LastAccountholder>
  <LastBic>sample string 12</LastBic>
  <LastBillerId>sample string 13</LastBillerId>
  <LastCollectionDate>sample string 14</LastCollectionDate>
  <LastIban>sample string 15</LastIban>
  <LinkedSubscriptionIds xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:string>sample string 1</d2p1:string>
    <d2p1:string>sample string 2</d2p1:string>
    <d2p1:string>sample string 3</d2p1:string>
  </LinkedSubscriptionIds>
  <MandateId>sample string 16</MandateId>
  <MandateType>Core</MandateType>
  <Messages xmlns:d2p1="http://schemas.datacontract.org/2004/07/UNIT4.Multivers.API.Web.WebApi.Core.Models" />
  <OldMandateId>sample string 17</OldMandateId>
  <PrintCounter>18</PrintCounter>
  <ToPrint>true</ToPrint>
</Mandate>