Updates the car with the specified key
Request Information
URI Parameters :
Name | Description | Type | Additional information |
---|---|---|---|
id | globally unique identifier |
Required |
Body Parameters :
carName | Description | Type | Additional information |
---|---|---|---|
id |
Primary Key |
globally unique identifier | |
name |
Name of the car |
string |
Required Max length: 64 |
licence_plate |
Licence Plate Of the car |
string | |
initial_km |
Actual KM value of the car before starting to add car travel on odyssee |
integer | |
reference_back_office |
Field used for Embedded entity (store there your ERP PK) |
string |
Max length: 255 |
modified_dateutc |
Readonly system field managed by database, filled with GetUtcDate when adding,updating |
date |
Request Formats :
application/json, text/json
Sample:
{ "id": "45b3fffa-2294-4a04-aa78-a4e392bf4c71", "name": "sample string 2", "licence_plate": "sample string 3", "initial_km": 4, "reference_back_office": "sample string 5", "modified_dateutc": "2024-12-27T16:22:28.7960518+00:00" }
Response Information
Resource Description :
IHttpActionResultNone.
Response Formats
application/json, text/json
Sample:
Sample not available.