All Verbs | /service/UploadOrders |
---|
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
OrderIds | query | string[] | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
Orders | form | List<SalesOrders> | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
strOrderNumber | form | string | No | |
strPONumber | form | string | No | |
strOrderPrefix | form | string | No | |
strCustomerID | form | string | No | |
strCompanyName | 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 | |
strBillPhone | 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 | |
dtmOrderDate | form | DateTime? | No | |
dtmShipDate | form | DateTime? | No | |
strBuyer | form | string | No | |
strSalesRep | form | string | No | |
strWritingRep | form | string | No | |
strTerms | form | string | No | |
strShipVia | form | string | No | |
dtmCancelDate | form | DateTime? | No | |
curOrderTotal | form | double? | No | |
memNotes | form | string | No | |
dtmCreated | form | DateTime? | No | |
strOrderStatus | form | string | No | |
strSource | form | string | No | |
strCreditCardType | form | string | No | |
strCreditCardNumber | form | string | No | |
strCreditCardExpiration | form | string | No | |
strCreditCardAVS | form | string | No | |
strCreditCardName | form | string | No | |
strCreditCardAddress | form | string | No | |
strCreditCardAddress2 | form | string | No | |
strCreditCardCity | form | string | No | |
strCreditCardState | form | string | No | |
strCreditCardZipcode | form | string | No | |
strCreditCardCountry | form | string | No | |
strManufacturerID | form | string | No | |
dblCommPercentRep | form | double? | No | |
dblCommPercentMfg | form | double? | No | |
curBalance | form | double? | No | |
ysnMfgEmail | form | bool? | No | |
ysnMfgFax | form | bool? | No | |
ysnCustEmail | form | bool? | No | |
ysnCustFax | form | bool? | No | |
ysnRepEmail | form | bool? | No | |
ysnRepFax | form | bool? | No | |
strCustEmail | form | string | No | |
strCustFax | form | string | No | |
ysnModified | form | bool? | No | |
strModificationReason | form | string | No | |
ysnSendCreditSheet | form | bool? | No | |
ysnUploaded | form | bool? | No | |
ysnActive | form | bool? | 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 | |
imgSignature | form | byte[] | No | |
strShipID | form | string | No | |
strTransactionType | form | string | No | |
intRevision | form | int? | No | |
strReasonCode | form | string | No | |
ysnExported | form | bool? | No | |
strSessionID | form | string | No | |
strShowCode | form | string | No | |
strReviewReason | form | string | No | |
strReviewedBy | form | string | No | |
dtmExpectedToClear | form | DateTime? | No | |
memReviewLog | form | string | No | |
strSoldToID | form | string | No | |
strSoldName | form | string | No | |
strSoldAddress | form | string | No | |
strSoldAddress2 | form | string | No | |
strSoldCity | form | string | No | |
strSoldState | form | string | No | |
strSoldZipcode | form | string | No | |
strSoldCountry | form | string | No | |
strSoldPhone | form | string | No | |
dblDiscount | form | double? | No | |
dtmTimeStamp | form | DateTime? | No | |
ysnDropShip | form | bool? | No | |
strERPStatus | form | string | No | |
strOriginalOrderNumber | form | string | No | |
dblShippedAmount | form | double? | No | |
strTerritoryID | form | string | No | |
strRegionID | form | string | No | |
strCurrencyCode | form | string | No | |
strPromoTransID | form | string | No | |
ysnSplitOrder | form | bool | No | |
strRepOrderNumber | form | string | No | |
strCorpOrderNumber | form | string | No | |
ysnCCAuthorized | form | bool? | No | |
ysnTerritoryRepOverride | form | bool | No | |
strCheckNumber | form | string | No | |
curCheckAmount | form | double? | No | |
ysnCancelDatesOK | form | bool | No | |
strCompany | form | string | No | |
ysnShipComplete | form | bool | No | |
strShippingNotes | form | string | No | |
strDeliveryNotes | form | string | No | |
strInternalNotes | form | string | No | |
strShippingNotes2 | form | string | No | |
strVendorNotes | form | string | No | |
strRepGroup | form | string | No | |
strCurrentRep | form | string | No | |
strGeneratedFrom | form | string | No | |
strCommissionRep | form | string | No | |
strWarehouseID | form | string | No | |
ysnCorpUploaded | form | bool? | No | |
ysnCorpModified | form | bool? | No | |
ysnAllowBackorders | form | bool | No | |
strFiscalYear | form | string | No | |
strFiscalMonth | form | string | No | |
curOriginalOrderTotal | form | double? | No | |
strModifiedExportedOrderNotes | form | string | No | |
strContainerID | form | string | No | |
strTagFor | form | string | No | |
strClientVersion | form | string | No | |
strPriceList | form | string | No | |
ysnSendNewAcct | form | bool | No | |
strCreditCardLastFour | form | string | No | |
strCreditCardToken | form | string | No | |
strCreditCardTransID | form | string | No | |
strCreditCardID | form | string | No | |
strLocation | form | string | No | |
TokenizationCode | form | string | No | |
TokenizationProvider | form | string | No | |
strShipEmail | form | string | No | |
strActivityID | 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/UploadOrders HTTP/1.1
Host: www.bernhardthospitality.com
Accept: application/json
Content-Type: application/json
Content-Length: length
{"orderIds":["String"]}
HTTP/1.1 200 OK Content-Type: application/json Content-Length: length {"orders":[{"strOrderNumber":"String","strPONumber":"String","strOrderPrefix":"String","strCustomerID":"String","strCompanyName":"String","strBillAddress":"String","strBillAddress2":"String","strBillCity":"String","strBillState":"String","strBillZipcode":"String","strBillCountry":"String","strBillPhone":"String","strShipName":"String","strShipAddress":"String","strShipAddress2":"String","strShipCity":"String","strShipState":"String","strShipZipcode":"String","strShipCountry":"String","strShipPhone":"String","dtmOrderDate":"0001-01-01T00:00:00.0000000Z","dtmShipDate":"0001-01-01T00:00:00.0000000Z","strBuyer":"String","strSalesRep":"String","strWritingRep":"String","strTerms":"String","strShipVia":"String","dtmCancelDate":"0001-01-01T00:00:00.0000000Z","curOrderTotal":0,"memNotes":"String","dtmCreated":"0001-01-01T00:00:00.0000000Z","strOrderStatus":"String","strSource":"String","strCreditCardType":"String","strCreditCardNumber":"String","strCreditCardExpiration":"String","strCreditCardAVS":"String","strCreditCardName":"String","strCreditCardAddress":"String","strCreditCardAddress2":"String","strCreditCardCity":"String","strCreditCardState":"String","strCreditCardZipcode":"String","strCreditCardCountry":"String","strManufacturerID":"String","dblCommPercentRep":0,"dblCommPercentMfg":0,"curBalance":0,"ysnMfgEmail":false,"ysnMfgFax":false,"ysnCustEmail":false,"ysnCustFax":false,"ysnRepEmail":false,"ysnRepFax":false,"strCustEmail":"String","strCustFax":"String","ysnModified":false,"strModificationReason":"String","ysnSendCreditSheet":false,"ysnUploaded":false,"ysnActive":false,"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","imgSignature":"AA==","strShipID":"String","strTransactionType":"String","intRevision":0,"strReasonCode":"String","ysnExported":false,"strSessionID":"String","strShowCode":"String","strReviewReason":"String","strReviewedBy":"String","dtmExpectedToClear":"0001-01-01T00:00:00.0000000Z","memReviewLog":"String","strSoldToID":"String","strSoldName":"String","strSoldAddress":"String","strSoldAddress2":"String","strSoldCity":"String","strSoldState":"String","strSoldZipcode":"String","strSoldCountry":"String","strSoldPhone":"String","dblDiscount":0,"dtmTimeStamp":"0001-01-01T00:00:00.0000000Z","ysnDropShip":false,"strERPStatus":"String","strOriginalOrderNumber":"String","dblShippedAmount":0,"strTerritoryID":"String","strRegionID":"String","strCurrencyCode":"String","strPromoTransID":"String","ysnSplitOrder":false,"strRepOrderNumber":"String","strCorpOrderNumber":"String","ysnCCAuthorized":false,"ysnTerritoryRepOverride":false,"strCheckNumber":"String","curCheckAmount":0,"ysnCancelDatesOK":false,"strCompany":"String","ysnShipComplete":false,"strShippingNotes":"String","strDeliveryNotes":"String","strInternalNotes":"String","strShippingNotes2":"String","strVendorNotes":"String","strRepGroup":"String","strCurrentRep":"String","strGeneratedFrom":"String","strCommissionRep":"String","strWarehouseID":"String","ysnCorpUploaded":false,"ysnCorpModified":false,"ysnAllowBackorders":false,"strFiscalYear":"String","strFiscalMonth":"String","curOriginalOrderTotal":0,"strModifiedExportedOrderNotes":"String","strContainerID":"String","strTagFor":"String","strClientVersion":"String","strPriceList":"String","ysnSendNewAcct":false,"strCreditCardLastFour":"String","strCreditCardToken":"String","strCreditCardTransID":"String","strCreditCardID":"String","strLocation":"String","tokenizationCode":"String","tokenizationProvider":"String","strShipEmail":"String","strActivityID":"String"}]}