POST api/cfgFeeType

Insert a new record into the FeeTypes table.

Request Information

URI Parameters

None.

Body Parameters

cfgFeeTypeDb
NameDescriptionTypeAdditional information
FeeTypeID

integer

None.

FeeTypeName

string

Required

Max length: 50

FeeTypeNumber

integer

None.

FeeTypeDescription

string

Max length: 255

PayableTypeID

byte

None.

DefaultAmount

decimal number

None.

IsActive

boolean

None.

CreatedBy

integer

None.

CreatedDate

date

None.

UpdatedBy

integer

None.

UpdatedDate

date

None.

FBChargeCategoryID

integer

None.

results

Collection of ValidationResult

None.

Request Formats

application/json, text/json

Sample:
{
  "results": null,
  "FeeTypeID": 1,
  "FeeTypeName": "sample string 2",
  "FeeTypeNumber": 1,
  "FeeTypeDescription": "sample string 3",
  "PayableTypeID": 64,
  "DefaultAmount": 1.0,
  "IsActive": true,
  "CreatedBy": 4,
  "CreatedDate": "2025-12-06T23:39:23.6473846+00:00",
  "UpdatedBy": 6,
  "UpdatedDate": "2025-12-06T23:39:23.6473846+00:00",
  "FBChargeCategoryID": 1
}

application/xml, text/xml

Sample:
<cfgFeeTypeDb xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebAPI.Data.Tables">
  <results xmlns:d2p1="http://schemas.datacontract.org/2004/07/System.ComponentModel.DataAnnotations" i:nil="true" xmlns="http://schemas.datacontract.org/2004/07/WebAPI.Data.Utility" />
  <CreatedBy>4</CreatedBy>
  <CreatedDate xmlns:d2p1="http://schemas.datacontract.org/2004/07/System">
    <d2p1:DateTime>2025-12-06T23:39:23.6473846Z</d2p1:DateTime>
    <d2p1:OffsetMinutes>0</d2p1:OffsetMinutes>
  </CreatedDate>
  <DefaultAmount>1</DefaultAmount>
  <FBChargeCategoryID>1</FBChargeCategoryID>
  <FeeTypeDescription>sample string 3</FeeTypeDescription>
  <FeeTypeID>1</FeeTypeID>
  <FeeTypeName>sample string 2</FeeTypeName>
  <FeeTypeNumber>1</FeeTypeNumber>
  <IsActive>true</IsActive>
  <PayableTypeID>64</PayableTypeID>
  <UpdatedBy>6</UpdatedBy>
  <UpdatedDate xmlns:d2p1="http://schemas.datacontract.org/2004/07/System">
    <d2p1:DateTime>2025-12-06T23:39:23.6473846Z</d2p1:DateTime>
    <d2p1:OffsetMinutes>0</d2p1:OffsetMinutes>
  </UpdatedDate>
</cfgFeeTypeDb>

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 'cfgFeeTypeDb'.

Response Information

Resource Description

UpsertRetOfcfgFeeTypeDb
NameDescriptionTypeAdditional information
returnID

integer

None.

results

Collection of ValidationResult

None.

returnItem

cfgFeeTypeDb

None.

displayMessage

string

None.

Response Formats

application/json, text/json

Sample:
{
  "returnID": 1,
  "results": null,
  "returnItem": {
    "results": null,
    "FeeTypeID": 1,
    "FeeTypeName": "sample string 2",
    "FeeTypeNumber": 1,
    "FeeTypeDescription": "sample string 3",
    "PayableTypeID": 64,
    "DefaultAmount": 1.0,
    "IsActive": true,
    "CreatedBy": 4,
    "CreatedDate": "2025-12-06T23:39:23.6608269+00:00",
    "UpdatedBy": 6,
    "UpdatedDate": "2025-12-06T23:39:23.6608269+00:00",
    "FBChargeCategoryID": 1
  },
  "displayMessage": "sample string 1"
}

application/xml, text/xml

Sample:
<UpsertRetOfcfgFeeTypeDb66KPc_SrH xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebAPI.Data.Utility">
  <displayMessage>sample string 1</displayMessage>
  <results xmlns:d2p1="http://schemas.datacontract.org/2004/07/System.ComponentModel.DataAnnotations" i:nil="true" />
  <returnID>1</returnID>
  <returnItem xmlns:d2p1="http://schemas.datacontract.org/2004/07/WebAPI.Data.Tables">
    <results xmlns:d3p1="http://schemas.datacontract.org/2004/07/System.ComponentModel.DataAnnotations" i:nil="true" />
    <d2p1:CreatedBy>4</d2p1:CreatedBy>
    <d2p1:CreatedDate xmlns:d3p1="http://schemas.datacontract.org/2004/07/System">
      <d3p1:DateTime>2025-12-06T23:39:23.6608269Z</d3p1:DateTime>
      <d3p1:OffsetMinutes>0</d3p1:OffsetMinutes>
    </d2p1:CreatedDate>
    <d2p1:DefaultAmount>1</d2p1:DefaultAmount>
    <d2p1:FBChargeCategoryID>1</d2p1:FBChargeCategoryID>
    <d2p1:FeeTypeDescription>sample string 3</d2p1:FeeTypeDescription>
    <d2p1:FeeTypeID>1</d2p1:FeeTypeID>
    <d2p1:FeeTypeName>sample string 2</d2p1:FeeTypeName>
    <d2p1:FeeTypeNumber>1</d2p1:FeeTypeNumber>
    <d2p1:IsActive>true</d2p1:IsActive>
    <d2p1:PayableTypeID>64</d2p1:PayableTypeID>
    <d2p1:UpdatedBy>6</d2p1:UpdatedBy>
    <d2p1:UpdatedDate xmlns:d3p1="http://schemas.datacontract.org/2004/07/System">
      <d3p1:DateTime>2025-12-06T23:39:23.6608269Z</d3p1:DateTime>
      <d3p1:OffsetMinutes>0</d3p1:OffsetMinutes>
    </d2p1:UpdatedDate>
  </returnItem>
</UpsertRetOfcfgFeeTypeDb66KPc_SrH>