GET api/buildings/{buildingId}/vendorchargebacks
Get all vendor chargeback by buildingId
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
buildingId |
|
integer |
Required |
Body Parameters
None.
Response Information
Resource Description
List of BuildingVendorChargebackViewModel
Collection of BuildingVendorChargebackViewModelName | Description | Type | Additional information |
---|---|---|---|
Id |
IdBuildingVendorChargeback |
integer |
None. |
BuildingId |
BuildingId |
integer |
None. |
ChargeCodeId |
ChargeCodeId |
integer |
None. |
DisplayCode |
DisplayCode |
string |
None. |
ChargeCodeDescription |
ChargeCodeDescription |
string |
None. |
VendorId |
VendorId |
integer |
None. |
VendorName |
VendorName |
string |
None. |
Response Formats
application/json, text/json
[ { "id": 1, "buildingId": 2, "chargeCodeId": 3, "displayCode": "sample string 4", "chargeCodeDescription": "sample string 5", "vendorId": 6, "vendorName": "sample string 7" }, { "id": 1, "buildingId": 2, "chargeCodeId": 3, "displayCode": "sample string 4", "chargeCodeDescription": "sample string 5", "vendorId": 6, "vendorName": "sample string 7" } ]
application/xml, text/xml
<ArrayOfBuildingVendorChargebackViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CamAcctApi.ViewModels"> <BuildingVendorChargebackViewModel> <BuildingId>2</BuildingId> <ChargeCodeDescription>sample string 5</ChargeCodeDescription> <ChargeCodeId>3</ChargeCodeId> <DisplayCode>sample string 4</DisplayCode> <Id>1</Id> <VendorId>6</VendorId> <VendorName>sample string 7</VendorName> </BuildingVendorChargebackViewModel> <BuildingVendorChargebackViewModel> <BuildingId>2</BuildingId> <ChargeCodeDescription>sample string 5</ChargeCodeDescription> <ChargeCodeId>3</ChargeCodeId> <DisplayCode>sample string 4</DisplayCode> <Id>1</Id> <VendorId>6</VendorId> <VendorName>sample string 7</VendorName> </BuildingVendorChargebackViewModel> </ArrayOfBuildingVendorChargebackViewModel>