POST api/Quotation/materialPropereties
提交用料信息
Request Information
URI Parameters
None.
Body Parameters
MaterialProperetiesRequestName | Description | Type | Additional information |
---|---|---|---|
id |
记录Id,应⽤端不⽤处理 |
integer |
None. |
lineId |
明细Id |
integer |
None. |
tenantId |
租⼾Id |
integer |
None. |
roughVolume |
粗料体积,单位mm3 |
decimal number |
None. |
roughLength |
粗料⻓,单位mm |
decimal number |
None. |
roughWidth |
粗料宽,单位mm |
decimal number |
None. |
roughHeight |
粗料⾼,单位mm |
decimal number |
None. |
roughWeight |
粗料重量,单位kg |
decimal number |
None. |
roughSurfaceArea |
粗料表⾯积,单位mm2 |
decimal number |
None. |
productionVolume |
产品体积,单位mm3 |
decimal number |
None. |
productionLength |
产品⻓度,单位mm |
decimal number |
None. |
productionWidth |
产品宽度,单位mm |
decimal number |
None. |
productionHeight |
产品⾼度,单位mm |
decimal number |
None. |
productionWeight |
产品重量,单位kg |
decimal number |
None. |
productionSurfaceArea |
产品表⾯积,单位mm |
decimal number |
None. |
curvedSurfaceArea |
曲⾯⾯积,单位mm2 |
decimal number |
None. |
surfaceAreaBalance |
表⾯积差,单位mm2,等于粗料表⾯积减去产品表⾯积 |
decimal number |
None. |
volumeBalance |
体积差,单位mm3,等于粗料表⾯积减去产品表⾯积 |
decimal number |
None. |
revision |
记录版本号,应⽤端可以不处理 |
integer |
None. |
isLatest |
是否最新记录,应⽤端可以不⽤处理 |
boolean |
None. |
isDeleted |
是否已经被删除,应⽤端可以不⽤处理 |
boolean |
None. |
createdOn |
创建时间,应⽤端可以不⽤处理 |
string |
None. |
Request Formats
application/json, text/json
Sample:
{ "id": 1, "lineId": 2, "tenantId": 3, "roughVolume": 4.1, "roughLength": 5.1, "roughWidth": 6.1, "roughHeight": 7.1, "roughWeight": 8.1, "roughSurfaceArea": 9.1, "productionVolume": 10.1, "productionLength": 11.1, "productionWidth": 12.1, "productionHeight": 13.1, "productionWeight": 14.1, "productionSurfaceArea": 15.1, "curvedSurfaceArea": 16.1, "surfaceAreaBalance": 17.1, "volumeBalance": 18.1, "revision": 19, "isLatest": true, "isDeleted": true, "createdOn": "sample string 22" }
Response Information
Resource Description
BaseResponseModelName | Description | Type | Additional information |
---|---|---|---|
Status |
Request processing results ('ok' or 'error') |
string |
None. |
ErrorText |
Error Description ( Empty when request processing successfully ) |
string |
None. |
Code |
状态码 |
integer |
None. |
Response Formats
application/json, text/json
Sample:
{ "Status": "sample string 1", "ErrorText": "sample string 2", "Code": 3 }