All Verbs | /service/UploadLocations |
---|
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
ShipIds | query | string[] | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
Locations | form | List<CustomerShippingLocations> | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
strCustomerID | form | string | No | |
strShipID | form | string | No | |
strShipName | form | string | No | |
strShipAddress | form | string | No | |
strShipAddress2 | form | string | No | |
strShipCity | form | string | No | |
strShipState | form | string | No | |
strShipZipcode | form | string | No | |
strShipCountry | form | string | No | |
strShipPhone | form | string | No | |
strSalesRep | form | string | No | |
ysnNewLocation | form | bool? | No | |
strContactName | form | string | No | |
ConID | form | string | No | |
strBillAddress | form | string | No | |
strBillAddress2 | form | string | No | |
strBillCity | form | string | No | |
strBillState | form | string | No | |
strBillZipcode | form | string | No | |
strBillCountry | form | string | No | |
ysnModified | form | bool? | No | |
intBillingSource | form | int? | No | |
strBillName | form | string | No | |
strBillPhone | form | string | No | |
strBillFax | form | string | No | |
strShipFax | form | string | No | |
strSoldToID | form | string | No | |
strStoreType | form | string | No | |
strStoreClass | form | string | No | |
strStoreCategory | form | string | No | |
strCustom1 | form | string | No | |
strCustom2 | form | string | No | |
strCustom3 | form | string | No | |
strCustom4 | form | string | No | |
strCustom5 | form | string | No | |
strCustom6 | form | string | No | |
strCustom7 | form | string | No | |
strCustom8 | form | string | No | |
strCustom9 | form | string | No | |
strCustom10 | form | string | No | |
strCustom11 | form | string | No | |
strCustom12 | form | string | No | |
strCustom13 | form | string | No | |
strCustom14 | form | string | No | |
strCustom15 | form | string | No | |
strTerritoryID | form | string | No | |
strRegionID | form | string | No | |
strShipVia | form | string | No | |
strSalesRep2 | form | string | No | |
dblCYForecast | form | double? | No | |
dblNYForecast | form | double? | No | |
dtmInfoReviewed | form | DateTime? | No | |
ysnInfoReviewed | form | bool | No | |
strTerms | form | string | No | |
strSalesRep3 | form | string | No | |
strSalesRep4 | form | string | No | |
strSalesRep5 | form | string | No | |
ysnResidential | form | bool | No | |
ysnSalesRep1Sellable | form | bool | No | |
ysnSalesRep2Sellable | form | bool | No | |
ysnSalesRep3Sellable | form | bool | No | |
ysnSalesRep4Sellable | form | bool | No | |
ysnSalesRep5Sellable | form | bool | No | |
strBillAddress3 | form | string | No | |
strShipAddress3 | form | string | No | |
ysnExported | form | bool | No | |
dtmCreated | form | DateTime? | No | |
strCreatedBy | form | string | No | |
ysnDNU | form | bool | No | |
strDefaultWarehouseID | form | string | No | |
strStatus | form | string | No | |
strPriceList | form | string | No | |
ysnStoreLocator | form | bool | No | |
strStoreLocatorOrder | form | string | No | |
strWebSite | form | string | No | |
strEmail | form | string | No |
To override the Content-type in your clients, use the HTTP Accept Header, append the .json suffix or ?format=json
To embed the response in a jsonp callback, append ?callback=myCallback
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
POST /service/UploadLocations HTTP/1.1
Host: www.bernhardthospitality.com
Accept: application/json
Content-Type: application/json
Content-Length: length
{"shipIds":["String"]}
HTTP/1.1 200 OK Content-Type: application/json Content-Length: length {"locations":[{"strCustomerID":"String","strShipID":"String","strShipName":"String","strShipAddress":"String","strShipAddress2":"String","strShipCity":"String","strShipState":"String","strShipZipcode":"String","strShipCountry":"String","strShipPhone":"String","strSalesRep":"String","ysnNewLocation":false,"strContactName":"String","conID":"String","strBillAddress":"String","strBillAddress2":"String","strBillCity":"String","strBillState":"String","strBillZipcode":"String","strBillCountry":"String","ysnModified":false,"intBillingSource":0,"strBillName":"String","strBillPhone":"String","strBillFax":"String","strShipFax":"String","strSoldToID":"String","strStoreType":"String","strStoreClass":"String","strStoreCategory":"String","strCustom1":"String","strCustom2":"String","strCustom3":"String","strCustom4":"String","strCustom5":"String","strCustom6":"String","strCustom7":"String","strCustom8":"String","strCustom9":"String","strCustom10":"String","strCustom11":"String","strCustom12":"String","strCustom13":"String","strCustom14":"String","strCustom15":"String","strTerritoryID":"String","strRegionID":"String","strShipVia":"String","strSalesRep2":"String","dblCYForecast":0,"dblNYForecast":0,"dtmInfoReviewed":"0001-01-01T00:00:00.0000000Z","ysnInfoReviewed":false,"strTerms":"String","strSalesRep3":"String","strSalesRep4":"String","strSalesRep5":"String","ysnResidential":false,"ysnSalesRep1Sellable":false,"ysnSalesRep2Sellable":false,"ysnSalesRep3Sellable":false,"ysnSalesRep4Sellable":false,"ysnSalesRep5Sellable":false,"strBillAddress3":"String","strShipAddress3":"String","ysnExported":false,"dtmCreated":"0001-01-01T00:00:00.0000000Z","strCreatedBy":"String","ysnDNU":false,"strDefaultWarehouseID":"String","strStatus":"String","strPriceList":"String","ysnStoreLocator":false,"strStoreLocatorOrder":"String","strWebSite":"String","strEmail":"String"}]}