POST api/GoGo/AddSmtOrder
创建订单
Request Information
URI Parameters
None.
Body Parameters
AddSmtInfoDto| Name | Description | Type | Additional information |
|---|---|---|---|
| Id |
id |
integer |
None. |
| ProNo |
单号 |
string |
None. |
| GoGoPcbNo |
gogo pcb单号 |
string |
None. |
| GoGoSmtNo |
gogoSmt单号 |
string |
None. |
| BomFilePath |
bom文件地址 |
string |
None. |
| BomFileName |
bom文件名称 |
string |
None. |
| BOMFilePathByAdmin |
客服bom文件地址 |
string |
None. |
| BOMFileNameByAdmin |
客服bom文件名称 |
string |
None. |
| Qty |
套数 |
integer |
None. |
| CentroidFilePath |
坐标文件地址 |
string |
None. |
| CentroidFileName |
坐标文件名称 |
string |
None. |
| GerbersFilePath |
GerbersFilePath |
string |
None. |
| GerbersFileName |
GerbersFileName |
string |
None. |
| Note |
客户备注 |
string |
None. |
| Reason |
客服备注(工厂备注) |
string |
None. |
Request Formats
application/json, text/json
Sample:
{
"Id": 1,
"ProNo": "sample string 2",
"GoGoPcbNo": "sample string 3",
"GoGoSmtNo": "sample string 4",
"BomFilePath": "sample string 5",
"BomFileName": "sample string 6",
"BOMFilePathByAdmin": "sample string 7",
"BOMFileNameByAdmin": "sample string 8",
"Qty": 9,
"CentroidFilePath": "sample string 10",
"CentroidFileName": "sample string 11",
"GerbersFilePath": "sample string 12",
"GerbersFileName": "sample string 13",
"Note": "sample string 14",
"Reason": "sample string 15"
}
Response Information
Resource Description
ResponseModelOfAddSmtInfoDto| Name | Description | Type | Additional information |
|---|---|---|---|
| Data | AddSmtInfoDto |
None. |
|
| 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:
{
"Data": {
"Id": 1,
"ProNo": "sample string 2",
"GoGoPcbNo": "sample string 3",
"GoGoSmtNo": "sample string 4",
"BomFilePath": "sample string 5",
"BomFileName": "sample string 6",
"BOMFilePathByAdmin": "sample string 7",
"BOMFileNameByAdmin": "sample string 8",
"Qty": 9,
"CentroidFilePath": "sample string 10",
"CentroidFileName": "sample string 11",
"GerbersFilePath": "sample string 12",
"GerbersFileName": "sample string 13",
"Note": "sample string 14",
"Reason": "sample string 15"
},
"Status": "sample string 1",
"ErrorText": "sample string 2",
"Code": 3
}