PUT api/cfgPayableType/{id}

Update an existing record from the PayableTypes table.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

byte

Required

Body Parameters

cfgPayableTypeDb
NameDescriptionTypeAdditional information
PayableTypeID

integer

None.

PayableTypeName

string

Required

Max length: 12

PayableTypeDescription

string

Max length: 255

ChargeServiceCode

integer

None.

IsActive

boolean

None.

IsCarrier

boolean

Required

CreatedBy

integer

None.

CreatedDate

date

None.

UpdatedBy

integer

None.

UpdatedDate

date

None.

results

Collection of ValidationResult

None.

Request Formats

application/json, text/json

Sample:
{
  "results": null,
  "PayableTypeID": 1,
  "PayableTypeName": "sample string 2",
  "PayableTypeDescription": "sample string 3",
  "ChargeServiceCode": 1,
  "IsActive": true,
  "IsCarrier": true,
  "CreatedBy": 6,
  "CreatedDate": "2025-12-06T23:40:56.7989636+00:00",
  "UpdatedBy": 8,
  "UpdatedDate": "2025-12-06T23:40:56.7989636+00:00"
}

application/xml, text/xml

Sample:
<cfgPayableTypeDb 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" />
  <ChargeServiceCode>1</ChargeServiceCode>
  <CreatedBy>6</CreatedBy>
  <CreatedDate xmlns:d2p1="http://schemas.datacontract.org/2004/07/System">
    <d2p1:DateTime>2025-12-06T23:40:56.7989636Z</d2p1:DateTime>
    <d2p1:OffsetMinutes>0</d2p1:OffsetMinutes>
  </CreatedDate>
  <IsActive>true</IsActive>
  <IsCarrier>true</IsCarrier>
  <PayableTypeDescription>sample string 3</PayableTypeDescription>
  <PayableTypeID>1</PayableTypeID>
  <PayableTypeName>sample string 2</PayableTypeName>
  <UpdatedBy>8</UpdatedBy>
  <UpdatedDate xmlns:d2p1="http://schemas.datacontract.org/2004/07/System">
    <d2p1:DateTime>2025-12-06T23:40:56.7989636Z</d2p1:DateTime>
    <d2p1:OffsetMinutes>0</d2p1:OffsetMinutes>
  </UpdatedDate>
</cfgPayableTypeDb>

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

Response Information

Resource Description

UpsertRetOfcfgPayableTypeDb
NameDescriptionTypeAdditional information
returnID

integer

None.

results

Collection of ValidationResult

None.

returnItem

cfgPayableTypeDb

None.

displayMessage

string

None.

Response Formats

application/json, text/json

Sample:
{
  "returnID": 1,
  "results": null,
  "returnItem": {
    "results": null,
    "PayableTypeID": 1,
    "PayableTypeName": "sample string 2",
    "PayableTypeDescription": "sample string 3",
    "ChargeServiceCode": 1,
    "IsActive": true,
    "IsCarrier": true,
    "CreatedBy": 6,
    "CreatedDate": "2025-12-06T23:40:56.7989636+00:00",
    "UpdatedBy": 8,
    "UpdatedDate": "2025-12-06T23:40:56.7989636+00:00"
  },
  "displayMessage": "sample string 1"
}

application/xml, text/xml

Sample:
<UpsertRetOfcfgPayableTypeDb66KPc_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:ChargeServiceCode>1</d2p1:ChargeServiceCode>
    <d2p1:CreatedBy>6</d2p1:CreatedBy>
    <d2p1:CreatedDate xmlns:d3p1="http://schemas.datacontract.org/2004/07/System">
      <d3p1:DateTime>2025-12-06T23:40:56.7989636Z</d3p1:DateTime>
      <d3p1:OffsetMinutes>0</d3p1:OffsetMinutes>
    </d2p1:CreatedDate>
    <d2p1:IsActive>true</d2p1:IsActive>
    <d2p1:IsCarrier>true</d2p1:IsCarrier>
    <d2p1:PayableTypeDescription>sample string 3</d2p1:PayableTypeDescription>
    <d2p1:PayableTypeID>1</d2p1:PayableTypeID>
    <d2p1:PayableTypeName>sample string 2</d2p1:PayableTypeName>
    <d2p1:UpdatedBy>8</d2p1:UpdatedBy>
    <d2p1:UpdatedDate xmlns:d3p1="http://schemas.datacontract.org/2004/07/System">
      <d3p1:DateTime>2025-12-06T23:40:56.7989636Z</d3p1:DateTime>
      <d3p1:OffsetMinutes>0</d3p1:OffsetMinutes>
    </d2p1:UpdatedDate>
  </returnItem>
</UpsertRetOfcfgPayableTypeDb66KPc_SrH>