POST api/CashOperation/AddCashOperation

Request Information

URI Parameters

None.

Body Parameters

CashOperation
NameDescriptionTypeAdditional information
CashOperationHeader

CashOperationHeader

None.

CashOperationList

CashOperationItemsList

None.

CashOperationNotes

CashOperationNotes

None.

CashOperationFooter

CashOperationFooter

None.

Request Formats

application/xml, text/xml

Sample:
<CashOperation xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
  <CashOperationHeader>
    <CashRegisterID>sample string 1</CashRegisterID>
    <CashOperationDate>2024-11-21T14:42:49.3591548+01:00</CashOperationDate>
    <CashOperationType>sample string 2</CashOperationType>
    <CashierID>sample string 3</CashierID>
    <CashierName>sample string 4</CashierName>
    <CustomerID>sample string 5</CustomerID>
    <CostCenterID>sample string 6</CostCenterID>
    <CostDriverID>sample string 7</CostDriverID>
    <ClerkID>sample string 8</ClerkID>
    <Analytic_AN1_ID>sample string 9</Analytic_AN1_ID>
    <Analytic_AN2_ID>sample string 10</Analytic_AN2_ID>
    <Analytic_AN3_ID>sample string 11</Analytic_AN3_ID>
    <WorkOrder>sample string 12</WorkOrder>
    <BookKeepingNote>sample string 13</BookKeepingNote>
    <UnpaidInvoices>sample string 14</UnpaidInvoices>
    <InvoiceAmountOriginalCurrency>sample string 15</InvoiceAmountOriginalCurrency>
    <CashOperationAttachment1>sample string 16</CashOperationAttachment1>
    <CashOperationAttachment2>sample string 17</CashOperationAttachment2>
    <CashOperationJournal>sample string 18</CashOperationJournal>
  </CashOperationHeader>
  <CashOperationList>
    <Line>
      <CashOperationClass>sample string 1</CashOperationClass>
      <Currency>sample string 2</Currency>
      <HomeCurrencyValue>1</HomeCurrencyValue>
      <ForeignCurrencyValue>1</ForeignCurrencyValue>
      <AccountID>sample string 3</AccountID>
      <ReferenceDocument>sample string 4</ReferenceDocument>
      <LinkToOrigin>sample string 5</LinkToOrigin>
      <LinkToYear>sample string 6</LinkToYear>
      <LinkToUser>sample string 7</LinkToUser>
      <LinkToBook>sample string 8</LinkToBook>
      <LinkToNumber>sample string 9</LinkToNumber>
      <JournalEntryNumber>sample string 10</JournalEntryNumber>
      <CostCenterID>sample string 11</CostCenterID>
      <CostDriverID>sample string 12</CostDriverID>
      <Analytic_AN1_ID>sample string 13</Analytic_AN1_ID>
      <Analytic_AN2_ID>sample string 14</Analytic_AN2_ID>
      <Analytic_AN3_ID>sample string 15</Analytic_AN3_ID>
      <ClerkID>sample string 16</ClerkID>
      <WorkOrder>sample string 17</WorkOrder>
    </Line>
    <Line>
      <CashOperationClass>sample string 1</CashOperationClass>
      <Currency>sample string 2</Currency>
      <HomeCurrencyValue>1</HomeCurrencyValue>
      <ForeignCurrencyValue>1</ForeignCurrencyValue>
      <AccountID>sample string 3</AccountID>
      <ReferenceDocument>sample string 4</ReferenceDocument>
      <LinkToOrigin>sample string 5</LinkToOrigin>
      <LinkToYear>sample string 6</LinkToYear>
      <LinkToUser>sample string 7</LinkToUser>
      <LinkToBook>sample string 8</LinkToBook>
      <LinkToNumber>sample string 9</LinkToNumber>
      <JournalEntryNumber>sample string 10</JournalEntryNumber>
      <CostCenterID>sample string 11</CostCenterID>
      <CostDriverID>sample string 12</CostDriverID>
      <Analytic_AN1_ID>sample string 13</Analytic_AN1_ID>
      <Analytic_AN2_ID>sample string 14</Analytic_AN2_ID>
      <Analytic_AN3_ID>sample string 15</Analytic_AN3_ID>
      <ClerkID>sample string 16</ClerkID>
      <WorkOrder>sample string 17</WorkOrder>
    </Line>
  </CashOperationList>
  <CashOperationNotes>
    <NoteText>sample string 1</NoteText>
  </CashOperationNotes>
  <CashOperationFooter>
    <Line>
      <PaymentMethod>sample string 1</PaymentMethod>
      <PaymentTotal>1</PaymentTotal>
      <PaymentTotalForeign>1</PaymentTotalForeign>
    </Line>
    <Line>
      <PaymentMethod>sample string 1</PaymentMethod>
      <PaymentTotal>1</PaymentTotal>
      <PaymentTotalForeign>1</PaymentTotalForeign>
    </Line>
  </CashOperationFooter>
</CashOperation>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

CreateResult
NameDescriptionTypeAdditional information
Keys

Collection of EntityKeyField

None.

ResultCode

ExternalResultCode

None.

Errors

Collection of Error

None.

Response Formats

application/xml, text/xml

Sample:
<CreateResult xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
  <Keys>
    <Key>
      <Name>sample string 1</Name>
      <Value>sample string 2</Value>
    </Key>
    <Key>
      <Name>sample string 1</Name>
      <Value>sample string 2</Value>
    </Key>
  </Keys>
  <ResultCode>None</ResultCode>
  <Errors>
    <Error>
      <Level>Warning</Level>
      <Message>sample string 1</Message>
    </Error>
    <Error>
      <Level>Warning</Level>
      <Message>sample string 1</Message>
    </Error>
  </Errors>
</CreateResult>