GET api/v1/{facilityId}/units/{unitId}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| facilityId | globally unique identifier |
Required |
|
| unitId | 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": "91f20671-ecf6-472b-9829-63ca582ebb39",
"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": "d885d6d6-dec9-4c6b-a7cc-230102f38fb5",
"current_tenant_id": "fb8b2582-8c69-48a2-abe0-a940c096e9a5",
"combination_lock_number": null,
"attribute_description": null,
"deleted": true,
"damaged": true,
"complimentary": true,
"unrentable": true,
"company_owned": false,
"channel_rate": null,
"unit_amenities": [
{
"id": "3d21c1d6-122d-4e2e-9d5f-2f33b13f6633",
"name": "sample string 2",
"short_code": {},
"show_in_sales_center_filter_dropdown": true,
"deleted": true
},
{
"id": "3d21c1d6-122d-4e2e-9d5f-2f33b13f6633",
"name": "sample string 2",
"short_code": {},
"show_in_sales_center_filter_dropdown": true,
"deleted": true
}
],
"unit_type": {
"id": "2f660c05-24f8-48b6-a00c-f56bde9f3670",
"name": "sample string 2",
"deleted": true,
"internal_account_code": "sample string 4",
"code_and_description": "sample string 5"
},
"unit_group_id": "7653d53f-409f-4618-a68c-8b75652ca570"
},
"units": [
{
"id": "91f20671-ecf6-472b-9829-63ca582ebb39",
"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": "d885d6d6-dec9-4c6b-a7cc-230102f38fb5",
"current_tenant_id": "fb8b2582-8c69-48a2-abe0-a940c096e9a5",
"combination_lock_number": null,
"attribute_description": null,
"deleted": true,
"damaged": true,
"complimentary": true,
"unrentable": true,
"company_owned": false,
"channel_rate": null,
"unit_amenities": [
{
"id": "3d21c1d6-122d-4e2e-9d5f-2f33b13f6633",
"name": "sample string 2",
"short_code": {},
"show_in_sales_center_filter_dropdown": true,
"deleted": true
},
{
"id": "3d21c1d6-122d-4e2e-9d5f-2f33b13f6633",
"name": "sample string 2",
"short_code": {},
"show_in_sales_center_filter_dropdown": true,
"deleted": true
}
],
"unit_type": {
"id": "2f660c05-24f8-48b6-a00c-f56bde9f3670",
"name": "sample string 2",
"deleted": true,
"internal_account_code": "sample string 4",
"code_and_description": "sample string 5"
},
"unit_group_id": "7653d53f-409f-4618-a68c-8b75652ca570"
},
{
"id": "91f20671-ecf6-472b-9829-63ca582ebb39",
"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": "d885d6d6-dec9-4c6b-a7cc-230102f38fb5",
"current_tenant_id": "fb8b2582-8c69-48a2-abe0-a940c096e9a5",
"combination_lock_number": null,
"attribute_description": null,
"deleted": true,
"damaged": true,
"complimentary": true,
"unrentable": true,
"company_owned": false,
"channel_rate": null,
"unit_amenities": [
{
"id": "3d21c1d6-122d-4e2e-9d5f-2f33b13f6633",
"name": "sample string 2",
"short_code": {},
"show_in_sales_center_filter_dropdown": true,
"deleted": true
},
{
"id": "3d21c1d6-122d-4e2e-9d5f-2f33b13f6633",
"name": "sample string 2",
"short_code": {},
"show_in_sales_center_filter_dropdown": true,
"deleted": true
}
],
"unit_type": {
"id": "2f660c05-24f8-48b6-a00c-f56bde9f3670",
"name": "sample string 2",
"deleted": true,
"internal_account_code": "sample string 4",
"code_and_description": "sample string 5"
},
"unit_group_id": "7653d53f-409f-4618-a68c-8b75652ca570"
}
],
"meta": {
"message": "sample string 1",
"status_code": 2,
"request_id": "29aaaad6-9777-4a6f-8394-39103e749b51",
"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>29aaaad6-9777-4a6f-8394-39103e749b51</RequestId>
<RequestMethod>sample string 4</RequestMethod>
</Meta>
<Unit>
<AccessType>sample string 5</AccessType>
<Area>1</Area>
<AvailableForMoveIn>true</AvailableForMoveIn>
<Complimentary>true</Complimentary>
<CurrentLedgerId>d885d6d6-dec9-4c6b-a7cc-230102f38fb5</CurrentLedgerId>
<CurrentTenantId>fb8b2582-8c69-48a2-abe0-a940c096e9a5</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>3d21c1d6-122d-4e2e-9d5f-2f33b13f6633</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>3d21c1d6-122d-4e2e-9d5f-2f33b13f6633</d3p1:Id>
<d3p1:Name>sample string 2</d3p1:Name>
<d3p1:ShortCode />
<d3p1:ShowInSalesCenterFilterDropdown>true</d3p1:ShowInSalesCenterFilterDropdown>
</d3p1:UnitAmenity>
</UnitAmenities>
<UnitGroupId>7653d53f-409f-4618-a68c-8b75652ca570</UnitGroupId>
<UnitId>91f20671-ecf6-472b-9829-63ca582ebb39</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>2f660c05-24f8-48b6-a00c-f56bde9f3670</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>d885d6d6-dec9-4c6b-a7cc-230102f38fb5</CurrentLedgerId>
<CurrentTenantId>fb8b2582-8c69-48a2-abe0-a940c096e9a5</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>3d21c1d6-122d-4e2e-9d5f-2f33b13f6633</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>3d21c1d6-122d-4e2e-9d5f-2f33b13f6633</d4p1:Id>
<d4p1:Name>sample string 2</d4p1:Name>
<d4p1:ShortCode />
<d4p1:ShowInSalesCenterFilterDropdown>true</d4p1:ShowInSalesCenterFilterDropdown>
</d4p1:UnitAmenity>
</UnitAmenities>
<UnitGroupId>7653d53f-409f-4618-a68c-8b75652ca570</UnitGroupId>
<UnitId>91f20671-ecf6-472b-9829-63ca582ebb39</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>2f660c05-24f8-48b6-a00c-f56bde9f3670</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>d885d6d6-dec9-4c6b-a7cc-230102f38fb5</CurrentLedgerId>
<CurrentTenantId>fb8b2582-8c69-48a2-abe0-a940c096e9a5</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>3d21c1d6-122d-4e2e-9d5f-2f33b13f6633</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>3d21c1d6-122d-4e2e-9d5f-2f33b13f6633</d4p1:Id>
<d4p1:Name>sample string 2</d4p1:Name>
<d4p1:ShortCode />
<d4p1:ShowInSalesCenterFilterDropdown>true</d4p1:ShowInSalesCenterFilterDropdown>
</d4p1:UnitAmenity>
</UnitAmenities>
<UnitGroupId>7653d53f-409f-4618-a68c-8b75652ca570</UnitGroupId>
<UnitId>91f20671-ecf6-472b-9829-63ca582ebb39</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>2f660c05-24f8-48b6-a00c-f56bde9f3670</d4p1:Id>
<d4p1:InternalAccountCode>sample string 4</d4p1:InternalAccountCode>
<d4p1:Name>sample string 2</d4p1:Name>
</UnitType>
<Width>1</Width>
</UnitResponseDataModel>
</Units>
</UnitResponseModel>