PUT api/buildings/{buildingId}/copychanges
Updating a Building and copy changes to buildings
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| buildingId |
|
integer |
Required |
Body Parameters
BuildingUpdateAndCopyViewModel| Name | Description | Type | Additional information |
|---|---|---|---|
| BuildingToUpdate |
|
BuildingUpdateViewModel |
None. |
| BuildingIdsToCopy |
|
Collection of integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"buildingToUpdate": {
"name": "sample string 1",
"buildingTypeId": 1,
"block": "sample string 2",
"lot": "sample string 3",
"effectiveDate": "2025-10-29T04:44:45.3581168-04:00",
"terminationDate": "2025-10-29T04:44:45.3581168-04:00",
"areaUnitOfMeasureId": 4,
"corporateBillingId": 5,
"requireCollectionsApproval": true,
"active": true,
"writeOffBalance": 8.0,
"address": {
"address1": "sample string 1",
"address2": "sample string 2",
"city": "sample string 3",
"state": "sample string 4",
"zipCode": "sample string 5",
"country": "sample string 6"
},
"residentBillingId": 9,
"baseChargeCodeId": 10,
"statementNoteId": 1,
"monthlyChargeDate": "2025-10-29T04:44:45.3581168-04:00",
"statementApprovalId": 11,
"bankCodeID": 12,
"saBankCodeID": 1,
"checkFee": 1.0,
"chargeBackFeeAmount": 1.0,
"statementDay": 1,
"vacancyLoss": true,
"supportSubtenant": true,
"areRecurringChargesRounded": true,
"supportConsolidatedBilling": true,
"parkingSpaceAttached": true
},
"buildingIdsToCopy": [
1,
2
]
}
application/xml, text/xml
Sample:
<BuildingUpdateAndCopyViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CamAcctApi.ViewModels">
<BuildingIdsToCopy xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:int>1</d2p1:int>
<d2p1:int>2</d2p1:int>
</BuildingIdsToCopy>
<BuildingToUpdate>
<Active>true</Active>
<Address xmlns:d3p1="http://schemas.datacontract.org/2004/07/CamAcctApi.ViewModels.Address">
<d3p1:Address1>sample string 1</d3p1:Address1>
<d3p1:Address2>sample string 2</d3p1:Address2>
<d3p1:City>sample string 3</d3p1:City>
<d3p1:Country>sample string 6</d3p1:Country>
<d3p1:State>sample string 4</d3p1:State>
<d3p1:ZipCode>sample string 5</d3p1:ZipCode>
</Address>
<AreRecurringChargesRounded>true</AreRecurringChargesRounded>
<AreaUnitOfMeasureId>4</AreaUnitOfMeasureId>
<BankCodeID>12</BankCodeID>
<BaseChargeCodeId>10</BaseChargeCodeId>
<Block>sample string 2</Block>
<BuildingTypeId>1</BuildingTypeId>
<ChargeBackFeeAmount>1</ChargeBackFeeAmount>
<CheckFee>1</CheckFee>
<CorporateBillingId>5</CorporateBillingId>
<EffectiveDate>2025-10-29T04:44:45.3581168-04:00</EffectiveDate>
<Lot>sample string 3</Lot>
<MonthlyChargeDate>2025-10-29T04:44:45.3581168-04:00</MonthlyChargeDate>
<Name>sample string 1</Name>
<ParkingSpaceAttached>true</ParkingSpaceAttached>
<RequireCollectionsApproval>true</RequireCollectionsApproval>
<ResidentBillingId>9</ResidentBillingId>
<SaBankCodeID>1</SaBankCodeID>
<StatementApprovalId>11</StatementApprovalId>
<StatementDay>1</StatementDay>
<StatementNoteId>1</StatementNoteId>
<SupportConsolidatedBilling>true</SupportConsolidatedBilling>
<SupportSubtenant>true</SupportSubtenant>
<TerminationDate>2025-10-29T04:44:45.3581168-04:00</TerminationDate>
<VacancyLoss>true</VacancyLoss>
<WriteOffBalance>8</WriteOffBalance>
</BuildingToUpdate>
</BuildingUpdateAndCopyViewModel>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.