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 .jsv suffix or ?format=jsv
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: text/jsv
Content-Type: text/jsv
Content-Length: length
{
shipIds:
[
String
]
}
HTTP/1.1 200 OK Content-Type: text/jsv 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-01, 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-01, strCreatedBy: String, ysnDNU: False, strDefaultWarehouseID: String, strStatus: String, strPriceList: String, ysnStoreLocator: False, strStoreLocatorOrder: String, strWebSite: String, strEmail: String } ] }