| GET | /api/v1/heizbetriebskosten/{Guid} |
|---|
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| BearerToken | query | string | Yes | |
| Guid | path | Guid | Yes |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| Direktkosten | form | Direktkosten | No | |
| ResponseStatus | form | ResponseStatus | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| Guid | form | Guid | No | |
| Label | form | string | No | |
| Date | form | DateTime | No | |
| Brutto | form | decimal | No | |
| SalesTax | form | decimal | No | |
| Quantity | form | decimal | No | |
| Type | form | string | No | Allowable Values
|
| IsDeleted | form | bool | No | |
| IsCreatedByApp | form | bool | No | |
| NutzerGuid | form | Guid | No | |
| BillingInformation | form | BillingInformation | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| Guid | form | string | No | |
| From | form | DateTime | No | |
| To | form | DateTime | No | |
| IsCompleted | form | bool | No | |
| HasNebenkosten | form | bool | 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/heizbetriebskosten/{Guid} HTTP/1.1
Host: dumpro-servdesk.eras-online.de
Accept: text/jsv
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length
{
direktkosten:
{
guid: 00000000000000000000000000000000,
label: String,
date: 0001-01-01T00:00:00Z,
brutto: 0,
salesTax: 0,
quantity: 0,
type: String,
isDeleted: False,
isCreatedByApp: False,
nutzerGuid: 00000000000000000000000000000000,
billingInformation:
{
guid: String,
from: 0001-01-01T00:00:00Z,
to: 0001-01-01T00:00:00Z,
isCompleted: False,
hasNebenkosten: False
}
},
responseStatus:
{
errorCode: String,
message: String,
stackTrace: String,
errors:
[
{
errorCode: String,
fieldName: String,
message: String,
meta:
{
String: String
}
}
],
meta:
{
String: String
}
}
}