POST api/HeatingDetail/HeatingStop

Request Information

URI Parameters

None.

Body Parameters

HeatingStopReason
NameDescriptionTypeAdditional information
id

globally unique identifier

None.

heating_id

globally unique identifier

None.

reasonId

globally unique identifier

None.

reason

string

None.

comment

string

None.

heat_no

string

None.

totalTime

integer

None.

hasResumeHeat

boolean

None.

createBy

globally unique identifier

None.

createDate

date

None.

heatingMeterReadings

Collection of HeatingMeterReading

None.

Request Formats

application/json, text/json

Sample:
{
  "id": "9011307f-0ced-4f6f-904c-2e0d173a9623",
  "heating_id": "6f7ab250-43b7-48ef-b31b-b42a7072eb13",
  "reasonId": "d0249589-c44a-4d14-a2b8-02ee63c26a22",
  "reason": "sample string 4",
  "comment": "sample string 5",
  "heat_no": "sample string 6",
  "totalTime": 7,
  "hasResumeHeat": true,
  "createBy": "3b463142-3032-4239-a2ee-acc2b5530249",
  "createDate": "1788985708000",
  "heatingMeterReadings": [
    {
      "heatingMeterReading_id": "bc2dc554-1875-461a-9a24-f33a21e132b9",
      "meter_id": "b2728a0e-dae9-4fc5-ab39-eede4d398455",
      "heating_id": "a19f3b3f-4773-4fc0-9de9-1bae5b43162d",
      "log_id": "122797c5-f533-4f42-a55f-4c2131fd4cd4",
      "reading": 5.1,
      "readingType": 1,
      "createBy": "35092965-3224-4ea8-81b5-40f23ea25938",
      "createDate": "1788985708000",
      "meter": "sample string 8"
    },
    {
      "heatingMeterReading_id": "bc2dc554-1875-461a-9a24-f33a21e132b9",
      "meter_id": "b2728a0e-dae9-4fc5-ab39-eede4d398455",
      "heating_id": "a19f3b3f-4773-4fc0-9de9-1bae5b43162d",
      "log_id": "122797c5-f533-4f42-a55f-4c2131fd4cd4",
      "reading": 5.1,
      "readingType": 1,
      "createBy": "35092965-3224-4ea8-81b5-40f23ea25938",
      "createDate": "1788985708000",
      "meter": "sample string 8"
    }
  ]
}

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'HeatingStopReason'.

Response Information

Resource Description

Response
NameDescriptionTypeAdditional information
status

boolean

None.

error

string

None.

data

Object

None.

Response Formats

application/json, text/json

Sample:

Sample not available.