POST api/residentCreditHistory/updateToCurrent

Get residents matching the CL (Cleared) credit history code and insert corresponding new records with CU (Current) credit history code.

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

List of ResidentCreditHistoryViewModel

Collection of ResidentCreditHistoryViewModel
NameDescriptionTypeAdditional information
ResidentCreditHistoryId

ResidentCreditHistoryId

integer

None.

ResidentId

ResidentId

integer

None.

CreatedDate

CreatedDate

date

None.

CreditHistoryCodeId

CreditHistoryCodeId

integer

None.

Note

Note

string

None.

EffectiveDate

EffectiveDate

date

None.

CollectionsAgentId

CollectionsAgentId

integer

None.

UserId

UserId

integer

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "residentCreditHistoryId": 1,
    "residentId": 2,
    "createdDate": "2024-10-14T08:24:14.2424578-04:00",
    "creditHistoryCodeId": 4,
    "note": "sample string 5",
    "effectiveDate": "2024-10-14T08:24:14.2424578-04:00",
    "collectionsAgentId": 1,
    "userId": 1
  },
  {
    "residentCreditHistoryId": 1,
    "residentId": 2,
    "createdDate": "2024-10-14T08:24:14.2424578-04:00",
    "creditHistoryCodeId": 4,
    "note": "sample string 5",
    "effectiveDate": "2024-10-14T08:24:14.2424578-04:00",
    "collectionsAgentId": 1,
    "userId": 1
  }
]

application/xml, text/xml

Sample:
<ArrayOfResidentCreditHistoryViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CamAcctApi.ViewModels">
  <ResidentCreditHistoryViewModel>
    <CollectionsAgentId>1</CollectionsAgentId>
    <CreatedDate>2024-10-14T08:24:14.2424578-04:00</CreatedDate>
    <CreditHistoryCodeId>4</CreditHistoryCodeId>
    <EffectiveDate>2024-10-14T08:24:14.2424578-04:00</EffectiveDate>
    <Note>sample string 5</Note>
    <ResidentCreditHistoryId>1</ResidentCreditHistoryId>
    <ResidentId>2</ResidentId>
    <UserId>1</UserId>
  </ResidentCreditHistoryViewModel>
  <ResidentCreditHistoryViewModel>
    <CollectionsAgentId>1</CollectionsAgentId>
    <CreatedDate>2024-10-14T08:24:14.2424578-04:00</CreatedDate>
    <CreditHistoryCodeId>4</CreditHistoryCodeId>
    <EffectiveDate>2024-10-14T08:24:14.2424578-04:00</EffectiveDate>
    <Note>sample string 5</Note>
    <ResidentCreditHistoryId>1</ResidentCreditHistoryId>
    <ResidentId>2</ResidentId>
    <UserId>1</UserId>
  </ResidentCreditHistoryViewModel>
</ArrayOfResidentCreditHistoryViewModel>