POST api/inboundorder/getpricewebsite

Request Information

URI Parameters

None.

Body Parameters

PricingRequestWebsite
NameDescriptionTypeAdditional information
service

string

None.

leadTime

integer

None.

layerCount

integer

None.

quantity

integer

None.

boardArea

decimal number

None.

boardShortSide

decimal number

None.

boardLongSide

decimal number

None.

PromoCode

string

None.

EMailAddress

string

None.

ShippingServiceDescription

string

None.

ShippingCity

string

None.

ShippingZip

string

None.

ShippingState

string

None.

ShippingCountry

string

None.

ShippingAddressLine1

string

None.

ShippingAddressLine2

string

None.

electricTest

boolean

None.

ulCert

boolean

None.

lotCode

boolean

None.

dateCode

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "electricTest": true,
  "ulCert": true,
  "lotCode": true,
  "dateCode": true,
  "service": "sample string 1",
  "leadTime": 2,
  "layerCount": 3,
  "quantity": 4,
  "boardArea": 5.0,
  "boardShortSide": 6.0,
  "boardLongSide": 7.0,
  "PromoCode": "sample string 8",
  "EMailAddress": "sample string 9",
  "ShippingServiceDescription": "sample string 10",
  "ShippingCity": "sample string 11",
  "ShippingZip": "sample string 12",
  "ShippingState": "sample string 13",
  "ShippingCountry": "sample string 14",
  "ShippingAddressLine1": "sample string 15",
  "ShippingAddressLine2": "sample string 16"
}

application/xml, text/xml

Sample:
<PricingRequestWebsite xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ExpressPcbWebsiteAPI.Models">
  <EMailAddress>sample string 9</EMailAddress>
  <PromoCode>sample string 8</PromoCode>
  <ShippingAddressLine1>sample string 15</ShippingAddressLine1>
  <ShippingAddressLine2>sample string 16</ShippingAddressLine2>
  <ShippingCity>sample string 11</ShippingCity>
  <ShippingCountry>sample string 14</ShippingCountry>
  <ShippingServiceDescription>sample string 10</ShippingServiceDescription>
  <ShippingState>sample string 13</ShippingState>
  <ShippingZip>sample string 12</ShippingZip>
  <boardArea>5</boardArea>
  <boardLongSide>7</boardLongSide>
  <boardShortSide>6</boardShortSide>
  <dateCode>true</dateCode>
  <electricTest>true</electricTest>
  <layerCount>3</layerCount>
  <leadTime>2</leadTime>
  <lotCode>true</lotCode>
  <quantity>4</quantity>
  <service>sample string 1</service>
  <ulCert>true</ulCert>
</PricingRequestWebsite>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

GetPricingResponse
NameDescriptionTypeAdditional information
errorType

string

None.

errors

string

None.

ServiceId

integer

None.

manAreaRate

decimal number

None.

boardRate

decimal number

None.

setupRate

decimal number

None.

boardSetup

decimal number

None.

areaCost

decimal number

None.

discount

decimal number

None.

CustomerCost

decimal number

None.

TotalCost

decimal number

None.

orderUnitPrice

decimal number

None.

ExpressCost

decimal number

None.

SunstoneCost

decimal number

None.

expressCostRate

decimal number

None.

sunstoneCostRate

decimal number

None.

shippingCost

decimal number

None.

shippingWeight

decimal number

None.

orderSetupCost

decimal number

None.

promoDiscount

decimal number

None.

promoDiscountMessage

string

None.

ETestCostCustomer

decimal number

None.

ETestCostSunstone

decimal number

None.

ETestCostExpress

decimal number

None.

taxes

decimal number

None.

ulCertCostCustomer

decimal number

None.

ulCertCostSunstone

decimal number

None.

ulCertCostExpress

decimal number

None.

lotCodeCostCustomer

decimal number

None.

lotCodeCostSunstone

decimal number

None.

lotCodeCostExpress

