POST Financial/AddFinancialBookingWithMutations

Maak een financiele dagboek boeking met mutaties aan

Request Information

URI Parameters

None.

Body Parameters

Financieel dagboek

FinancialBookBooking
NameDescriptionTypeAdditional information
FreeValue1

Vrij veld 1

string

None.

FreeValue2

Vrij veld 2

string

None.

FreeValue3

Vrij veld 3

string

None.

Description

Omschrijving

string

String length: inclusive between 3 and 200

Reference

Referentie

string

String length: inclusive between 3 and 200

BookingDateTime

Datum + tijd

date

Required

FinancialBookId

Dagboeknummer

integer

Required

Mutations

Mutaties

Collection of FinancialBookBookingMutation

None.

Request Formats

application/json, text/json

Sample:
{
  "FreeValue1": "sample string 1",
  "FreeValue2": "sample string 2",
  "FreeValue3": "sample string 3",
  "Description": "sample string 4",
  "Reference": "sample string 5",
  "BookingDateTime": "2020-09-22T13:08:46.6564308+02:00",
  "FinancialBookId": 7,
  "Mutations": [
    {
      "BookingDateTime": "2020-09-22T13:08:46.6574378+02:00",
      "AmountIncl": 2.0,
      "DebtorId": 1,
      "CreditorId": 1,
      "PaymentMethodId": 1
    },
    {
      "BookingDateTime": "2020-09-22T13:08:46.6574378+02:00",
      "AmountIncl": 2.0,
      "DebtorId": 1,
      "CreditorId": 1,
      "PaymentMethodId": 1
    }
  ]
}

application/xml, text/xml

Sample:
<FinancialBookBooking xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Webware.Logic4.Classes.Models">
  <BookingDateTime>2020-09-22T13:08:46.6564308+02:00</BookingDateTime>
  <Description>sample string 4</Description>
  <FinancialBookId>7</FinancialBookId>
  <FreeValue1>sample string 1</FreeValue1>
  <FreeValue2>sample string 2</FreeValue2>
  <FreeValue3>sample string 3</FreeValue3>
  <Mutations>
    <FinancialBookBookingMutation>
      <AmountIncl>2</AmountIncl>
      <BookingDateTime>2020-09-22T13:08:46.6574378+02:00</BookingDateTime>
      <CreditorId>1</CreditorId>
      <DebtorId>1</DebtorId>
      <PaymentMethodId>1</PaymentMethodId>
    </FinancialBookBookingMutation>
    <FinancialBookBookingMutation>
      <AmountIncl>2</AmountIncl>
      <BookingDateTime>2020-09-22T13:08:46.6574378+02:00</BookingDateTime>
      <CreditorId>1</CreditorId>
      <DebtorId>1</DebtorId>
      <PaymentMethodId>1</PaymentMethodId>
    </FinancialBookBookingMutation>
  </Mutations>
  <Reference>sample string 5</Reference>
</FinancialBookBooking>

Response Information

Resource Description

Logic4ResponseOfBoolean
NameDescriptionTypeAdditional information
Value

boolean

None.

ValidationMessages

Eventuele foutmeldingen

Collection of string

None.

Response Formats

application/json, text/json

Sample:
{
  "Value": true,
  "ValidationMessages": [
    "sample string 1",
    "sample string 2"
  ]
}

application/xml, text/xml

Sample:
<Logic4ResponseOfboolean xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Webware.Logic4.Classes.ResponseModels">
  <ValidationMessages xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:string>sample string 1</d2p1:string>
    <d2p1:string>sample string 2</d2p1:string>
  </ValidationMessages>
  <Value>true</Value>
</Logic4ResponseOfboolean>