POST api/chargeCodes/export

exports to csv

Request Information

URI Parameters

None.

Body Parameters

ChargeCodesRequestViewModel
NameDescriptionTypeAdditional information
ChargeCodeIds

Collection of integer

None.

EntityId

integer

None.

VacancyLoss

integer

None.

PrepaymentApplicable

integer

None.

ApplyInMonthlyCharges

integer

None.

ChargeCodeTypeIds

Collection of integer

None.

CorporateBillingIds

Collection of integer

None.

FirstMonthIds

Collection of integer

None.

FeeScheduleIds

Collection of integer

None.

SortInformation

SortInformationViewModel

None.

Request Formats

application/json, text/json

Sample:
{
  "chargeCodeIds": [
    1,
    2
  ],
  "entityId": 1,
  "vacancyLoss": 1,
  "prepaymentApplicable": 1,
  "applyInMonthlyCharges": 1,
  "chargeCodeTypeIds": [
    1,
    2
  ],
  "corporateBillingIds": [
    1,
    2
  ],
  "firstMonthIds": [
    1,
    2
  ],
  "feeScheduleIds": [
    1,
    2
  ],
  "sortInformation": {
    "sortBy": "sample string 1",
    "isSortAscending": true
  }
}

application/xml, text/xml

Sample:
<ChargeCodesRequestViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CamAcctApi.ViewModels.ChargeCode">
  <ApplyInMonthlyCharges>1</ApplyInMonthlyCharges>
  <ChargeCodeIds xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:int>1</d2p1:int>
    <d2p1:int>2</d2p1:int>
  </ChargeCodeIds>
  <ChargeCodeTypeIds xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:int>1</d2p1:int>
    <d2p1:int>2</d2p1:int>
  </ChargeCodeTypeIds>
  <CorporateBillingIds xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:int>1</d2p1:int>
    <d2p1:int>2</d2p1:int>
  </CorporateBillingIds>
  <EntityId>1</EntityId>
  <FeeScheduleIds xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:int>1</d2p1:int>
    <d2p1:int>2</d2p1:int>
  </FeeScheduleIds>
  <FirstMonthIds xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:int>1</d2p1:int>
    <d2p1:int>2</d2p1:int>
  </FirstMonthIds>
  <PrepaymentApplicable>1</PrepaymentApplicable>
  <SortInformation xmlns:d2p1="http://schemas.datacontract.org/2004/07/CamAcctApi.ViewModels.SortInformation">
    <d2p1:IsSortAscending>true</d2p1:IsSortAscending>
    <d2p1:SortBy>sample string 1</d2p1:SortBy>
  </SortInformation>
  <VacancyLoss>1</VacancyLoss>
</ChargeCodesRequestViewModel>

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

Response Information

Resource Description

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.