POST api/Meter/AddMeter
Request Information
URI Parameters
None.
Body Parameters
Meter| Name | Description | Type | Additional information |
|---|---|---|---|
| meter_id | globally unique identifier |
None. |
|
| furnace_id | globally unique identifier |
None. |
|
| name | string |
None. |
|
| furnace | string |
None. |
|
| lastReading | decimal number |
None. |
|
| createBy | globally unique identifier |
None. |
|
| createDate | date |
None. |
|
| isDisable | boolean |
None. |
|
| inProcess | boolean |
None. |
Request Formats
application/json, text/json
Sample:
{
"meter_id": "697a54f8-e0bc-4697-b2fc-8c0968449662",
"furnace_id": "d337f8aa-313d-4cbe-b22b-588ea48475de",
"name": "sample string 3",
"furnace": "sample string 4",
"lastReading": 5.1,
"createBy": "71fcaeb6-c6b4-4a82-8e37-2aea46d641f2",
"createDate": "1794153410000",
"isDisable": true,
"inProcess": true
}
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
Response| Name | Description | Type | Additional information |
|---|---|---|---|
| status | boolean |
None. |
|
| error | string |
None. |
|
| data | Object |
None. |
Response Formats
application/json, text/json
Sample:
Sample not available.