POST api/actions/cashtransaction
Request Information
URI Parameters
None.
Body Parameters
CashTransactionDTOName | Description | Type | Additional information |
---|---|---|---|
customerId | integer |
None. |
|
vendorId | integer |
None. |
|
userInId | integer |
None. |
|
amount | decimal number |
None. |
|
description | string |
None. |
|
OperDate | date |
None. |
|
paymentType | PaymentType |
None. |
|
transactionType | TransactionType |
None. |
|
comment | string |
None. |
|
ReserveId | integer |
None. |
|
subPaymentName | string |
None. |
Request Formats
application/json, text/json
Sample:
{ "customerId": 1, "vendorId": 2, "userInId": 3, "amount": 4.0, "description": "sample string 5", "OperDate": "2025-06-03T04:26:33.8144879+04:00", "paymentType": 1, "transactionType": 0, "comment": "sample string 7", "ReserveId": 8, "subPaymentName": "sample string 9" }
text/html
Sample:
{"customerId":1,"vendorId":2,"userInId":3,"amount":4.0,"description":"sample string 5","OperDate":"2025-06-03T04:26:33.8144879+04:00","paymentType":1,"transactionType":0,"comment":"sample string 7","ReserveId":8,"subPaymentName":"sample string 9"}
application/xml, text/xml
Sample:
<CashTransactionDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Gregsys.DTO"> <OperDate>2025-06-03T04:26:33.8144879+04:00</OperDate> <ReserveId>8</ReserveId> <amount>4</amount> <comment>sample string 7</comment> <customerId>1</customerId> <description>sample string 5</description> <paymentType>Cash</paymentType> <subPaymentName>sample string 9</subPaymentName> <transactionType>Income</transactionType> <userInId>3</userInId> <vendorId>2</vendorId> </CashTransactionDTO>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
InputInfoResponseName | Description | Type | Additional information |
---|---|---|---|
InputId | integer |
None. |
|
isSuccess | boolean |
None. |
|
message | string |
None. |
Response Formats
application/json, text/json
Sample:
{ "InputId": 1, "isSuccess": true, "message": "sample string 3" }
text/html
Sample:
{"InputId":1,"isSuccess":true,"message":"sample string 3"}
application/xml, text/xml
Sample:
<InputInfoResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Gregsys.WebApi.Models"> <isSuccess>true</isSuccess> <message>sample string 3</message> <InputId>1</InputId> </InputInfoResponse>