POST api/order/{id}/temperature
Save the order receiving temperature
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
id |
Order identifier |
globally unique identifier |
Required |
Body Parameters
Order temperature to save
OrderTemperatureName | Description | Type | Additional information |
---|---|---|---|
OrderGuid | Collection of byte |
None. |
|
OrderIdentifier | globally unique identifier |
None. |
|
Temperature |
Temperature recorded of order on receive. Null indicates no temperature recorded |
decimal number |
None. |
TemperatureScale |
Temperature scale that temperature is recorded in |
TemperatureScale |
None. |
Request Formats
application/json, text/json
Sample:
{ "orderGuid": "14FjJQYFkUmRPn+P7jGuWg==", "orderIdentifier": "256381d7-0506-4991-913e-7f8fee31ae5a", "temperature": 1.1, "temperatureScale": 1 }
application/xml, text/xml
Sample:
<OrderTemperature xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/EziManager.Models.EMC.Orders"> <OrderGuid>14FjJQYFkUmRPn+P7jGuWg==</OrderGuid> <OrderIdentifier>256381d7-0506-4991-913e-7f8fee31ae5a</OrderIdentifier> <Temperature>1.1</Temperature> <TemperatureScale>1</TemperatureScale> </OrderTemperature>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
None.