Ausstattungsgruppen
Über diese Endpunkte können Ausstattungsgruppen verändert werden.
Die Endpunkte der Version 1.2 sind momentan in der Entwicklung und können noch Änderungen erfahren.
Neue Ausstattungsgruppe hinzufügen
Version 1.0
post
Authorizations
Query parameters
apiKeystringOptional
Body
Namestring · max: 70Required
Countinteger · int32Required
FacilityCatalogIdinteger · int32Required
FacilityStatusIdinteger · int32Required
BuildingIdinteger · int32 | nullableOptional
EconomicUnitIdinteger · int32 | nullableOptional
UseUnitIdinteger · int32 | nullableOptional
PropertyIdinteger · int32 | nullableOptional
InactivebooleanOptional
Responses
201
Created
400
Bad Request
401
Unauthorized
post
POST /openwowi/v1.0/ManageFacilityAndComponents/Facility HTTP/1.1
Host:
Authorization: Bearer YOUR_OAUTH2_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 196
{
"Name": "text",
"Count": 1,
"FacilityCatalogId": 1,
"Offset": {
"Id": 1,
"Value": 1,
"Description": "text"
},
"FacilityStatusId": 1,
"BuildingId": 1,
"EconomicUnitId": 1,
"UseUnitId": 1,
"PropertyId": 1,
"Inactive": true
}
{
"Id": 1,
"EconomicUnitId": 1,
"BuildingId": 1,
"PropertyId": 1,
"UseUnitId": 1
}
Version 1.2
post
Authorizations
Query parameters
apiKeystringOptional
Body
Namestring · max: 70Required
Countinteger · int32Required
FacilityCatalogIdinteger · int32Required
FacilityStatusIdinteger · int32Required
BuildingIdinteger · int32 | nullableOptional
EconomicUnitIdinteger · int32 | nullableOptional
UseUnitIdinteger · int32 | nullableOptional
PropertyIdinteger · int32 | nullableOptional
InactivebooleanOptional
Responses
201
Created
400
Bad Request
401
Unauthorized
post
POST /openwowi/v1.2/ManageFacilityAndComponents/Facility HTTP/1.1
Host:
Authorization: Bearer YOUR_OAUTH2_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 196
{
"Name": "text",
"Count": 1,
"FacilityCatalogId": 1,
"Offset": {
"Id": 1,
"Value": 1,
"Description": "text"
},
"FacilityStatusId": 1,
"BuildingId": 1,
"EconomicUnitId": 1,
"UseUnitId": 1,
"PropertyId": 1,
"Inactive": true
}
{
"Id": 1,
"EconomicUnitId": 1,
"BuildingId": 1,
"PropertyId": 1,
"UseUnitId": 1
}
Ausstattungsgruppe ändern
Version 1.0
put
Authorizations
Path parameters
idinteger · int32Required
Query parameters
apiKeystringOptional
Body
Namestring · max: 70Required
Countinteger · int32Required
FacilityCatalogIdinteger · int32Required
FacilityStatusIdinteger · int32Required
BuildingIdinteger · int32 | nullableOptional
EconomicUnitIdinteger · int32 | nullableOptional
UseUnitIdinteger · int32 | nullableOptional
PropertyIdinteger · int32 | nullableOptional
InactivebooleanOptional
Responses
200
OK
400
Bad Request
401
Unauthorized
put
PUT /openwowi/v1.0/ManageFacilityAndComponents/Facility/{id} HTTP/1.1
Host:
Authorization: Bearer YOUR_OAUTH2_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 196
{
"Name": "text",
"Count": 1,
"FacilityCatalogId": 1,
"Offset": {
"Id": 1,
"Value": 1,
"Description": "text"
},
"FacilityStatusId": 1,
"BuildingId": 1,
"EconomicUnitId": 1,
"UseUnitId": 1,
"PropertyId": 1,
"Inactive": true
}
{
"Id": 1,
"EconomicUnitId": 1,
"BuildingId": 1,
"PropertyId": 1,
"UseUnitId": 1
}
Version 1.2
put
Authorizations
Path parameters
idinteger · int32Required
Query parameters
apiKeystringOptional
Body
Namestring · max: 70Required
Countinteger · int32Required
FacilityCatalogIdinteger · int32Required
FacilityStatusIdinteger · int32Required
BuildingIdinteger · int32 | nullableOptional
EconomicUnitIdinteger · int32 | nullableOptional
UseUnitIdinteger · int32 | nullableOptional
PropertyIdinteger · int32 | nullableOptional
InactivebooleanOptional
Responses
200
OK
400
Bad Request
401
Unauthorized
put
PUT /openwowi/v1.2/ManageFacilityAndComponents/Facility/{id} HTTP/1.1
Host:
Authorization: Bearer YOUR_OAUTH2_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 196
{
"Name": "text",
"Count": 1,
"FacilityCatalogId": 1,
"Offset": {
"Id": 1,
"Value": 1,
"Description": "text"
},
"FacilityStatusId": 1,
"BuildingId": 1,
"EconomicUnitId": 1,
"UseUnitId": 1,
"PropertyId": 1,
"Inactive": true
}
{
"Id": 1,
"EconomicUnitId": 1,
"BuildingId": 1,
"PropertyId": 1,
"UseUnitId": 1
}
Ausstattungsgruppe löschen
Version 1.0
delete
Authorizations
Path parameters
idinteger · int32Required
Query parameters
apiKeystringOptional
Responses
200
OK
400
Bad Request
401
Unauthorized
delete
DELETE /openwowi/v1.0/ManageFacilityAndComponents/Facility/{id} HTTP/1.1
Host:
Authorization: Bearer YOUR_OAUTH2_TOKEN
Accept: */*
{
"Id": 1,
"EconomicUnitId": 1,
"BuildingId": 1,
"PropertyId": 1,
"UseUnitId": 1
}
Version 1.2
delete
Authorizations
Path parameters
idinteger · int32Required
Query parameters
apiKeystringOptional
Responses
200
OK
400
Bad Request
401
Unauthorized
delete
DELETE /openwowi/v1.2/ManageFacilityAndComponents/Facility/{id} HTTP/1.1
Host:
Authorization: Bearer YOUR_OAUTH2_TOKEN
Accept: */*
{
"Id": 1,
"EconomicUnitId": 1,
"BuildingId": 1,
"PropertyId": 1,
"UseUnitId": 1
}
Enumerationen für "FacilityStatusId"
Id
Type
1
Unaudited
2
Audited
3
Automatic
Last updated