POST api/Setting/AddLiningPatch
Request Information
URI Parameters
None.
Body Parameters
LiningPatch| Name | Description | Type | Additional information |
|---|---|---|---|
| liningPatch_id | globally unique identifier |
None. |
|
| lining_id | globally unique identifier |
None. |
|
| startDate | date |
None. |
|
| endDate | date |
None. |
|
| heatProduced | integer |
None. |
|
| createBy | globally unique identifier |
None. |
|
| createDate | date |
None. |
|
| isExpired | boolean |
None. |
|
| liningPatchNumber | integer |
None. |
|
| liningPatchName | string |
None. |
|
| totalMaterialUsed | decimal number |
None. |
|
| totalProduction | decimal number |
None. |
|
| kgPerTon | decimal number |
None. |
|
| inventories | Collection of LiningPatchInventory |
None. |
Request Formats
application/json, text/json
Sample:
{
"liningPatch_id": "6908e709-d180-41df-91bd-dbf57d2a94c6",
"lining_id": "475521ce-0f12-4f2a-a7e4-695a3af4a770",
"startDate": "1788973512000",
"endDate": "1788973512000",
"heatProduced": 5,
"createBy": "f68130d9-c5f4-43da-b68e-70ff3bac4e31",
"createDate": "1788973512000",
"isExpired": true,
"liningPatchNumber": 9,
"liningPatchName": "sample string 10",
"totalMaterialUsed": 11.1,
"totalProduction": 12.1,
"kgPerTon": 13.1,
"inventories": [
{
"id": "122385a2-60b0-45ac-bc2c-85fa091269e2",
"liningPatch_id": "805a7162-2000-4caa-baeb-8d539af270e7",
"reference_id": "449926c6-003c-4ce4-8dee-b504c836bc0a",
"referenceType": 4,
"reference": {
"id": "77468f53-9fbe-4323-afda-411f98b87474",
"name": "sample string 2",
"image": "sample string 3"
},
"qty": 5.1,
"unit_id": 6,
"createBy": "03ed881f-046f-4c51-b68f-4046baee6e5d",
"createDate": "1788973512000",
"isActive": true,
"updateBy": "e4456a43-889b-40ba-a2c8-044ee17ccba4",
"updateDate": "1788973512000",
"unit": "sample string 10",
"item": "sample string 11"
},
{
"id": "122385a2-60b0-45ac-bc2c-85fa091269e2",
"liningPatch_id": "805a7162-2000-4caa-baeb-8d539af270e7",
"reference_id": "449926c6-003c-4ce4-8dee-b504c836bc0a",
"referenceType": 4,
"reference": {
"id": "77468f53-9fbe-4323-afda-411f98b87474",
"name": "sample string 2",
"image": "sample string 3"
},
"qty": 5.1,
"unit_id": 6,
"createBy": "03ed881f-046f-4c51-b68f-4046baee6e5d",
"createDate": "1788973512000",
"isActive": true,
"updateBy": "e4456a43-889b-40ba-a2c8-044ee17ccba4",
"updateDate": "1788973512000",
"unit": "sample string 10",
"item": "sample string 11"
}
]
}
application/x-www-form-urlencoded
Sample:
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.