PUT api/Items/{item}/Readings
Update an existing Reading
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
item |
The Item/Asset item |
string |
Required |
Body Parameters
Reading
ReadingEditName | Description | Type | Additional information |
---|---|---|---|
Id |
|
integer |
Required |
Date |
|
date |
Required |
Value |
|
decimal number |
Required |
Notes |
|
string |
Max length: 255 |
Employee |
|
string |
Required Max length: 15 |
Request Formats
Sample:
{ "Id": 1, "Date": "2024-11-14T16:44:21.5132824+00:00", "Value": 3.1, "Notes": "sample string 4", "Employee": "sample string 5" }
Sample:
<ReadingEdit xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebAPI.Models.ManWinWin"> <Date>2024-11-14T16:44:21.5132824+00:00</Date> <Employee>sample string 5</Employee> <Id>1</Id> <Notes>sample string 4</Notes> <Value>3.1</Value> </ReadingEdit>
Sample:
Sample not available.
Sample:
--MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="Id" 1 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="Date" 2024-11-14T16:44:21.5132824+00:00 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="Value" 3.1 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="Notes" sample string 4 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="Employee" sample string 5 --MultipartDataMediaFormatterBoundary1q2w3e--
Response Information
Resource Description
HttpResponseMessageName | Description | Type | Additional information |
---|---|---|---|
Version |
|
Version |
None. |
Content |
|
HttpContent |
None. |
StatusCode |
|
HttpStatusCode |
None. |
ReasonPhrase |
|
string |
None. |
Headers |
|
Collection of Object |
None. |
RequestMessage |
|
HttpRequestMessage |
None. |
IsSuccessStatusCode |
|
boolean |
None. |