GET api/v1/{facilityId}/units
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| facilityId | globally unique identifier |
Required |
Body Parameters
None.
Response Information
Resource Description
UnitResponseModel| Name | Description | Type | Additional information |
|---|---|---|---|
| unit | UnitResponseDataModel |
None. |
|
| units | Collection of UnitResponseDataModel |
None. |
|
| meta | ApiResponseMeta |
None. |
Response Formats
application/json, text/json
Sample:
{
"unit": {
"id": "72e05ad4-1bbe-49b6-8880-dd6cfacdd118",
"price": 1.0,
"name": "sample string 2",
"description": "sample string 3",
"width": 1.0,
"length": 1.0,
"height": 1.0,
"door_height": 1.0,
"door_width": 1.0,
"door_type": "sample string 4",
"access_type": "sample string 5",
"floor": 1,
"directions": null,
"size": "sample string 6",
"area": 1.0,
"managed_rate": 1.0,
"standard_rate": 1.0,
"available_for_move_in": true,
"rentable": true,
"status": "sample string 9",
"payment_status": null,
"current_ledger_id": "d1fdedc9-ff15-4775-bdc5-6aae53108399",
"current_tenant_id": "152a7a92-cbee-449c-bc72-1309a70ee48e",
"combination_lock_number": null,
"attribute_description": null,
"deleted": true,
"damaged": true,
"complimentary": true,
"unrentable": true,
"company_owned": false,
"channel_rate": null,
"unit_amenities": [
{
"id": "b877ab64-8323-4b9e-b866-536a05599b90",
"name": "sample string 2",
"short_code": {},
"show_in_sales_center_filter_dropdown": true,
"deleted": true
},
{
"id": "b877ab64-8323-4b9e-b866-536a05599b90",
"name": "sample string 2",
"short_code": {},
"show_in_sales_center_filter_dropdown": true,
"deleted": true
}
],
"unit_type": {
"id": "f3882efc-8657-4fe9-b63b-a043fee1aa37",
"name": "sample string 2",
"deleted": true,
"internal_account_code": "sample string 4",
"code_and_description": "sample string 5"
},
"unit_group_id": "25c77dd8-a290-46b7-9687-17a32e1eed19"
},
"units": [
{
"id": "72e05ad4-1bbe-49b6-8880-dd6cfacdd118",
"price": 1.0,
"name": "sample string 2",
"description": "sample string 3",
"width": 1.0,
"length": 1.0,
"height": 1.0,
"door_height": 1.0,
"door_width": 1.0,
"door_type": "sample string 4",
"access_type": "sample string 5",
"floor": 1,
"directions": null,
"size": "sample string 6",
"area": 1.0,
"managed_rate": 1.0,
"standard_rate": 1.0,
"available_for_move_in": true,
"rentable": true,
"status": "sample string 9",
"payment_status": null,
"current_ledger_id": "d1fdedc9-ff15-4775-bdc5-6aae53108399",
"current_tenant_id": "152a7a92-cbee-449c-bc72-1309a70ee48e",
"combination_lock_number": null,
"attribute_description": null,
"deleted": true,
"damaged": true,
"complimentary": true,
"unrentable": true,
"company_owned": false,
"channel_rate": null,
"unit_amenities": [
{
"id": "b877ab64-8323-4b9e-b866-536a05599b90",
"name": "sample string 2",
"short_code": {},
"show_in_sales_center_filter_dropdown": true,
"deleted": true
},
{
"id": "b877ab64-8323-4b9e-b866-536a05599b90",
"name": "sample string 2",
"short_code": {},
"show_in_sales_center_filter_dropdown": true,
"deleted": true
}
],
"unit_type": {
"id": "f3882efc-8657-4fe9-b63b-a043fee1aa37",
"name": "sample string 2",
"deleted": true,
"internal_account_code": "sample string 4",
"code_and_description": "sample string 5"
},
"unit_group_id": "25c77dd8-a290-46b7-9687-17a32e1eed19"
},
{
"id": "72e05ad4-1bbe-49b6-8880-dd6cfacdd118",
"price": 1.0,
"name": "sample string 2",
"description": "sample string 3",
"width": 1.0,
"length": 1.0,
"height": 1.0,
"door_height": 1.0,
"door_width": 1.0,
"door_type": "sample string 4",
"access_type": "sample string 5",
"floor": 1,
"directions": null,
"size": "sample string 6",
"area": 1.0,
"managed_rate": 1.0,
"standard_rate": 1.0,
"available_for_move_in": true,
"rentable": true,
"status": "sample string 9",
"payment_status": null,
"current_ledger_id": "d1fdedc9-ff15-4775-bdc5-6aae53108399",
"current_tenant_id": "152a7a92-cbee-449c-bc72-1309a70ee48e",
"combination_lock_number": null,
"attribute_description": null,
"deleted": true,
"damaged": true,
"complimentary": true,
"unrentable": true,
"company_owned": false,
"channel_rate": null,
"unit_amenities": [
{
"id": "b877ab64-8323-4b9e-b866-536a05599b90",
"name": "sample string 2",
"short_code": {},
"show_in_sales_center_filter_dropdown": true,
"deleted": true
},
{
"id": "b877ab64-8323-4b9e-b866-536a05599b90",
"name": "sample string 2",
"short_code": {},
"show_in_sales_center_filter_dropdown": true,
"deleted": true
}
],
"unit_type": {
"id": "f3882efc-8657-4fe9-b63b-a043fee1aa37",
"name": "sample string 2",
"deleted": true,
"internal_account_code": "sample string 4",
"code_and_description": "sample string 5"
},
"unit_group_id": "25c77dd8-a290-46b7-9687-17a32e1eed19"
}
],
"meta": {
"message": "sample string 1",
"status_code": 2,
"request_id": "0d582649-8924-4b53-9f2b-e6942588100f",
"error_code": 1,
"status_message": "sample string 3",
"status_cat": "http://httpcats.herokuapp.com/2",
"request_method": "sample string 4",
"pagination": {
"current_page": 1,
"total_pages": 1,
"per_page": 1,
"total_entries": 1,
"previous_page": 1,
"next_page": 1
},
"parameters": {}
}
}
application/xml, text/xml
Sample:
<UnitResponseModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Ross.SSPMS.Services.Models.ShieldAPI.Units">
<Meta xmlns="http://schemas.datacontract.org/2004/07/Ross.SSPMS.Services.Models.ShieldAPI.ApiResponseBase">
<ErrorCode>1</ErrorCode>
<HttpStatusCode>2</HttpStatusCode>
<HttpStatusMessage>sample string 3</HttpStatusMessage>
<Message>sample string 1</Message>
<PaginationData>
<CurrentPage>1</CurrentPage>
<NextPage>1</NextPage>
<PerPage>1</PerPage>
<PreviousPage>1</PreviousPage>
<TotalEntries>1</TotalEntries>
<TotalPages>1</TotalPages>
</PaginationData>
<Parameters xmlns:d3p1="http://schemas.datacontract.org/2004/07/Ross.SSPMS.Services.Models.ShieldAPI.ApiResponseBase.ParameterClasses" />
<RequestId>0d582649-8924-4b53-9f2b-e6942588100f</RequestId>
<RequestMethod>sample string 4</RequestMethod>
</Meta>
<Unit>
<AccessType>sample string 5</AccessType>
<Area>1</Area>
<AvailableForMoveIn>true</AvailableForMoveIn>
<Complimentary>true</Complimentary>
<CurrentLedgerId>d1fdedc9-ff15-4775-bdc5-6aae53108399</CurrentLedgerId>
<CurrentTenantId>152a7a92-cbee-449c-bc72-1309a70ee48e</CurrentTenantId>
<Damaged>true</Damaged>
<Deleted>true</Deleted>
<Description>sample string 3</Description>
<DoorHeight>1</DoorHeight>
<DoorType>sample string 4</DoorType>
<DoorWidth>1</DoorWidth>
<Floor>1</Floor>
<Height>1</Height>
<InStoreRate>1</InStoreRate>
<IntroRate>1</IntroRate>
<Length>1</Length>
<Name>sample string 2</Name>
<Price>1</Price>
<Rentable>true</Rentable>
<Size>sample string 6</Size>
<Status>sample string 9</Status>
<UnRentable>true</UnRentable>
<UnitAmenities xmlns:d3p1="http://schemas.datacontract.org/2004/07/Ross.SSPMS.Services.Models.ShieldAPI.UnitGroups">
<d3p1:UnitAmenity>
<d3p1:Deleted>true</d3p1:Deleted>
<d3p1:Id>b877ab64-8323-4b9e-b866-536a05599b90</d3p1:Id>
<d3p1:Name>sample string 2</d3p1:Name>
<d3p1:ShortCode />
<d3p1:ShowInSalesCenterFilterDropdown>true</d3p1:ShowInSalesCenterFilterDropdown>
</d3p1:UnitAmenity>
<d3p1:UnitAmenity>
<d3p1:Deleted>true</d3p1:Deleted>
<d3p1:Id>b877ab64-8323-4b9e-b866-536a05599b90</d3p1:Id>
<d3p1:Name>sample string 2</d3p1:Name>
<d3p1:ShortCode />
<d3p1:ShowInSalesCenterFilterDropdown>true</d3p1:ShowInSalesCenterFilterDropdown>
</d3p1:UnitAmenity>
</UnitAmenities>
<UnitGroupId>25c77dd8-a290-46b7-9687-17a32e1eed19</UnitGroupId>
<UnitId>72e05ad4-1bbe-49b6-8880-dd6cfacdd118</UnitId>
<UnitType xmlns:d3p1="http://schemas.datacontract.org/2004/07/Ross.SSPMS.Services.Models.ShieldAPI.UnitGroups">
<d3p1:CodeAndDescription>sample string 5</d3p1:CodeAndDescription>
<d3p1:Deleted>true</d3p1:Deleted>
<d3p1:Id>f3882efc-8657-4fe9-b63b-a043fee1aa37</d3p1:Id>
<d3p1:InternalAccountCode>sample string 4</d3p1:InternalAccountCode>
<d3p1:Name>sample string 2</d3p1:Name>
</UnitType>
<Width>1</Width>
</Unit>
<Units>
<UnitResponseDataModel>
<AccessType>sample string 5</AccessType>
<Area>1</Area>
<AvailableForMoveIn>true</AvailableForMoveIn>
<Complimentary>true</Complimentary>
<CurrentLedgerId>d1fdedc9-ff15-4775-bdc5-6aae53108399</CurrentLedgerId>
<CurrentTenantId>152a7a92-cbee-449c-bc72-1309a70ee48e</CurrentTenantId>
<Damaged>true</Damaged>
<Deleted>true</Deleted>
<Description>sample string 3</Description>
<DoorHeight>1</DoorHeight>
<DoorType>sample string 4</DoorType>
<DoorWidth>1</DoorWidth>
<Floor>1</Floor>
<Height>1</Height>
<InStoreRate>1</InStoreRate>
<IntroRate>1</IntroRate>
<Length>1</Length>
<Name>sample string 2</Name>
<Price>1</Price>
<Rentable>true</Rentable>
<Size>sample string 6</Size>
<Status>sample string 9</Status>
<UnRentable>true</UnRentable>
<UnitAmenities xmlns:d4p1="http://schemas.datacontract.org/2004/07/Ross.SSPMS.Services.Models.ShieldAPI.UnitGroups">
<d4p1:UnitAmenity>
<d4p1:Deleted>true</d4p1:Deleted>
<d4p1:Id>b877ab64-8323-4b9e-b866-536a05599b90</d4p1:Id>
<d4p1:Name>sample string 2</d4p1:Name>
<d4p1:ShortCode />
<d4p1:ShowInSalesCenterFilterDropdown>true</d4p1:ShowInSalesCenterFilterDropdown>
</d4p1:UnitAmenity>
<d4p1:UnitAmenity>
<d4p1:Deleted>true</d4p1:Deleted>
<d4p1:Id>b877ab64-8323-4b9e-b866-536a05599b90</d4p1:Id>
<d4p1:Name>sample string 2</d4p1:Name>
<d4p1:ShortCode />
<d4p1:ShowInSalesCenterFilterDropdown>true</d4p1:ShowInSalesCenterFilterDropdown>
</d4p1:UnitAmenity>
</UnitAmenities>
<UnitGroupId>25c77dd8-a290-46b7-9687-17a32e1eed19</UnitGroupId>
<UnitId>72e05ad4-1bbe-49b6-8880-dd6cfacdd118</UnitId>
<UnitType xmlns:d4p1="http://schemas.datacontract.org/2004/07/Ross.SSPMS.Services.Models.ShieldAPI.UnitGroups">
<d4p1:CodeAndDescription>sample string 5</d4p1:CodeAndDescription>
<d4p1:Deleted>true</d4p1:Deleted>
<d4p1:Id>f3882efc-8657-4fe9-b63b-a043fee1aa37</d4p1:Id>
<d4p1:InternalAccountCode>sample string 4</d4p1:InternalAccountCode>
<d4p1:Name>sample string 2</d4p1:Name>
</UnitType>
<Width>1</Width>
</UnitResponseDataModel>
<UnitResponseDataModel>
<AccessType>sample string 5</AccessType>
<Area>1</Area>
<AvailableForMoveIn>true</AvailableForMoveIn>
<Complimentary>true</Complimentary>
<CurrentLedgerId>d1fdedc9-ff15-4775-bdc5-6aae53108399</CurrentLedgerId>
<CurrentTenantId>152a7a92-cbee-449c-bc72-1309a70ee48e</CurrentTenantId>
<Damaged>true</Damaged>
<Deleted>true</Deleted>
<Description>sample string 3</Description>
<DoorHeight>1</DoorHeight>
<DoorType>sample string 4</DoorType>
<DoorWidth>1</DoorWidth>
<Floor>1</Floor>
<Height>1</Height>
<InStoreRate>1</InStoreRate>
<IntroRate>1</IntroRate>
<Length>1</Length>
<Name>sample string 2</Name>
<Price>1</Price>
<Rentable>true</Rentable>
<Size>sample string 6</Size>
<Status>sample string 9</Status>
<UnRentable>true</UnRentable>
<UnitAmenities xmlns:d4p1="http://schemas.datacontract.org/2004/07/Ross.SSPMS.Services.Models.ShieldAPI.UnitGroups">
<d4p1:UnitAmenity>
<d4p1:Deleted>true</d4p1:Deleted>
<d4p1:Id>b877ab64-8323-4b9e-b866-536a05599b90</d4p1:Id>
<d4p1:Name>sample string 2</d4p1:Name>
<d4p1:ShortCode />
<d4p1:ShowInSalesCenterFilterDropdown>true</d4p1:ShowInSalesCenterFilterDropdown>
</d4p1:UnitAmenity>
<d4p1:UnitAmenity>
<d4p1:Deleted>true</d4p1:Deleted>
<d4p1:Id>b877ab64-8323-4b9e-b866-536a05599b90</d4p1:Id>
<d4p1:Name>sample string 2</d4p1:Name>
<d4p1:ShortCode />
<d4p1:ShowInSalesCenterFilterDropdown>true</d4p1:ShowInSalesCenterFilterDropdown>
</d4p1:UnitAmenity>
</UnitAmenities>
<UnitGroupId>25c77dd8-a290-46b7-9687-17a32e1eed19</UnitGroupId>
<UnitId>72e05ad4-1bbe-49b6-8880-dd6cfacdd118</UnitId>
<UnitType xmlns:d4p1="http://schemas.datacontract.org/2004/07/Ross.SSPMS.Services.Models.ShieldAPI.UnitGroups">
<d4p1:CodeAndDescription>sample string 5</d4p1:CodeAndDescription>
<d4p1:Deleted>true</d4p1:Deleted>
<d4p1:Id>f3882efc-8657-4fe9-b63b-a043fee1aa37</d4p1:Id>
<d4p1:InternalAccountCode>sample string 4</d4p1:InternalAccountCode>
<d4p1:Name>sample string 2</d4p1:Name>
</UnitType>
<Width>1</Width>
</UnitResponseDataModel>
</Units>
</UnitResponseModel>