PUT api/{database}/Mandate/{mandateId}

Updates the specified Mandate



Request Information

Parameters

NameDescriptionAdditional information
mandateId The mandateId.

Define this parameter in the request URI.

value The updated values for Mandate.

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",
  "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>
  <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:

Sample not available.

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",
  "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>
  <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>