Update a Journal Entry By Code
PUT
/v{version}/journalentry/UpdateByCode/{journalEntryCode}Create Journal Entry...
Request
Path Params
journalEntryCode
string
required
version
string
required
The requested API version
Default:
2.0
Body Params application/x-www-form-urlencoded
id
integer <int32>
optional
Gets or Sets Id
document_code
string
optional
Gets or Sets DocumentCode
main_account_id
integer <int32>
optional
isposted
string
optional
Gets or Sets IsPosted
document_date
string <date-time>
required
Gets or Sets DocumentDate
paper_number
string
optional
Gets or Sets PaperNumber
responsible_id
integer <int32>
optional
Gets or Sets ResponsibleId
notes
string
optional
Gets or Sets Notes
currency_id
integer <int32>
optional
Gets or Sets CurrencyId
exchange_rate
number <double>
optional
Gets or Sets Notes
sales_order_to_pay
string
optional
Gets or Sets SalesOrderDetails
is_system_document
boolean
optional
Gets or Sets IsSystemDocument
accountingdocument_details
array[object (AccountingDocumentDetailViewModel) {10}]
required
Gets or Sets SalesOrderDetails
id
integer <int32>
optional
Gets or Sets Id
document_header_id
integer <int32>
optional
Gets or Sets DocumentHeaderId
account_id
integer <int32>
optional
Gets or Sets AccountId
cost_center_id
integer <int32>
optional
Gets or Sets CostCenterId
amount
number <double>
optional
Gets or Sets Amount
amount_status
string
required
Gets or Sets AmountStatus
comments
string
optional
Gets or Sets Comments
customer_id
integer <int32>
optional
Gets or Sets CustomerId
supplier_id
integer <int32>
optional
Gets or Sets SupplierId
row_state
string
optional
Gets or Sets RowState
Request samples
Responses
OK(200)
Bad Request(400)
Unauthorized(401)
Forbidden(403)
Server Error(500)
HTTP Code: 200
Content Type : JSONapplication/json
OK
Data Schema
status_code
integer <int32>
optional
Gets or sets the status_code.
error_message
string
optional
Gets or sets the error_message.
result
boolean
optional
Gets or sets the result.
total_count
integer <int32>
optional
Example
Not configured
Last modified: 5 days ago