POST api/Acounting/SavePettyCash?currentEmpId={currentEmpId}&direction={direction}&InCT={InCT}
No documentation available.
Request Information
Parameters
| Name | Description | Additional information |
|---|---|---|
| entity | No documentation available. |
Define this parameter in the request body. |
| currentEmpId | No documentation available. |
Define this parameter in the request URI. |
| direction | No documentation available. |
Define this parameter in the request URI. |
| InCT | No documentation available. |
Define this parameter in the request URI. |
Request body formats
application/json, text/json
Sample:
{
"Id": 1,
"PreCodeId": 1,
"BulkPaymentId": 1,
"Code": "sample string 2",
"EmpId": 3,
"Value": 4.0,
"Date": "2025-12-17T21:56:47.4458018+02:00",
"ApproveDate": "2025-12-17T21:56:47.4458018+02:00",
"PaymentRequestId": 1,
"PaymentType": 1,
"PaymentAccountId": 1,
"Status": 5,
"Approved": 1,
"BulkSettlement": true,
"Type": 7,
"JournalId": 8,
"CurrencyId": 1,
"CurrenceyRate": 1.0,
"CurrenceyValue": 1.0,
"Notes": "sample string 9",
"PettyCashValueType": 1,
"PettyCashClassificationId": 1,
"Checks": {
"SupCustId": 1,
"PhysicalLocationId": 1,
"BeneficiaryName": "sample string 2",
"CkeckDate": "2025-12-17T00:00:00+02:00",
"ApproveDate": "2025-12-17T21:56:47.4458018+02:00",
"CheckNo": "sample string 5",
"value": 6.0,
"SourceType": 1,
"CheckType": 7,
"Status": 8,
"CurrencyRate": 9.0,
"BankNotesTypeId": 1,
"ProjectId": 1,
"UnderCollectionBankId": 1,
"JournalId": 1,
"PreCodeId": 1,
"LocationId": 1,
"PaidJournalId": 1,
"UnderCollectionJournalId": 1,
"RejectedJournalId": 1,
"IsDelivered": true,
"CollectionJournalId": 1,
"BankName": "sample string 11",
"IsArchived": true,
"ReceivedBankId": 12,
"ReceivedBankType": 13,
"CurrencyId": 14
},
"InCT": "sample string 10",
"Docs": [
{
"FileName": "sample string 1",
"Bytes": "QEBA"
},
{
"FileName": "sample string 1",
"Bytes": "QEBA"
},
{
"FileName": "sample string 1",
"Bytes": "QEBA"
}
],
"ServerIP": "sample string 11"
}
application/xml, text/xml
Sample:
<Acc_VM_PettyCash xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ERPPlus_MOdel.Model">
<ApproveDate>2025-12-17T21:56:47.4458018+02:00</ApproveDate>
<Approved>1</Approved>
<BulkPaymentId>1</BulkPaymentId>
<BulkSettlement>true</BulkSettlement>
<Checks>
<ApproveDate>2025-12-17T21:56:47.4458018+02:00</ApproveDate>
<BankName>sample string 11</BankName>
<BankNotesTypeId>1</BankNotesTypeId>
<BeneficiaryName>sample string 2</BeneficiaryName>
<CheckNo>sample string 5</CheckNo>
<CheckType>7</CheckType>
<CkeckDate>2025-12-17T00:00:00+02:00</CkeckDate>
<CollectionJournalId>1</CollectionJournalId>
<CurrencyId>14</CurrencyId>
<CurrencyRate>9</CurrencyRate>
<IsArchived>true</IsArchived>
<IsDelivered>true</IsDelivered>
<JournalId>1</JournalId>
<LocationId>1</LocationId>
<PaidJournalId>1</PaidJournalId>
<PhysicalLocationId>1</PhysicalLocationId>
<PreCodeId>1</PreCodeId>
<ProjectId>1</ProjectId>
<ReceivedBankId>12</ReceivedBankId>
<ReceivedBankType>13</ReceivedBankType>
<RejectedJournalId>1</RejectedJournalId>
<SourceType>1</SourceType>
<Status>8</Status>
<SupCustId>1</SupCustId>
<UnderCollectionBankId>1</UnderCollectionBankId>
<UnderCollectionJournalId>1</UnderCollectionJournalId>
<value>6</value>
</Checks>
<Code>sample string 2</Code>
<CurrenceyRate>1</CurrenceyRate>
<CurrenceyValue>1</CurrenceyValue>
<CurrencyId>1</CurrencyId>
<Date>2025-12-17T21:56:47.4458018+02:00</Date>
<Docs>
<VM_Docs>
<Bytes>QEBA</Bytes>
<FileName>sample string 1</FileName>
</VM_Docs>
<VM_Docs>
<Bytes>QEBA</Bytes>
<FileName>sample string 1</FileName>
</VM_Docs>
<VM_Docs>
<Bytes>QEBA</Bytes>
<FileName>sample string 1</FileName>
</VM_Docs>
</Docs>
<EmpId>3</EmpId>
<Id>1</Id>
<InCT>sample string 10</InCT>
<JournalId>8</JournalId>
<Notes>sample string 9</Notes>
<PaymentAccountId>1</PaymentAccountId>
<PaymentRequestId>1</PaymentRequestId>
<PaymentType>1</PaymentType>
<PettyCashClassificationId>1</PettyCashClassificationId>
<PettyCashValueType>1</PettyCashValueType>
<PreCodeId>1</PreCodeId>
<ServerIP>sample string 11</ServerIP>
<Status>5</Status>
<Type>7</Type>
<Value>4</Value>
</Acc_VM_PettyCash>
application/x-www-form-urlencoded
Sample:
Response Information
No documentation available.
Response body formats
application/json, text/json
Sample:
{
"Result": true,
"ErrorMessage": "sample string 2"
}
application/xml, text/xml
Sample:
<GeneralErrors xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ERP_Plus"> <ErrorMessage>sample string 2</ErrorMessage> <Result>true</Result> </GeneralErrors>