POST Transaction/PostTransaction

Request Information

URI Parameters

None.

Body Parameters

Transactions
NameDescriptionTypeAdditional information
oLTransTypeUD

Collection of TransTypeUD

None.

oLTransFileTable

Collection of TransFileTable

None.

oLReceiptChequeUD

Collection of ReceiptChequeUD

None.

VoucherType

integer

None.

UserID

integer

None.

CompanyId

integer

None.

BranchId

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "oLTransTypeUD": [
    {
      "KeyId": "sample string 1",
      "TranNo": 2,
      "TranTypeNo": 3,
      "AccountNo": "sample string 4",
      "TranDate": "2025-10-29T05:45:24.7414255+03:00",
      "DAmount": 6.0,
      "CAmount": 7.0,
      "Notes": "sample string 8",
      "CreateDate": "2025-10-29T05:45:24.7414255+03:00",
      "UserName": "sample string 10",
      "CostsCentersNo": 11,
      "HeaderNotes": "sample string 12",
      "CurrencyID": 13,
      "AreaId": 14,
      "CityId": 15,
      "AgreementId": 16,
      "ReservationNo": "sample string 17"
    },
    {
      "KeyId": "sample string 1",
      "TranNo": 2,
      "TranTypeNo": 3,
      "AccountNo": "sample string 4",
      "TranDate": "2025-10-29T05:45:24.7414255+03:00",
      "DAmount": 6.0,
      "CAmount": 7.0,
      "Notes": "sample string 8",
      "CreateDate": "2025-10-29T05:45:24.7414255+03:00",
      "UserName": "sample string 10",
      "CostsCentersNo": 11,
      "HeaderNotes": "sample string 12",
      "CurrencyID": 13,
      "AreaId": 14,
      "CityId": 15,
      "AgreementId": 16,
      "ReservationNo": "sample string 17"
    }
  ],
  "oLTransFileTable": [
    {
      "ID": 1,
      "TranNo": 2,
      "TranTypeNo": 3,
      "Month": 4,
      "Year": 5,
      "Path": "sample string 6"
    },
    {
      "ID": 1,
      "TranNo": 2,
      "TranTypeNo": 3,
      "Month": 4,
      "Year": 5,
      "Path": "sample string 6"
    }
  ],
  "oLReceiptChequeUD": [
    {
      "TranNo": 1,
      "TranTypeNo": 2,
      "TranDate": "2025-10-29T05:45:24.7414255+03:00",
      "Branch": 4,
      "ReceivedFrom": "sample string 5",
      "DelegateID": 6,
      "Date": "2025-10-29T05:45:24.7414255+03:00",
      "Indicator": "sample string 8",
      "Total": 9.0,
      "IsChash": 10,
      "ChequeNumber": 11,
      "ChequeDate": "2025-10-29T05:45:24.7414255+03:00",
      "ChequeBank": "sample string 13",
      "DescriptionCode": "sample string 14"
    },
    {
      "TranNo": 1,
      "TranTypeNo": 2,
      "TranDate": "2025-10-29T05:45:24.7414255+03:00",
      "Branch": 4,
      "ReceivedFrom": "sample string 5",
      "DelegateID": 6,
      "Date": "2025-10-29T05:45:24.7414255+03:00",
      "Indicator": "sample string 8",
      "Total": 9.0,
      "IsChash": 10,
      "ChequeNumber": 11,
      "ChequeDate": "2025-10-29T05:45:24.7414255+03:00",
      "ChequeBank": "sample string 13",
      "DescriptionCode": "sample string 14"
    }
  ],
  "VoucherType": 1,
  "UserID": 2,
  "CompanyId": 3,
  "BranchId": 4
}

application/xml, text/xml

