methodresourceses_vis
le00deletecomponentsA
Resouce components, Method smazat záznam
Metoda

Zapisuje nový záznam budovy

Method description / Popis metody

PATH_INFO  

{
"id":"1",
"projectId":"1725215398",
"siteId":NULL,
"name":"211",
"description":"Testovací budova",
...
}

Parameters / Parametry

QUERY_STRING  

{
"id":"1",
"projectId":"1725215398",
"siteId":NULL,
"name":"211",
"description":"Testovací budova",
...
}

Request body / Data požadavku

DATA  

{
"id":"1",
"projectId":"1725215398",
"siteId":NULL,
"name":"211",
"description":"Testovací budova",
...
}

Response / Odpověď

 

/buildings/{id}

DELETE

Resource schema / Struktura zdroje (databáze)

 

FieldTypeNullKeyDefaultExtra
idint(11)NOPRIauto_increment
facilityIdint(11)YESMUL
floorIdint(11)YES
spaceIdint(11)YES
typeIdint(11)YES
namevarchar(128)NO
descriptionvarchar(255)NO
cadTypevarchar(32)NO
tagNumbervarchar(255)NO
stagevarchar(64)NO
extSystemvarchar(255)NO
extObjectvarchar(255)NO
extIdentifiervarchar(255)NO
extLocationvarchar(255)NO
serialNumbervarchar(255)NO
productionYearvarchar(10)NO
installationDatevarchar(10)NO
warrantyStartDatevarchar(20)NO
batchReferencevarchar(255)NO
barCodevarchar(255)YES
qrCodevarchar(255)YES
assetIdentifiervarchar(255)NO
lengthdecimal(10,2)NO
widthdecimal(10,2)NO
heightdecimal(10,2)NO
areadecimal(10,2)NO
quantitydecimal(10,2)NO
colorvarchar(255)NO
penIndexint(11)NO
coordinatesvarchar(255)NO
createdOnvarchar(20)NO
createdByvarchar(255)NO