PUT api/collectionsstages

Update a CollectionsStage

Request Information

URI Parameters

None.

Body Parameters

CollectionsStageEditViewModel
NameDescriptionTypeAdditional information
Id

Id

integer

Required

Range: inclusive between 1 and 2147483647

PolicyProfileId

PolicyProfileId

integer

Required

Range: inclusive between 1 and 2147483647

Name

Name

string

Required

Max length: 100

StageDay

StageDay

integer

Required

Range: inclusive between 1 and 365

CalendarDay

CalendarDay

integer

Required

Range: inclusive between 1 and 31

GraceDay

GraceDay

integer

Required

Range: inclusive between 0 and 365

ChargesDateThrough

ChargesDateThrough

integer

Required

Range: inclusive between 0 and 31

IsManual

IsManual

boolean

Required

IsInLegal

IsInLegal

boolean

Required

IncludeDevelopers

IncludeDevelopers

boolean

Required

IsActive

IsActive

boolean

Required

IsParcelIdReq

IsParcelIdReq

boolean

Required

LegalUnitNumber

LegalUnitNumber

boolean

Required

CreditHistoryIds

Collection of integer

None.

SubAccountIds

SubAccountId

Collection of integer

None.

Request Formats

application/json, text/json

Sample:
{
  "id": 1,
  "policyProfileId": 2,
  "name": "sample string 3",
  "stageDay": 4,
  "calendarDay": 5,
  "graceDay": 6,
  "chargesDateThrough": 7,
  "isManual": true,
  "isInLegal": true,
  "includeDevelopers": true,
  "isActive": true,
  "isParcelIdReq": true,
  "legalUnitNumber": true,
  "creditHistoryIds": [
    1,
    2
  ],
  "subAccountIds": [
    1,
    2
  ]
}

application/xml, text/xml

Sample:
<CollectionsStageEditViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CamAcctApi.ViewModels">
  <CalendarDay>5</CalendarDay>
  <ChargesDateThrough>7</ChargesDateThrough>
  <CreditHistoryIds xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:int>1</d2p1:int>
    <d2p1:int>2</d2p1:int>
  </CreditHistoryIds>
  <GraceDay>6</GraceDay>
  <IncludeDevelopers>true</IncludeDevelopers>
  <IsActive>true</IsActive>
  <IsInLegal>true</IsInLegal>
  <IsManual>true</IsManual>
  <IsParcelIdReq>true</IsParcelIdReq>
  <LegalUnitNumber>true</LegalUnitNumber>
  <Name>sample string 3</Name>
  <PolicyProfileId>2</PolicyProfileId>
  <StageDay>4</StageDay>
  <SubAccountIds xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:int>1</d2p1:int>
    <d2p1:int>2</d2p1:int>
  </SubAccountIds>
  <Id>1</Id>
</CollectionsStageEditViewModel>

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

Response Information

Resource Description

CollectionsStageViewModel

boolean

Response Formats

application/json, text/json

Sample:
true

application/xml, text/xml

Sample:
<boolean xmlns="http://schemas.microsoft.com/2003/10/Serialization/">true</boolean>