GET api/cmpn/get-company-charges/{companyId}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| companyId | integer |
Required |
Body Parameters
None.
Response Information
Resource Description
CompanyChargeDTO| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | integer |
None. |
|
| CompanyId | integer |
None. |
|
| CompanyBranchId | integer |
None. |
|
| CompanyType | string |
None. |
|
| Name | string |
None. |
|
| PaymentAgreementTypeId | integer |
None. |
|
| PaymentAgreementTypeName | string |
None. |
|
| PreferedChargeType | string |
None. |
|
| FixedPercentage | decimal number |
None. |
|
| AmountPerTransaction | decimal number |
None. |
|
| IsActive | boolean |
None. |
|
| CreatedBy | integer |
None. |
|
| CreatedDateTime | date |
None. |
|
| ServiceChargeType | string |
None. |
Response Formats
application/json, text/json
Sample:
{
"Id": 1,
"CompanyId": 2,
"CompanyBranchId": 1,
"CompanyType": "sample string 3",
"Name": "sample string 4",
"PaymentAgreementTypeId": 5,
"PaymentAgreementTypeName": "sample string 6",
"PreferedChargeType": "sample string 7",
"FixedPercentage": 8.0,
"AmountPerTransaction": 9.0,
"IsActive": true,
"CreatedBy": 11,
"CreatedDateTime": "2026-01-26T15:03:19.7338297+00:00",
"ServiceChargeType": "sample string 13"
}
application/xml, text/xml
Sample:
<CompanyChargeDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SUM.Prod.RS.Common.Components.DTO.CompanySetup"> <AmountPerTransaction>9</AmountPerTransaction> <CompanyBranchId>1</CompanyBranchId> <CompanyId>2</CompanyId> <CompanyType>sample string 3</CompanyType> <CreatedBy>11</CreatedBy> <CreatedDateTime>2026-01-26T15:03:19.7338297+00:00</CreatedDateTime> <FixedPercentage>8</FixedPercentage> <Id>1</Id> <IsActive>true</IsActive> <Name>sample string 4</Name> <PaymentAgreementTypeId>5</PaymentAgreementTypeId> <PaymentAgreementTypeName>sample string 6</PaymentAgreementTypeName> <PreferedChargeType>sample string 7</PreferedChargeType> <ServiceChargeType>sample string 13</ServiceChargeType> </CompanyChargeDTO>