POST api/unitedweb/addTransaction

Request Information

URI Parameters

None.

Body Parameters

transactions
NameDescriptionTypeAdditional information
id

integer

None.

trans_id

string

None.

amount

string

None.

gst

string

None.

created_at

date

None.

plan_id

integer

None.

total_amount

string

None.

status

integer

None.

cust_id

integer

None.

reason

string

None.

Request Formats

application/json, text/json

Sample:
{
  "id": 1,
  "trans_id": "sample string 2",
  "amount": "sample string 3",
  "gst": "sample string 4",
  "created_at": "2026-07-03T08:59:49.8488471+00:00",
  "plan_id": 6,
  "total_amount": "sample string 7",
  "status": 8,
  "cust_id": 9,
  "reason": "sample string 10"
}

application/xml, text/xml

Sample:
<transactions xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebAPI.Entity">
  <amount>sample string 3</amount>
  <created_at>2026-07-03T08:59:49.8488471+00:00</created_at>
  <cust_id>9</cust_id>
  <gst>sample string 4</gst>
  <id>1</id>
  <plan_id>6</plan_id>
  <reason>sample string 10</reason>
  <status>8</status>
  <total_amount>sample string 7</total_amount>
  <trans_id>sample string 2</trans_id>
</transactions>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'transactions'.

Response Information

Resource Description

APICreateResponse
NameDescriptionTypeAdditional information
code

integer

None.

message

string

None.

status

string

None.

Response Formats

application/json, text/json

Sample:
{
  "code": 1,
  "message": "sample string 2",
  "status": "sample string 3"
}

application/xml, text/xml

Sample:
<APICreateResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebAPI.Models">
  <code>1</code>
  <message>sample string 2</message>
  <status>sample string 3</status>
</APICreateResponse>