Server

<back to all web services

PutDirektkosten

Direktkosten
Requires Authentication
The following routes are available for this service:
PUT/api/v1/direktkosten
PutDirektkosten Parameters:
NameParameterData TypeRequiredDescription
DirektkostenbodyDirektkostenYes
RelatedToObjektbodyRelatedToYes
RelatedToNutzerbodyRelatedToYes
BearerTokenbodystringYes
Direktkosten Parameters:
NameParameterData TypeRequiredDescription
GuidformGuidNo
LabelformstringNo
DateformDateTimeNo
BruttoformdecimalNo
SalesTaxformdecimalNo
QuantityformdecimalNo
TypeformstringNo

Allowable Values

  • Heizkosten
  • Nebenkosten
IsDeletedformboolNo
IsCreatedByAppformboolNo
NutzerGuidformGuidNo
BillingInformationformBillingInformationNo
BillingInformation Parameters:
NameParameterData TypeRequiredDescription
GuidformstringNo
FromformDateTimeNo
ToformDateTimeNo
IsCompletedformboolNo
HasNebenkostenformboolNo
RelatedTo Parameters:
NameParameterData TypeRequiredDescription
GuidformGuidNo
PutDirektkostenResponse Parameters:
NameParameterData TypeRequiredDescription
ResponseStatusformResponseStatusNo

To override the Content-type in your clients, use the HTTP Accept Header, append the .other suffix or ?format=other

HTTP + OTHER

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

PUT /api/v1/direktkosten HTTP/1.1 
Host: faabrechnungen-servdesk.eras-online.de 
Accept: text/jsonl
Content-Type: text/jsonl
Content-Length: length

{"direktkosten":{"guid":"00000000000000000000000000000000","label":"String","date":"0001-01-01T00:00:00.0000000Z","brutto":0,"salesTax":0,"quantity":0,"type":"String","isDeleted":false,"isCreatedByApp":false,"nutzerGuid":"00000000000000000000000000000000","billingInformation":{"guid":"String","from":"0001-01-01T00:00:00.0000000Z","to":"0001-01-01T00:00:00.0000000Z","isCompleted":false,"hasNebenkosten":false}},"relatedToObjekt":{"guid":"00000000000000000000000000000000"},"relatedToNutzer":{"guid":"00000000000000000000000000000000"},"bearerToken":"String"}
HTTP/1.1 200 OK
Content-Type: text/jsonl
Content-Length: length

{"responseStatus":{"errorCode":"String","message":"String","stackTrace":"String","errors":[{"errorCode":"String","fieldName":"String","message":"String","meta":{"String":"String"}}],"meta":{"String":"String"}}}