POST api/actions/accounttransaction
Request Information
URI Parameters
None.
Body Parameters
AccountTransaction| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | integer |
None. |
|
| TranName_ID | integer |
None. |
|
| Name | string |
None. |
|
| Date | date |
None. |
|
| TransactionType | integer |
None. |
|
| Amount | decimal number |
None. |
|
| UserId | integer |
None. |
|
| CustomerId | integer |
None. |
|
| VendorId | integer |
None. |
|
| Comment | string |
None. |
|
| IsAuto | boolean |
None. |
Request Formats
application/json, text/json
Sample:
{
"Id": 1,
"TranName_ID": 2,
"Name": "sample string 3",
"Date": "2025-12-10T08:17:22.1602517+04:00",
"TransactionType": 5,
"Amount": 6.0,
"UserId": 7,
"CustomerId": 8,
"VendorId": 9,
"Comment": "sample string 10",
"IsAuto": true
}
text/html
Sample:
{"Id":1,"TranName_ID":2,"Name":"sample string 3","Date":"2025-12-10T08:17:22.1602517+04:00","TransactionType":5,"Amount":6.0,"UserId":7,"CustomerId":8,"VendorId":9,"Comment":"sample string 10","IsAuto":true}
application/xml, text/xml
Sample:
<AccountTransaction xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Gregsys.Domain.Models.Transactions"> <Amount>6</Amount> <Comment>sample string 10</Comment> <CustomerId>8</CustomerId> <Date>2025-12-10T08:17:22.1602517+04:00</Date> <Id>1</Id> <IsAuto>true</IsAuto> <Name>sample string 3</Name> <TranName_ID>2</TranName_ID> <TransactionType>5</TransactionType> <UserId>7</UserId> <VendorId>9</VendorId> </AccountTransaction>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
InputInfoResponse| Name | 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>