PUT api/residents/{residentId}/creditHistory/{residentCreditHistoryId}

Save Resident Credit History

Request Information

URI Parameters

NameDescriptionTypeAdditional information
residentId

integer

Required

residentCreditHistoryId

integer

Required

Body Parameters

SaveResidentCreditHistoryViewModel
NameDescriptionTypeAdditional information
CreditHistoryCodeId

CreditHistoryCodeId

integer

Required

Range: inclusive between 1 and 2147483647

Note

Note

string

Max length: 1000

EffectiveDate

EffectiveDate

string

Required

CollectionsAgentId

CollectionsAgentId

integer

Range: inclusive between 0 and 2147483647

Request Formats

application/json, text/json

Sample:
{
  "creditHistoryCodeId": 1,
  "note": "sample string 1",
  "effectiveDate": "sample string 2",
  "collectionsAgentId": 1
}

application/xml, text/xml

Sample:
<SaveResidentCreditHistoryViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CamAcctApi.ViewModels">
  <CollectionsAgentId>1</CollectionsAgentId>
  <CreditHistoryCodeId>1</CreditHistoryCodeId>
  <EffectiveDate>sample string 2</EffectiveDate>
  <Note>sample string 1</Note>
</SaveResidentCreditHistoryViewModel>

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

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.