decimal number

None.

dateCodeCostCustomer

decimal number

None.

dateCodeCostSunstone

decimal number

None.

dateCodeCostExpress

decimal number

None.

hasErrors

boolean

None.

promoDiscountHasError

boolean

None.

usedPromo

boolean

None.

Response Formats

application/json, text/json

Sample:
{
  "hasErrors": true,
  "promoDiscountHasError": true,
  "usedPromo": true,
  "errorType": "sample string 1",
  "errors": "sample string 2",
  "ServiceId": 3,
  "manAreaRate": 4.0,
  "boardRate": 5.0,
  "setupRate": 6.0,
  "boardSetup": 7.0,
  "areaCost": 8.0,
  "discount": 9.0,
  "CustomerCost": 10.0,
  "TotalCost": 11.0,
  "orderUnitPrice": 12.0,
  "ExpressCost": 13.0,
  "SunstoneCost": 14.0,
  "expressCostRate": 15.0,
  "sunstoneCostRate": 16.0,
  "shippingCost": 17.0,
  "shippingWeight": 18.0,
  "orderSetupCost": 19.0,
  "promoDiscount": 20.0,
  "promoDiscountMessage": "sample string 21",
  "ETestCostCustomer": 22.0,
  "ETestCostSunstone": 23.0,
  "ETestCostExpress": 24.0,
  "taxes": 25.0,
  "ulCertCostCustomer": 26.0,
  "ulCertCostSunstone": 27.0,
  "ulCertCostExpress": 28.0,
  "lotCodeCostCustomer": 29.0,
  "lotCodeCostSunstone": 30.0,
  "lotCodeCostExpress": 31.0,
  "dateCodeCostCustomer": 32.0,
  "dateCodeCostSunstone": 33.0,
  "dateCodeCostExpress": 34.0
}

application/xml, text/xml

Sample:
<GetPricingResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ExpressPcbWebsiteAPI.Models">
  <CustomerCost>10</CustomerCost>
  <ETestCostCustomer>22</ETestCostCustomer>
  <ETestCostExpress>24</ETestCostExpress>
  <ETestCostSunstone>23</ETestCostSunstone>
  <ExpressCost>13</ExpressCost>
  <ServiceId>3</ServiceId>
  <SunstoneCost>14</SunstoneCost>
  <TotalCost>11</TotalCost>
  <areaCost>8</areaCost>
  <boardRate>5</boardRate>
  <boardSetup>7</boardSetup>
  <dateCodeCostCustomer>32</dateCodeCostCustomer>
  <dateCodeCostExpress>34</dateCodeCostExpress>
  <dateCodeCostSunstone>33</dateCodeCostSunstone>
  <discount>9</discount>
  <errorType>sample string 1</errorType>
  <errors>sample string 2</errors>
  <expressCostRate>15</expressCostRate>
  <hasErrors>true</hasErrors>
  <lotCodeCostCustomer>29</lotCodeCostCustomer>
  <lotCodeCostExpress>31</lotCodeCostExpress>
  <lotCodeCostSunstone>30</lotCodeCostSunstone>
  <manAreaRate>4</manAreaRate>
  <orderSetupCost>19</orderSetupCost>
  <orderUnitPrice>12</orderUnitPrice>
  <promoDiscount>20</promoDiscount>
  <promoDiscountHasError>true</promoDiscountHasError>
  <promoDiscountMessage>sample string 21</promoDiscountMessage>
  <setupRate>6</setupRate>
  <shippingCost>17</shippingCost>
  <shippingWeight>18</shippingWeight>
  <sunstoneCostRate>16</sunstoneCostRate>
  <taxes>25</taxes>
  <ulCertCostCustomer>26</ulCertCostCustomer>
  <ulCertCostExpress>28</ulCertCostExpress>
  <ulCertCostSunstone>27</ulCertCostSunstone>
  <usedPromo>true</usedPromo>
</GetPricingResponse>