POST api/Heating/AddHeatTask
Request Information
URI Parameters
None.
Body Parameters
HeatTask| Name | Description | Type | Additional information |
|---|---|---|---|
| task_id | globally unique identifier |
None. |
|
| furnace_id | globally unique identifier |
None. |
|
| parentFurnaceId | globally unique identifier |
None. |
|
| date | date |
None. |
|
| description | string |
None. |
|
| grade_id | globally unique identifier |
None. |
|
| furnace | string |
None. |
|
| grade | string |
None. |
|
| recipie | string |
None. |
|
| heat_no | string |
None. |
|
| volume | integer |
None. |
|
| recipie_id | globally unique identifier |
None. |
|
| type | integer |
None. |
|
| status | integer |
None. |
|
| createBy | globally unique identifier |
None. |
|
| createDate | date |
None. |
|
| isActive | boolean |
None. |
|
| updateBy | globally unique identifier |
None. |
|
| updateDate | date |
None. |
|
| business_id | globally unique identifier |
None. |
|
| compositionGroup_id | globally unique identifier |
None. |
|
| task_no | string |
None. |
|
| materials | Collection of HeatTaskMaterial |
None. |
|
| compositions | Collection of HeatTaskComposition |
None. |
|
| heating_id | globally unique identifier |
None. |
|
| curcibleFurnace | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"task_id": "be65399b-f875-41e7-8e41-ea97a309a3e8",
"furnace_id": "7ef42c46-5a3d-443d-ad5d-51e9276dfab6",
"parentFurnaceId": "ae835c19-ff25-4852-bf87-d3072f3b9358",
"date": "1788980268000",
"description": "sample string 5",
"grade_id": "38604610-ebdb-48c2-a7cc-3eb5bbda9ad2",
"furnace": "sample string 7",
"grade": "sample string 8",
"recipie": "sample string 9",
"heat_no": "sample string 10",
"volume": 11,
"recipie_id": "57ac3931-5f6c-49ba-9d7f-1798ff80b754",
"type": 13,
"status": 14,
"createBy": "465e0bf5-753c-428e-968f-349ccf4e7f55",
"createDate": "1788980268000",
"isActive": true,
"updateBy": "4f4ddbf1-2046-4f46-ae9d-c8651e5fd82b",
"updateDate": "1788980268000",
"business_id": "17887ae7-70fe-4c90-9219-a33955ff94cb",
"compositionGroup_id": "2a528c73-2b75-4876-864b-b4ac711949f3",
"task_no": "sample string 22",
"materials": [
{
"material_id": "7f651421-14ab-44e0-a297-553314c0cacd",
"task_id": "4db4dae2-695f-4b10-a9a0-f1afcfc1379f",
"reference_id": "d6b1816d-a63c-4883-b24a-8cdab59e3575",
"referenceType": 4,
"qty": 5.1,
"unit_id": 6,
"percentage": 7.1,
"createBy": "7bae629b-6d73-42df-bc58-255d2ecad0ff",
"createDate": "1788980268000",
"isActive": true,
"unit": "sample string 11",
"name": "sample string 12"
},
{
"material_id": "7f651421-14ab-44e0-a297-553314c0cacd",
"task_id": "4db4dae2-695f-4b10-a9a0-f1afcfc1379f",
"reference_id": "d6b1816d-a63c-4883-b24a-8cdab59e3575",
"referenceType": 4,
"qty": 5.1,
"unit_id": 6,
"percentage": 7.1,
"createBy": "7bae629b-6d73-42df-bc58-255d2ecad0ff",
"createDate": "1788980268000",
"isActive": true,
"unit": "sample string 11",
"name": "sample string 12"
}
],
"compositions": [
{
"id": "3bc87f17-117c-4103-8e35-d45927635bc3",
"heat_id": "ad645053-a59f-48c3-9a86-8f6e9af78011",
"minValue": 3.1,
"maxValue": 4.1,
"composition_id": 5
},
{
"id": "3bc87f17-117c-4103-8e35-d45927635bc3",
"heat_id": "ad645053-a59f-48c3-9a86-8f6e9af78011",
"minValue": 3.1,
"maxValue": 4.1,
"composition_id": 5
}
],
"heating_id": "bdefd7fd-f868-46ac-98d7-d2a77f581c34",
"curcibleFurnace": "sample string 24"
}
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.