POST api/Journal/Create

Request Information

URI Parameters

None.

Body Parameters

JournalViewModel
NameDescriptionTypeAdditional information
ID

integer

None.

Number

integer

None.

Date

date

None.

Reference

string

None.

Currency

string

None.

ExchangeRate

decimal number

None.

Memo

string

None.

Workflow

integer

None.

WorkflowStatus

integer

None.

JournalDetailList

Collection of JournalDetailDataModel

None.

Request Formats

application/json, text/json

Sample:
{
  "ID": 1,
  "Number": 2,
  "Date": "2025-12-22T09:56:46.1697584+00:00",
  "Reference": "sample string 4",
  "Currency": "sample string 5",
  "ExchangeRate": 6.0,
  "Memo": "sample string 7",
  "Workflow": 1,
  "WorkflowStatus": 1,
  "JournalDetailList": [
    {
      "ID": 1,
      "CostCenter": "sample string 2",
      "Budget": "sample string 3",
      "ChartOfAccount": "sample string 4",
      "ContactAccount": 5,
      "Debit": 6.0,
      "Credit": 7.0
    },
    {
      "ID": 1,
      "CostCenter": "sample string 2",
      "Budget": "sample string 3",
      "ChartOfAccount": "sample string 4",
      "ContactAccount": 5,
      "Debit": 6.0,
      "Credit": 7.0
    }
  ]
}

application/xml, text/xml

Sample:
<JournalViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BizFramework.Web.Services.Areas.Accounting.ViewModel">
  <Currency>sample string 5</Currency>
  <Date>2025-12-22T09:56:46.1697584+00:00</Date>
  <ExchangeRate>6</ExchangeRate>
  <ID>1</ID>
  <JournalDetailList>
    <JournalDetailDataModel>
      <Budget>sample string 3</Budget>
      <ChartOfAccount>sample string 4</ChartOfAccount>
      <ContactAccount>5</ContactAccount>
      <CostCenter>sample string 2</CostCenter>
      <Credit>7</Credit>
      <Debit>6</Debit>
      <ID>1</ID>
    </JournalDetailDataModel>
    <JournalDetailDataModel>
      <Budget>sample string 3</Budget>
      <ChartOfAccount>sample string 4</ChartOfAccount>
      <ContactAccount>5</ContactAccount>
      <CostCenter>sample string 2</CostCenter>
      <Credit>7</Credit>
      <Debit>6</Debit>
      <ID>1</ID>
    </JournalDetailDataModel>
  </JournalDetailList>
  <Memo>sample string 7</Memo>
  <Number>2</Number>
  <Reference>sample string 4</Reference>
  <Workflow>1</Workflow>
  <WorkflowStatus>1</WorkflowStatus>
</JournalViewModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

integer

Response Formats

application/json, text/json

Sample:
1

application/xml, text/xml

Sample:
<int xmlns="http://schemas.microsoft.com/2003/10/Serialization/">1</int>