Get multiple Apartment Entities with link_id
Get multiple Apartment Entities with link_id
.
Query Parameters
- limit integer
Possible values: [
10
,20
,30
,50
]Number of items. Value by default is 10
- page_number integer
Possible values:
>= 1
Page number
- sort_field string
Field name (JSON Key in item entity)
- sort_type string
Possible values: [
asc
,desc
]Default value:
asc
Sort type (asc/desc)
- filter object
Filtering options for Apartment
Responses
- 200
- 401
- 403
OK
- application/json
- Schema
- Example (from schema)
- Example
- Example A A-14 F B
Schema
- list_items object[]
{
"list_items": [
{
"apartment_address": {
"building": 1,
"unit": 1,
"floor": 1,
"room": 1
},
"apartment_name": "221B Baker Street",
"residents": {
"count": 3
},
"photo_path": "/files?imagePath=apartment-1-1-1-1.jpg",
"route_path": "/files?imagePath=route-1-1-1-1.webp",
"link_id": "91c615e3-1040-4815-8ecb-039a18b756b5"
}
]
}
{
"list_option": {
"pagination": {
"total_pages": 1,
"items_limit": 10,
"total_items": 2,
"current_page": 1
},
"filter": {
"is_filtered": false,
"available_filtering": true,
"available_fields": [
"apartment_name",
"apartment_address",
"residents",
"link_id"
]
},
"sort": {
"asc": true,
"field": "apartment_address",
"available_fields": "[apartment_name, apartment_address, residents]"
}
},
"list_items": [
{
"link_id": "8e4c043b-12f8-4863-81b5-529727f6bf6e",
"apartment_name": "202 Baker Street",
"apartment_address": {
"floor": 1,
"unit": 1,
"building": 1,
"room": 1
},
"forward": {
"exist": false
},
"identifiers": {
"physicals": {
"count": 1,
"uid_items": [
1
],
"link_ids": [
"8e4c043b-12f8-4863-81b5-529727f6bf6e"
]
},
"input_numbers": {
"count": 0,
"uid_items": [],
"link_ids": []
}
},
"residents": {
"count": 1
}
},
{
"link_id": "fd7f5a4c-780e-43ac-b2a6-3b0de9078582",
"apartment_name": "203 Baker Street",
"apartment_address": {
"floor": 1,
"unit": 1,
"building": 1,
"room": 2
},
"forward": {
"exist": false
},
"identifiers": {
"physicals": {
"count": 1,
"uid_items": [
2
],
"link_ids": []
},
"input_numbers": {
"count": 1,
"uid_items": [
3
],
"link_ids": []
}
},
"residents": {
"count": 1
}
}
]
}
{
"list_option": {
"pagination": {
"total_pages": 1,
"items_limit": 10,
"total_items": 2,
"current_page": 1
},
"filter": {
"is_filtered": false,
"available_filtering": true,
"available_fields": [
"apartment_name",
"apartment_address",
"residents",
"link_id"
]
},
"sort": {
"asc": true,
"field": "apartment_address",
"available_fields": "[apartment_name, apartment_address, residents]"
}
},
"list_items": [
{
"link_id": "8e4c043b-12f8-4863-81b5-529727f6bf6e",
"apartment_address": {
"building": 1,
"unit": 1,
"floor": 1,
"room": 1
},
"apartment_name": "221A Baker Street",
"residents": {
"count": 3
},
"photo_path": "/files?imagePath=apartment-1-1-1-1.jpg",
"route_path": "/files?imagePath=route-1-1-1-1.webp",
"identifiers": {
"physicals": {
"count": 0,
"uid_items": [],
"link_ids": []
},
"input_numbers": {
"count": 0,
"uid_items": [],
"link_ids": []
}
},
"forward": {
"count": 5
}
},
{
"link_id": "fd7f5a4c-780e-43ac-b2a6-3b0de9078582",
"apartment_address": {
"building": 1,
"unit": 1,
"floor": 1,
"room": 2
},
"apartment_name": "221B Baker Street",
"residents": {
"count": 4
},
"item_uid": 2,
"photo_path": "/files?imagePath=apartment-1-1-1-2.jpg",
"route_path": "/files?imagePath=route-1-1-1-2.webp",
"identifiers": {
"physicals": {
"count": 0,
"uid_items": [],
"link_ids": []
},
"input_numbers": {
"count": 0,
"uid_items": [],
"link_ids": []
}
},
"forward": {
"count": 5
}
}
]
}
Unauthorized
- application/json
- Schema
- Example (from schema)
- Example
Schema
- error string
{
"error": "Log In"
}
{
"error": "Log In"
}
Forbidden
- application/json
- Schema
- Example (from schema)
- Example
Schema
- error string
{
"error": "Administrator rights required"
}
{
"error": "Administrator rights required"
}
Loading...