POST api/JournalAccount/SaveExpensesJournalAccount
保存日常收支
Request Information
URI Parameters
None.
Body Parameters
SaveJournalAccountDtoName | Description | Type | Additional information |
---|---|---|---|
TID | globally unique identifier |
None. |
|
JournalAccountNumber | string |
None. |
|
OrderDate | date |
None. |
|
JournalType | string |
None. |
|
JournalTypeKey | string |
None. |
|
CashTypeKey | string |
None. |
|
ClearingAccount | string |
None. |
|
StatusKey | string |
None. |
|
JournalMoney | decimal number |
None. |
|
Remark | string |
None. |
|
JournalAccountDtls | Collection of JournalAccountDtl |
None. |
Request Formats
application/json, text/json
Sample:
{ "TID": "48689f16-9231-418b-a389-76be769bac86", "JournalAccountNumber": "sample string 1", "OrderDate": "2025-06-23 21:33:45", "JournalType": "sample string 2", "JournalTypeKey": "sample string 3", "CashTypeKey": "sample string 4", "ClearingAccount": "sample string 5", "StatusKey": "sample string 6", "JournalMoney": 1.0, "Remark": "sample string 7", "JournalAccountDtls": [ { "JournalMoney": 1.0, "JournalTypeKey": "sample string 1" }, { "JournalMoney": 1.0, "JournalTypeKey": "sample string 1" } ] }
application/xml, text/xml
Sample:
<SaveJournalAccountDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/JT.VSFA.Entity.DTO.ApiDTO"> <CashTypeKey>sample string 4</CashTypeKey> <ClearingAccount>sample string 5</ClearingAccount> <JournalAccountDtls> <JournalAccountDtl> <JournalMoney>1</JournalMoney> <JournalTypeKey>sample string 1</JournalTypeKey> </JournalAccountDtl> <JournalAccountDtl> <JournalMoney>1</JournalMoney> <JournalTypeKey>sample string 1</JournalTypeKey> </JournalAccountDtl> </JournalAccountDtls> <JournalAccountNumber>sample string 1</JournalAccountNumber> <JournalMoney>1</JournalMoney> <JournalType>sample string 2</JournalType> <JournalTypeKey>sample string 3</JournalTypeKey> <OrderDate>2025-06-23T21:33:45.764051+08:00</OrderDate> <Remark>sample string 7</Remark> <StatusKey>sample string 6</StatusKey> <TID>48689f16-9231-418b-a389-76be769bac86</TID> </SaveJournalAccountDto>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
ResultModelOfNullableOfGuidName | Description | Type | Additional information |
---|---|---|---|
Code | ReturnCode |
None. |
|
Message | string |
None. |
|
Data | globally unique identifier |
None. |
Response Formats
application/json, text/json
Sample:
{ "Code": 200, "Message": "sample string 1", "Data": "8bb86c04-6539-42f4-9ceb-3c49fdc84056" }
application/xml, text/xml
Sample:
<ResultModelOfNullableOfguid5F2dSckg xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/JT.VSFA.Utility"> <Code>Success</Code> <Data>8bb86c04-6539-42f4-9ceb-3c49fdc84056</Data> <Message>sample string 1</Message> </ResultModelOfNullableOfguid5F2dSckg>