POST api/transactions/CreateTransactions
Request Information
URI Parameters
None.
Body Parameters
TransactionsDTO| Name | Description | Type | Additional information |
|---|---|---|---|
| id | globally unique identifier |
None. |
|
| sourceid | integer |
None. |
|
| typeid | integer |
None. |
|
| orderid | integer |
None. |
|
| createdat | date |
None. |
|
| createdby | integer |
None. |
|
| updatedat | date |
None. |
|
| updatedby | integer |
None. |
|
| isdeleted | boolean |
None. |
Request Formats
application/json, text/json
Sample:
{
"id": "51cc7f5f-b8a8-43f0-83c3-c4dbc8bb0085",
"sourceid": 1,
"typeid": 2,
"orderid": 1,
"createdat": "2026-02-17T15:07:51.3121529+03:00",
"createdby": 1,
"updatedat": "2026-02-17T15:07:51.3121529+03:00",
"updatedby": 1,
"isdeleted": true
}
application/xml, text/xml
Sample:
<TransactionsDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/cbox_api.Models.DTOs"> <CreatedAt>2026-02-17T15:07:51.3121529+03:00</CreatedAt> <CreatedBy>1</CreatedBy> <ID>51cc7f5f-b8a8-43f0-83c3-c4dbc8bb0085</ID> <IsDeleted>true</IsDeleted> <OrderID>1</OrderID> <SourceID>1</SourceID> <TypeID>2</TypeID> <UpdatedAt>2026-02-17T15:07:51.3121529+03:00</UpdatedAt> <UpdatedBy>1</UpdatedBy> </TransactionsDTO>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
ResponseModelOfTransactionsDTO| Name | Description | Type | Additional information |
|---|---|---|---|
| Data | TransactionsDTO |
None. |
|
| Success | boolean |
None. |
|
| StatusCode | integer |
None. |
|
| Message | string |
None. |
|
| ErrorMessage | string |
None. |
|
| Metadata | Object |
None. |
Response Formats
application/json, text/json
Sample:
{
"Data": {
"id": "ba455df2-d5c9-4933-84a7-c01b3d1b95c8",
"sourceid": 1,
"typeid": 2,
"orderid": 1,
"createdat": "2026-02-17T15:07:51.3141524+03:00",
"createdby": 1,
"updatedat": "2026-02-17T15:07:51.3141524+03:00",
"updatedby": 1,
"isdeleted": true
},
"Success": true,
"StatusCode": 2,
"Message": "sample string 3",
"ErrorMessage": "sample string 4",
"Metadata": {}
}
application/xml, text/xml
Sample:
<ResponseModelOfTransactionsDTOb1afPy6h xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/cbox_api.Models.Response">
<ErrorMessage>sample string 4</ErrorMessage>
<Message>sample string 3</Message>
<Metadata />
<StatusCode>2</StatusCode>
<Success>true</Success>
<Data xmlns:d2p1="http://schemas.datacontract.org/2004/07/cbox_api.Models.DTOs">
<d2p1:CreatedAt>2026-02-17T15:07:51.3141524+03:00</d2p1:CreatedAt>
<d2p1:CreatedBy>1</d2p1:CreatedBy>
<d2p1:ID>ba455df2-d5c9-4933-84a7-c01b3d1b95c8</d2p1:ID>
<d2p1:IsDeleted>true</d2p1:IsDeleted>
<d2p1:OrderID>1</d2p1:OrderID>
<d2p1:SourceID>1</d2p1:SourceID>
<d2p1:TypeID>2</d2p1:TypeID>
<d2p1:UpdatedAt>2026-02-17T15:07:51.3141524+03:00</d2p1:UpdatedAt>
<d2p1:UpdatedBy>1</d2p1:UpdatedBy>
</Data>
</ResponseModelOfTransactionsDTOb1afPy6h>