Updates an entity based on the provided values (all fields will be updated)
Header | Name | Description | Type | Additional information |
---|---|---|---|---|
Accept | Mime Type |
The accept header used to specify the acceptable response mime type |
string |
Optional |
Authorization | Scheme |
The authorization method (should always be Basic) |
string |
Required |
Security Token |
The security token obtained by successfully authenticating a user with the Account API |
globally unique identifier |
Required |
Name | Description | Type | Additional information |
---|---|---|---|
key |
The key of the entity to update |
integer |
Required |
The updates to be applied to the entity
{ "DocIDTankGauges": 1, "UserID": "sample string 2", "Alias": "sample string 3", "TankID": 1, "docDate": "2024-11-13T23:29:28.2870077", "ProductID": 1, "Inches": 1.1, "Inches_Initial": 1.1, "Inches_Mid": 1.1, "Volume": 1.1, "Volume_Initial": 1.1, "Volume_Mid": 1.1, "Temperature": 1.1, "BSW": 1.1, "Gravity": 1.1, "EstTankFull": "2024-11-13T23:29:28.2870077", "Stamp": "2024-11-13T23:29:28.2870077", "Notes": "sample string 6", "InputByID": "sample string 7", "DocSourceCode": 1 }
{ "DocIDTankGauges": 1, "UserID": "sample string 2", "Alias": "sample string 3", "TankID": 1, "docDate": "2024-11-13T23:29:28.2870077", "ProductID": 1, "Inches": 1.1, "Inches_Initial": 1.1, "Inches_Mid": 1.1, "Volume": 1.1, "Volume_Initial": 1.1, "Volume_Mid": 1.1, "Temperature": 1.1, "BSW": 1.1, "Gravity": 1.1, "EstTankFull": "2024-11-13T23:29:28.2870077", "Stamp": "2024-11-13T23:29:28.2870077", "Notes": "sample string 6", "InputByID": "sample string 7", "DocSourceCode": 1 }
An error response containing the details about a failed api request
{ "error": { "batcherror": { "operationindex": 1, "requestindex": 2 }, "code": "UnknownError", "innererror": { "innererror": { "message": { "lang": "en-US", "value": "sample string 3" }, "type": "sample string 5", "trace": "sample string 4" }, "message": { "lang": "en-US", "value": "sample string 6" }, "type": "sample string 8", "trace": "sample string 7" }, "message": { "lang": "en-US", "value": "sample string 9" } } }