| GET | /api/v1/nutzeinheiten/{Guid} |
|---|
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| BearerToken | query | string | Yes | |
| Guid | path | Guid | Yes | |
| Include | query | string | No | Allowable Values
|
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| Nutzeinheit | form | Nutzeinheit | No | |
| ResponseStatus | form | ResponseStatus | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| Guid | form | Guid | No | |
| Number | form | string | No | |
| Location | form | string | No | |
| Address | form | Address | No | |
| Nutzer | form | List<Nutzer> | No | |
| OwnerNutzeinheiten | form | List<OwnerNutzeinheit> | No | |
| NutzeinheitenDevices | form | List<NutzeinheitDevice> | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| Guid | form | Guid | No | |
| Street | form | string | No | |
| Street2 | form | string | No | |
| StreetNumber | form | string | No | |
| Zipcode | form | string | No | |
| City | form | string | No | |
| Mailbox | form | string | No | |
| Additional | form | string | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| Guid | form | Guid | No | |
| Name1 | form | string | No | |
| Name2 | form | string | No | |
| Name3 | form | string | No | |
| Name4 | form | string | No | |
| NutzerType | form | NutzerType? | Yes | Allowable Values
|
| NutzeinheitNumberExternal | form | string | No | |
| NutzerInNutzeinheitSequence | form | uint | Yes | |
| RangeFrom | form | DateTime | Yes | |
| RangeTo | form | DateTime? | No | |
| IsDeleted | form | bool | No | |
| IsCreatedByApp | form | bool | No | |
| IsUviRecieved | form | string | No | |
| IsNutzerOwner | form | string | No | |
| form | string | No | ||
| MobilePhone | form | string | No | |
| Title | form | string | No | |
| Salutation | body | string | Yes |
| Leerstand | |
| Gewerblich | |
| Privat | |
| AllgemeineNutzung |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| Guid | form | string | No | |
| Name1 | form | string | No | |
| Name2 | form | string | No | |
| Name3 | form | string | No | |
| Name4 | form | string | No | |
| RangeFrom | form | DateTime | No | |
| RangeTo | form | DateTime? | No | |
| Title | form | string | No | |
| Salutation | form | string | No | |
| AddressGuid | form | string | No | |
| NutzeinheitGuid | form | string | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| Guid | form | string | No | |
| AssignedFromDate | form | DateTime | No | |
| AssignedToDate | form | DateTime? | No | |
| Room | form | string | No | |
| OngoingNumber | form | string | No | |
| IsRented | form | bool | No | |
| IsMaintained | form | bool | No | |
| DeviceGuid | form | string | No | |
| NutzeinheitGuid | form | string | No |
To override the Content-type in your clients, use the HTTP Accept Header, append the .jsv suffix or ?format=jsv
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
GET /api/v1/nutzeinheiten/{Guid} HTTP/1.1
Host: mitchell-servdesk.eras-online.de
Accept: text/jsv
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length
{
nutzeinheit:
{
guid: 00000000000000000000000000000000,
number: String,
location: String,
address:
{
guid: 00000000000000000000000000000000,
street: String,
street2: String,
streetNumber: String,
zipcode: String,
city: String,
mailbox: String,
additional: String
},
nutzer:
[
{
guid: 00000000000000000000000000000000,
name1: String,
name2: String,
name3: String,
name4: String,
nutzerType: Leerstand,
nutzeinheitNumberExternal: String,
nutzerInNutzeinheitSequence: 0,
rangeFrom: 0001-01-01T00:00:00Z,
rangeTo: 0001-01-01T00:00:00Z,
isDeleted: False,
isCreatedByApp: False,
IstUvi: String,
EigentuemerBewohnt: String,
Email: String,
Mobil: String,
title: String,
salutation: String
}
],
ownerNutzeinheiten:
[
{
guid: 00000000000000000000000000000000,
name1: String,
name2: String,
name3: String,
name4: String,
rangeFrom: 0001-01-01T00:00:00Z,
rangeTo: 0001-01-01T00:00:00Z,
title: String,
salutation: String,
address:
{
guid: 00000000000000000000000000000000,
street: String,
street2: String,
streetNumber: String,
zipcode: String,
city: String,
mailbox: String,
additional: String
}
}
],
nutzeinheitenDevices:
[
{
guid: 00000000000000000000000000000000,
assignedFromDate: 0001-01-01T00:00:00Z,
assignedToDate: 0001-01-01T00:00:00Z,
room: String,
ongoingNumber: String,
isRented: False,
isMaintained: False,
device:
{
guid: 00000000000000000000000000000000,
number: String,
label: String,
description: String,
installationDate: 0001-01-01T00:00:00Z,
deinstallationDate: 0001-01-01T00:00:00Z,
calibrationDate: 0001-01-01T00:00:00Z,
unit: L,
note: String,
deviceCatalog:
{
Guid: String,
TypKurz: String,
TypLang: String,
Ablesbar: False,
Klasse: String,
Abzug: False,
Hkvv: False,
Funk: False
},
deviceConsumptions:
[
{
guid: 00000000000000000000000000000000,
deviceReading: 0,
deviceReadingDate: 0001-01-01T00:00:00Z,
deviceReadingKind: ZA,
changeDate: 0001-01-01T00:00:00Z,
note: String,
ampouleColour: String,
deviceGuid: String
}
]
}
}
]
},
responseStatus:
{
errorCode: String,
message: String,
stackTrace: String,
errors:
[
{
errorCode: String,
fieldName: String,
message: String,
meta:
{
String: String
}
}
],
meta:
{
String: String
}
}
}