POST api/SMT/SMTQuotation
SMT quote interface
Request Information
URI Parameters
None.
Body Parameters
Request Parameters
SMTQuotationRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| Country |
Country |
string |
None. |
| CountryCode |
Country Code |
string |
None. |
| ShipType |
Logistics Company |
ShipType |
None. |
| Postalcode |
Postal code (Multiple ones separated by ',' such as '123456' or '123456, 123457') |
string |
None. |
| City |
City |
string |
None. |
| FlexibleOption |
"Turnkey", "Kitted or Consigned", "Combo" |
string |
Required |
| BoardType |
"Single pieces", "Panelized PCBs" |
string |
Required |
| AssemblySide |
"Top side", "Bottom side", "Both sides" |
string |
Required |
| Qty |
quantity |
integer |
Required |
| UniqueParts |
Number of Unique Parts |
integer |
None. |
| SMTParts |
Number of SMT Parts |
integer |
None. |
| HoleParts |
Number of Through-Hole Parts |
integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"Country": "sample string 1",
"CountryCode": "sample string 2",
"ShipType": 1,
"Postalcode": "sample string 3",
"City": "sample string 4",
"FlexibleOption": "sample string 5",
"BoardType": "sample string 6",
"AssemblySide": "sample string 7",
"Qty": 8,
"UniqueParts": 9,
"SMTParts": 10,
"HoleParts": 11
}
Response Information
Resource Description
SMTQuotationResponse| Name | Description | Type | Additional information |
|---|---|---|---|
| priceList |
price item |
Collection of DataPriceItem |
None. |
| Shipping |
Shipping information |
ShippingModel |
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:
{
"priceList": [
{
"BuildDays": 1,
"BuildText": "sample string 2",
"Express": true,
"Price": 4.0,
"Standard": true
},
{
"BuildDays": 1,
"BuildText": "sample string 2",
"Express": true,
"Price": 4.0,
"Standard": true
}
],
"Shipping": {
"ShipCost": 1.0,
"ShipDays": "sample string 2",
"Weight": 3.1,
"IsRas": true
},
"Status": "sample string 1",
"ErrorText": "sample string 2",
"Code": 3
}