POST api/Product/SetProductStep
同步产品步骤
Request Information
URI Parameters
None.
Body Parameters
ProductStepRequestName | Description | Type | Additional information |
---|---|---|---|
order_detail_id |
外站订单id order_detail_id |
integer |
None. |
ProductName |
产品名称 |
string |
None. |
ProType |
产品类型(5:SMT) |
integer |
Required |
StepId |
1:生产资料审核,2:BOM资料制作,3:来料检验,4:工程单制作,5:机贴,6:手贴,7:样板确认,8:首检(维修),9:贴片QC检测,10:DIP扫描, 11:后焊QC检测,12:包装,13:出货 |
integer |
Required |
StartTime |
步骤开始时间 StartTime或 EndTime 必须填写一项 示例: 2000-01-01 15:00:00 |
string |
None. |
EndTime |
步骤结束时间 StartTime或 EndTime 必须填写一项 示例: 2000-01-01 15:00:00 |
string |
None. |
ShipNo |
发货单号 |
string |
None. |
ShipCompany |
发货公司 |
string |
None. |
SpecailDelivery |
1:特别交付(EQ仍然要发货 StepId为13时才能设置) |
integer |
None. |
Request Formats
application/json, text/json
Sample:
{ "order_detail_id": 1, "ProductName": "sample string 2", "ProType": 3, "StepId": 4, "StartTime": "sample string 5", "EndTime": "sample string 6", "ShipNo": "sample string 7", "ShipCompany": "sample string 8", "SpecailDelivery": 9 }
Response Information
Resource Description
ProductStepResponseName | 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 }