GET api/chargecodetypes/{id}

GET: api/chargecodetypes/{id} Get the item information by the Id

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

integer

Required

Body Parameters

None.

Response Information

Resource Description

ChargeCodeTypeViewModel

ChargeCodeTypeViewModel
NameDescriptionTypeAdditional information
ChargeCodeTypeId

ChargeCodeTypeId

integer

None.

TypeDescription

TypeDescription

string

Required

Max length: 50

PrepayApplicable

PrepayApplicable

integer

Required

Range: inclusive between 1 and 1.79769313486232E+308

Display

Display

integer

Required

Range: inclusive between 1 and 1.79769313486232E+308

ChargeCodes

ChargeCodes

Collection of ChargeCodeViewModel

None.

Response Formats

application/json, text/json

Sample:
{
  "chargeCodeTypeId": 1,
  "typeDescription": "sample string 2",
  "prepayApplicable": 3,
  "display": 4,
  "chargeCodes": [
    {
      "id": 1,
      "displayCode": "sample string 2",
      "chargeCodeDescription": "sample string 3",
      "vacancyLoss": 4,
      "firstMonth": 1,
      "prepaymentApplicable": 5,
      "applyinMonthlyCharges": 6,
      "feeScheduleId": 1,
      "isAutoAssigned": true
    },
    {
      "id": 1,
      "displayCode": "sample string 2",
      "chargeCodeDescription": "sample string 3",
      "vacancyLoss": 4,
      "firstMonth": 1,
      "prepaymentApplicable": 5,
      "applyinMonthlyCharges": 6,
      "feeScheduleId": 1,
      "isAutoAssigned": true
    }
  ]
}

application/xml, text/xml

Sample:
<ChargeCodeTypeViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CamAcctApi.ViewModels.ChargeCodeType">
  <ChargeCodeTypeId>1</ChargeCodeTypeId>
  <ChargeCodes xmlns:d2p1="http://schemas.datacontract.org/2004/07/CamAcctApi.ViewModels">
    <d2p1:ChargeCodeViewModel>
      <d2p1:ApplyinMonthlyCharges>6</d2p1:ApplyinMonthlyCharges>
      <d2p1:ChargeCodeDescription>sample string 3</d2p1:ChargeCodeDescription>
      <d2p1:DisplayCode>sample string 2</d2p1:DisplayCode>
      <d2p1:FeeScheduleId>1</d2p1:FeeScheduleId>
      <d2p1:FirstMonth>1</d2p1:FirstMonth>
      <d2p1:Id>1</d2p1:Id>
      <d2p1:IsAutoAssigned>true</d2p1:IsAutoAssigned>
      <d2p1:PrepaymentApplicable>5</d2p1:PrepaymentApplicable>
      <d2p1:VacancyLoss>4</d2p1:VacancyLoss>
    </d2p1:ChargeCodeViewModel>
    <d2p1:ChargeCodeViewModel>
      <d2p1:ApplyinMonthlyCharges>6</d2p1:ApplyinMonthlyCharges>
      <d2p1:ChargeCodeDescription>sample string 3</d2p1:ChargeCodeDescription>
      <d2p1:DisplayCode>sample string 2</d2p1:DisplayCode>
      <d2p1:FeeScheduleId>1</d2p1:FeeScheduleId>
      <d2p1:FirstMonth>1</d2p1:FirstMonth>
      <d2p1:Id>1</d2p1:Id>
      <d2p1:IsAutoAssigned>true</d2p1:IsAutoAssigned>
      <d2p1:PrepaymentApplicable>5</d2p1:PrepaymentApplicable>
      <d2p1:VacancyLoss>4</d2p1:VacancyLoss>
    </d2p1:ChargeCodeViewModel>
  </ChargeCodes>
  <Display>4</Display>
  <PrepayApplicable>3</PrepayApplicable>
  <TypeDescription>sample string 2</TypeDescription>
</ChargeCodeTypeViewModel>