Sample:
<Transactions xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/POCO">
  <BranchId>4</BranchId>
  <CompanyId>3</CompanyId>
  <UserID>2</UserID>
  <VoucherType>1</VoucherType>
  <oLReceiptChequeUD>
    <ReceiptChequeUD>
      <Branch>4</Branch>
      <ChequeBank>sample string 13</ChequeBank>
      <ChequeDate>2025-10-29T05:45:24.7414255+03:00</ChequeDate>
      <ChequeNumber>11</ChequeNumber>
      <Date>2025-10-29T05:45:24.7414255+03:00</Date>
      <DelegateID>6</DelegateID>
      <DescriptionCode>sample string 14</DescriptionCode>
      <Indicator>sample string 8</Indicator>
      <IsChash>10</IsChash>
      <ReceivedFrom>sample string 5</ReceivedFrom>
      <Total>9</Total>
      <TranDate>2025-10-29T05:45:24.7414255+03:00</TranDate>
      <TranNo>1</TranNo>
      <TranTypeNo>2</TranTypeNo>
    </ReceiptChequeUD>
    <ReceiptChequeUD>
      <Branch>4</Branch>
      <ChequeBank>sample string 13</ChequeBank>
      <ChequeDate>2025-10-29T05:45:24.7414255+03:00</ChequeDate>
      <ChequeNumber>11</ChequeNumber>
      <Date>2025-10-29T05:45:24.7414255+03:00</Date>
      <DelegateID>6</DelegateID>
      <DescriptionCode>sample string 14</DescriptionCode>
      <Indicator>sample string 8</Indicator>
      <IsChash>10</IsChash>
      <ReceivedFrom>sample string 5</ReceivedFrom>
      <Total>9</Total>
      <TranDate>2025-10-29T05:45:24.7414255+03:00</TranDate>
      <TranNo>1</TranNo>
      <TranTypeNo>2</TranTypeNo>
    </ReceiptChequeUD>
  </oLReceiptChequeUD>
  <oLTransFileTable>
    <TransFileTable>
      <ID>1</ID>
      <Month>4</Month>
      <Path>sample string 6</Path>
      <TranNo>2</TranNo>
      <TranTypeNo>3</TranTypeNo>
      <Year>5</Year>
    </TransFileTable>
    <TransFileTable>
      <ID>1</ID>
      <Month>4</Month>
      <Path>sample string 6</Path>
      <TranNo>2</TranNo>
      <TranTypeNo>3</TranTypeNo>
      <Year>5</Year>
    </TransFileTable>
  </oLTransFileTable>
  <oLTransTypeUD>
    <TransTypeUD>
      <AccountNo>sample string 4</AccountNo>
      <AgreementId>16</AgreementId>
      <AreaId>14</AreaId>
      <CAmount>7</CAmount>
      <CityId>15</CityId>
      <CostsCentersNo>11</CostsCentersNo>
      <CreateDate>2025-10-29T05:45:24.7414255+03:00</CreateDate>
      <CurrencyID>13</CurrencyID>
      <DAmount>6</DAmount>
      <HeaderNotes>sample string 12</HeaderNotes>
      <KeyId>sample string 1</KeyId>
      <Notes>sample string 8</Notes>
      <ReservationNo>sample string 17</ReservationNo>
      <TranDate>2025-10-29T05:45:24.7414255+03:00</TranDate>
      <TranNo>2</TranNo>
      <TranTypeNo>3</TranTypeNo>
      <UserName>sample string 10</UserName>
    </TransTypeUD>
    <TransTypeUD>
      <AccountNo>sample string 4</AccountNo>
      <AgreementId>16</AgreementId>
      <AreaId>14</AreaId>
      <CAmount>7</CAmount>
      <CityId>15</CityId>
      <CostsCentersNo>11</CostsCentersNo>
      <CreateDate>2025-10-29T05:45:24.7414255+03:00</CreateDate>
      <CurrencyID>13</CurrencyID>
      <DAmount>6</DAmount>
      <HeaderNotes>sample string 12</HeaderNotes>
      <KeyId>sample string 1</KeyId>
      <Notes>sample string 8</Notes>
      <ReservationNo>sample string 17</ReservationNo>
      <TranDate>2025-10-29T05:45:24.7414255+03:00</TranDate>
      <TranNo>2</TranNo>
      <TranTypeNo>3</TranTypeNo>
      <UserName>sample string 10</UserName>
    </TransTypeUD>
  </oLTransTypeUD>
</Transactions>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

Response
NameDescriptionTypeAdditional information
ErrorCode

integer

None.

ErrorMessage

string

None.

IsScusses

boolean

None.

ResponseDetails

Object

None.

Response Formats

application/json, text/json

Sample:
{
  "ErrorCode": 1,
  "ErrorMessage": "sample string 2",
  "IsScusses": true,
  "ResponseDetails": {}
}

application/xml, text/xml

Sample:
<Response xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Accounting.API.Models">
  <ErrorCode>1</ErrorCode>
  <ErrorMessage>sample string 2</ErrorMessage>
  <IsScusses>true</IsScusses>
  <ResponseDetails />
</Response>