GET api/Transaction/Detail?id={id}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| id | integer |
Required |
Body Parameters
None.
Response Information
Resource Description
Collection of TransactionDetailModel| Name | Description | Type | Additional information |
|---|---|---|---|
| Code | string |
None. |
|
| DateOfTransaction | date |
None. |
|
| ProductDemandId | integer |
None. |
|
| CustomerDemandId | integer |
None. |
|
| CustomerId | integer |
None. |
|
| EmployeeIdSale1 | integer |
None. |
|
| Percentage1 | decimal number |
None. |
|
| EmployeeIdSale2 | integer |
None. |
|
| Percentage2 | decimal number |
None. |
|
| EmployeeIdSale3 | integer |
None. |
|
| Percentage3 | decimal number |
None. |
|
| EmployeeIdSale4 | integer |
None. |
|
| Percentage4 | decimal number |
None. |
|
| Description | string |
None. |
|
| TotalPrice | decimal number |
None. |
|
| CommissionRate | decimal number |
None. |
|
| CommissionType | byte |
None. |
|
| CommissionValue | decimal number |
None. |
|
| TotalCollected | decimal number |
None. |
|
| TotalPaid | decimal number |
None. |
|
| EmployeeNameCreate | string |
None. |
|
| EmployeeNameUpdate | string |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"code": "sample string 1",
"dateOfTransaction": "2025-12-06T12:28:28.2462186+07:00",
"productDemandId": 3,
"customerDemandId": 4,
"customerId": 5,
"employeeIdSale1": 6,
"percentage1": 7.0,
"employeeIdSale2": 8,
"percentage2": 9.0,
"employeeIdSale3": 10,
"percentage3": 11.0,
"employeeIdSale4": 12,
"percentage4": 13.0,
"description": "sample string 14",
"totalPrice": 15.0,
"commissionRate": 16.0,
"commissionType": 64,
"commissionValue": 18.0,
"totalCollected": 19.0,
"totalPaid": 20.0,
"employeeNameCreate": "sample string 21",
"employeeNameUpdate": "sample string 22"
},
{
"code": "sample string 1",
"dateOfTransaction": "2025-12-06T12:28:28.2462186+07:00",
"productDemandId": 3,
"customerDemandId": 4,
"customerId": 5,
"employeeIdSale1": 6,
"percentage1": 7.0,
"employeeIdSale2": 8,
"percentage2": 9.0,
"employeeIdSale3": 10,
"percentage3": 11.0,
"employeeIdSale4": 12,
"percentage4": 13.0,
"description": "sample string 14",
"totalPrice": 15.0,
"commissionRate": 16.0,
"commissionType": 64,
"commissionValue": 18.0,
"totalCollected": 19.0,
"totalPaid": 20.0,
"employeeNameCreate": "sample string 21",
"employeeNameUpdate": "sample string 22"
}
]
application/xml, text/xml
Sample:
<ArrayOfTransactionDetailModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AgencyWebAPI.Models.Transaction">
<TransactionDetailModel>
<Code>sample string 1</Code>
<CommissionRate>16</CommissionRate>
<CommissionType>64</CommissionType>
<CommissionValue>18</CommissionValue>
<CustomerDemandId>4</CustomerDemandId>
<CustomerId>5</CustomerId>
<DateOfTransaction>2025-12-06T12:28:28.2462186+07:00</DateOfTransaction>
<Description>sample string 14</Description>
<EmployeeIdSale1>6</EmployeeIdSale1>
<EmployeeIdSale2>8</EmployeeIdSale2>
<EmployeeIdSale3>10</EmployeeIdSale3>
<EmployeeIdSale4>12</EmployeeIdSale4>
<EmployeeNameCreate>sample string 21</EmployeeNameCreate>
<EmployeeNameUpdate>sample string 22</EmployeeNameUpdate>
<Percentage1>7</Percentage1>
<Percentage2>9</Percentage2>
<Percentage3>11</Percentage3>
<Percentage4>13</Percentage4>
<ProductDemandId>3</ProductDemandId>
<TotalCollected>19</TotalCollected>
<TotalPaid>20</TotalPaid>
<TotalPrice>15</TotalPrice>
</TransactionDetailModel>
<TransactionDetailModel>
<Code>sample string 1</Code>
<CommissionRate>16</CommissionRate>
<CommissionType>64</CommissionType>
<CommissionValue>18</CommissionValue>
<CustomerDemandId>4</CustomerDemandId>
<CustomerId>5</CustomerId>
<DateOfTransaction>2025-12-06T12:28:28.2462186+07:00</DateOfTransaction>
<Description>sample string 14</Description>
<EmployeeIdSale1>6</EmployeeIdSale1>
<EmployeeIdSale2>8</EmployeeIdSale2>
<EmployeeIdSale3>10</EmployeeIdSale3>
<EmployeeIdSale4>12</EmployeeIdSale4>
<EmployeeNameCreate>sample string 21</EmployeeNameCreate>
<EmployeeNameUpdate>sample string 22</EmployeeNameUpdate>
<Percentage1>7</Percentage1>
<Percentage2>9</Percentage2>
<Percentage3>11</Percentage3>
<Percentage4>13</Percentage4>
<ProductDemandId>3</ProductDemandId>
<TotalCollected>19</TotalCollected>
<TotalPaid>20</TotalPaid>
<TotalPrice>15</TotalPrice>
</TransactionDetailModel>
</ArrayOfTransactionDetailModel>