POST api/transactions/UpdateTransactions?id={id}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

string

Required

Body Parameters

TransactionsDTO
NameDescriptionTypeAdditional 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": "992e3a16-e5d2-4938-8e8c-e836c1696fcf",
  "sourceid": 1,
  "typeid": 2,
  "orderid": 1,
  "createdat": "2025-12-20T08:38:32.7607997+03:00",
  "createdby": 1,
  "updatedat": "2025-12-20T08:38:32.7607997+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>2025-12-20T08:38:32.7607997+03:00</CreatedAt>
  <CreatedBy>1</CreatedBy>
  <ID>992e3a16-e5d2-4938-8e8c-e836c1696fcf</ID>
  <IsDeleted>true</IsDeleted>
  <OrderID>1</OrderID>
  <SourceID>1</SourceID>
  <TypeID>2</TypeID>
  <UpdatedAt>2025-12-20T08:38:32.7607997+03:00</UpdatedAt>
  <UpdatedBy>1</UpdatedBy>
</TransactionsDTO>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

ResponseModelOfTransactionsDTO
NameDescriptionTypeAdditional 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": "e63251e0-b488-4c46-9971-ec78e07925da",
    "sourceid": 1,
    "typeid": 2,
    "orderid": 1,
    "createdat": "2025-12-20T08:38:32.7617996+03:00",
    "createdby": 1,
    "updatedat": "2025-12-20T08:38:32.7617996+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>2025-12-20T08:38:32.7617996+03:00</d2p1:CreatedAt>
    <d2p1:CreatedBy>1</d2p1:CreatedBy>
    <d2p1:ID>e63251e0-b488-4c46-9971-ec78e07925da</d2p1:ID>
    <d2p1:IsDeleted>true</d2p1:IsDeleted>
    <d2p1:OrderID>1</d2p1:OrderID>
    <d2p1:SourceID>1</d2p1:SourceID>
    <d2p1:TypeID>2</d2p1:TypeID>
    <d2p1:UpdatedAt>2025-12-20T08:38:32.7617996+03:00</d2p1:UpdatedAt>
    <d2p1:UpdatedBy>1</d2p1:UpdatedBy>
  </Data>
</ResponseModelOfTransactionsDTOb1afPy6h>