POST api/journalentries
Add Journal Entry
Request Information
URI Parameters
None.
Body Parameters
Journal Entry
DI_JournalEntry| Name | Description | Type | Additional information |
|---|---|---|---|
| SeriesCode |
קוד סדרה - או להשאיר ריק ולשים שם סדרה |
integer |
None. |
| SeriesName |
שם הסדרה -או להשאיר ריק לפי קוד במידה וריק יכנס ברירת המחדל בסאפ |
string |
String length: inclusive between 0 and 16 |
| Indicator | string |
String length: inclusive between 0 and 50 |
|
| Memo |
הערות לתנועה |
string |
String length: inclusive between 0 and 50 |
| ProjectCode |
קוד פרוייקט |
string |
String length: inclusive between 0 and 8 |
| Reference1 |
אסמכתא 1 |
string |
String length: inclusive between 0 and 11 |
| Reference2 |
אסמכתא 2 |
string |
String length: inclusive between 0 and 11 |
| Reference3 |
אסמכתא 3 |
string |
String length: inclusive between 0 and 11 |
| RefDate |
תאריך אסמכתא |
date |
None. |
| TaxDate |
תאריך מס |
date |
None. |
| DueDate |
תאריך ערך |
date |
None. |
| VatDate |
תאריך חיוב למעמ |
date |
None. |
| TransactionCode |
קוד פעולה |
string |
String length: inclusive between 0 and 4 |
| Lines |
שורות התנועה - חייב להיות איזון |
Collection of JournalEntryLine |
None. |
| DI_Orgin |
קביעת קוד מקור הנתונים כאשר יכנס לסאפ - ברירת המחדל (API- 999) מתוך רשימה שקיימת בסאפ |
integer |
Range: inclusive between 901 and 2147483647 |
| UDF |
שדות משתמש |
Collection of ColumnUDF |
None. |
Request Formats
application/json, text/json
{
"SeriesCode": 1,
"SeriesName": "sample string 1",
"Indicator": "sample string 2",
"Memo": "sample string 3",
"ProjectCode": "sample string 4",
"Reference1": "sample string 5",
"Reference2": "sample string 6",
"Reference3": "sample string 7",
"RefDate": "2026-11-26T10:36:10.1113261+02:00",
"TaxDate": "2026-11-26T10:36:10.1113261+02:00",
"DueDate": "2026-11-26T10:36:10.1113261+02:00",
"VatDate": "2026-11-26T10:36:10.1113261+02:00",
"TransactionCode": "sample string 8",
"Lines": [
{
"AccountCode": "sample string 1",
"ShortName": "sample string 2",
"ContraAccount": "sample string 3",
"CostingCode": "sample string 4",
"Reference1": "sample string 5",
"Reference2": "sample string 6",
"Reference3": "sample string 7",
"Debit": 1.1,
"Credit": 1.1,
"FCDebit": 1.1,
"FCCredit": 1.1,
"DebitSys": 1.1,
"CreditSys": 1.1,
"FCCurrency": "sample string 8",
"LineMemo": "sample string 9",
"ProjectCode": "sample string 10",
"RefDate": "2026-11-26T10:36:10.1113261+02:00",
"DueDate": "2026-11-26T10:36:10.1113261+02:00",
"TaxDate": "2026-11-26T10:36:10.1113261+02:00",
"VatDate": "2026-11-26T10:36:10.1113261+02:00",
"UDF": [
{
"Name": "sample string 1",
"Value": "sample string 2",
"DataType": "Number"
},
{
"Name": "sample string 1",
"Value": "sample string 2",
"DataType": "Number"
}
]
},
{
"AccountCode": "sample string 1",
"ShortName": "sample string 2",
"ContraAccount": "sample string 3",
"CostingCode": "sample string 4",
"Reference1": "sample string 5",
"Reference2": "sample string 6",
"Reference3": "sample string 7",
"Debit": 1.1,
"Credit": 1.1,
"FCDebit": 1.1,
"FCCredit": 1.1,
"DebitSys": 1.1,
"CreditSys": 1.1,
"FCCurrency": "sample string 8",
"LineMemo": "sample string 9",
"ProjectCode": "sample string 10",
"RefDate": "2026-11-26T10:36:10.1113261+02:00",
"DueDate": "2026-11-26T10:36:10.1113261+02:00",
"TaxDate": "2026-11-26T10:36:10.1113261+02:00",
"VatDate": "2026-11-26T10:36:10.1113261+02:00",
"UDF": [
{
"Name": "sample string 1",
"Value": "sample string 2",
"DataType": "Number"
},
{
"Name": "sample string 1",
"Value": "sample string 2",
"DataType": "Number"
}
]
}
],
"DI_Orgin": 1,
"UDF": [
{
"Name": "sample string 1",
"Value": "sample string 2",
"DataType": "Number"
},
{
"Name": "sample string 1",
"Value": "sample string 2",
"DataType": "Number"
}
]
}
application/x-www-form-urlencoded
Sample not available.
Response Information
Resource Description
The result with new opertion id
ResultDI| Name | Description | Type | Additional information |
|---|---|---|---|
| OpersionId |
קוד זיהוי |
integer |
None. |
| ObjectDI |
סוג אובייקט DI |
WebObjectEnum |
None. |
| Action |
סוג פעולת DI |
ActionEnum |
None. |
| Status |
סטאטוס DI |
StatusEnum |
None. |
| StatusDescription |
תאור סטאטוס |
string |
None. |
| ResultObjectNumber |
קוד התוצאה של האובייקט שנוצר בסאפ |
string |
None. |
| ResultDate |
תאריך ביצוע התוצאה בסאפ |
date |
None. |
Response Formats
application/json, text/json
{
"OpersionId": 1,
"ObjectDI": "None",
"Action": "Add",
"Status": "Waiting",
"StatusDescription": "sample string 2",
"ResultObjectNumber": "sample string 3",
"ResultDate": "2026-11-26T10:36:10.1269247+02:00"
}
application/xml, text/xml
<ResultDI xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/IND_DI_WebApi._BL"> <Action>Add</Action> <ObjectDI>None</ObjectDI> <OpersionId>1</OpersionId> <ResultDate>2026-11-26T10:36:10.1269247+02:00</ResultDate> <ResultObjectNumber>sample string 3</ResultObjectNumber> <Status>Waiting</Status> <StatusDescription>sample string 2</StatusDescription> </ResultDI>
multipart/form-data
<ResultDI xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/IND_DI_WebApi._BL"><Action>Add</Action><ObjectDI>None</ObjectDI><OpersionId>1</OpersionId><ResultDate>2026-11-26T10:36:10.1269247+02:00</ResultDate><ResultObjectNumber>sample string 3</ResultObjectNumber><Status>Waiting</Status><StatusDescription>sample string 2</StatusDescription></ResultDI>