Inventories
Document where all tangible assets and the existence of a property are recorded and the information of who signed it.
Detail inventory
GET
/inventory/detail/{inventoryId}
Complete detail of an inventory, with basic information about the property, the number of levels that make it up. It also has the environments and the items that make it up, providing comments, quantities, description and photos. ⁉️ The level attribute of the environments indicates the level at which it is located within the house.
Path Parameters
inventoryId*
uuid
Unique identifier of inventory
{
"InventoryId": "305eeaf7-8ef7-4872-b0e3-306e8abf12d7",
"InventoryType": 1,
"RentalPrice": "300",
"IsSigned": false,
"Approval_Code": null,
"CreationDate": "2020-09-21T19:27:27.330Z",
"SignatureDate": null,
"EnvironmentDiagnostics": [
{
"Description": "",
"EnvironmentName": "ALCOBA PRINCIPAL",
"ItemDiagnostic": [
{
"Description": "",
"Rating": 1,
"Order": null,
"ToRepair": false,
"ItemName": "PASADOR",
"Material": {
"MaterialName": "Metálica"
},
"Photo": []
},
{
"Description": "",
"Rating": 4,
"Order": null,
"ToRepair": false,
"ItemName": "PUERTA",
"Material": {
"MaterialName": "Concreto"
},
"Photo": [
{
"StorageReference": "16821f1a-df5e-4035-a64e-e04577bccc2e.jpg"
}
]
},
{
"Description": "se reparo piso por parte del propietario 12 10 2020",
"Rating": 3,
"Order": null,
"ToRepair": false,
"ItemName": "PISOS",
"Material": {
"MaterialName": "Porcelana"
},
"Photo": [
{
"StorageReference": "dc834738-e760-4458-b636-6d9e2a1e517c.jpg"
}
]
}
]
}
]
}
Download PDF
GET
/inventory/download-pdf/{inventario-id}
GET
/inventory/download-pdf/{inventario-id}
download the signed pdf of an inventory
Params
iventoryId
string
inventory identifier
{
"url": "https://refactoringelyssa.azurewebsites.net/api/Inventory/GetInventoryPdf/4b63dc62-7136-43f8-be66-03c151784dd1"
}
Download photo of the items
GET
/inventory/download-photos/itemDiagnostic/{id}
The item diagnostics have the inventory photos, with this endpoint you will have access to the URLs of the photos to download or view them. It is necessary to enter the id of the itemdiagnostic
Params
itemDiagnosticId
string
ID of the item you want to download the photos
[
{
"photoUrl": "https://elyssastorage.blob.core.windows.net/refactoring-items/312bfd69-a0ba-4ca7-9941-bf09dd6f5121-0.jpeg?sv=2021-10-04&se=2024-08-04T10%3A04%3A03Z&sr=c&sp=r&sig=iAKEhvf%2FZEPaqs2%2BgDdWMEJFy0KawFzc9BsbgrcXY%2F4%3D",
"photoId": 17739430
},
{
"photoUrl": "https://elyssastorage.blob.core.windows.net/refactoring-items/312bfd69-a0ba-4ca7-9941-bf09dd6f5121-0.jpeg?sv=2021-10-04&se=2024-08-04T10%3A04%3A03Z&sr=c&sp=r&sig=iAKEhvf%2FZEPaqs2%2BgDdWMEJFy0KawFzc9BsbgrcXY%2F4%3D",
"photoId": 17739431
}
]
Authentication
AuthenticationLast updated