POST api/Transaction

Request Information

URI Parameters

None.

Body Parameters

TransactionInfo
NameDescriptionTypeAdditional information
Transaction_Id

globally unique identifier

None.

Transaction_Code

integer

None.

Category_Id

globally unique identifier

None.

User_Id

globally unique identifier

None.

Chapter_Id

globally unique identifier

None.

Description

string

None.

Amount

decimal number

None.

Is_Transferred

boolean

None.

Is_PaidUsed

boolean

None.

Transaction_Date

date

None.

Created_By

globally unique identifier

None.

TaskInfo_Id

globally unique identifier

None.

PaidUsed_Date

date

None.

_Transaction_Code

CategoryCode

None.

_Category

string

None.

_RoadName

string

None.

PrimaryKey

globally unique identifier

None.

Request Formats

application/json, text/json

Sample:
{
  "Transaction_Id": "1f384c27-6b64-4a67-a90f-199a81d937d7",
  "Transaction_Code": 2,
  "Category_Id": "a92fba72-42d2-4d8b-9d59-79641bf13d01",
  "User_Id": "6b3a0d16-7780-4a9a-9d8b-06bafcea4665",
  "Chapter_Id": "d019ca0b-6b50-4978-9e22-12009c9f6769",
  "Description": "sample string 6",
  "Amount": 7.0,
  "Is_Transferred": true,
  "Is_PaidUsed": true,
  "Transaction_Date": "2026-02-09T03:14:27.6637931-08:00",
  "Created_By": "7c9d0ad9-7c43-44be-a257-1a16c2b68d21",
  "TaskInfo_Id": "c398a74d-0142-4d7f-9e69-23dc41915e43",
  "PaidUsed_Date": "2026-02-09T03:14:27.6637931-08:00",
  "_Transaction_Code": 0,
  "_Category": "sample string 14",
  "_RoadName": "sample string 15",
  "PrimaryKey": "e7eed44a-d02c-4cd6-84c2-f0f689ee8a32"
}

application/xml, text/xml

Sample:
<TransactionInfo xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/brmcph.entity">
  <PrimaryKey>e7eed44a-d02c-4cd6-84c2-f0f689ee8a32</PrimaryKey>
  <Amount>7</Amount>
  <Category_Id>a92fba72-42d2-4d8b-9d59-79641bf13d01</Category_Id>
  <Chapter_Id>d019ca0b-6b50-4978-9e22-12009c9f6769</Chapter_Id>
  <Created_By>7c9d0ad9-7c43-44be-a257-1a16c2b68d21</Created_By>
  <Description>sample string 6</Description>
  <Is_PaidUsed>true</Is_PaidUsed>
  <Is_Transferred>true</Is_Transferred>
  <PaidUsed_Date>2026-02-09T03:14:27.6637931-08:00</PaidUsed_Date>
  <TaskInfo_Id>c398a74d-0142-4d7f-9e69-23dc41915e43</TaskInfo_Id>
  <Transaction_Code>2</Transaction_Code>
  <Transaction_Date>2026-02-09T03:14:27.6637931-08:00</Transaction_Date>
  <Transaction_Id>1f384c27-6b64-4a67-a90f-199a81d937d7</Transaction_Id>
  <User_Id>6b3a0d16-7780-4a9a-9d8b-06bafcea4665</User_Id>
  <_Category>sample string 14</_Category>
  <_RoadName>sample string 15</_RoadName>
  <_Transaction_Code>Income</_Transaction_Code>
</TransactionInfo>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.