EMUN1 ASP.NET

<back to all web services

UploadOrders

The following routes are available for this service:
All Verbs/service/UploadOrders
UploadOrders Parameters:
NameParameterData TypeRequiredDescription
OrderIdsquerystring[]No
OrdersUploaded Parameters:
NameParameterData TypeRequiredDescription
OrdersformList<SalesOrders>No
SalesOrders Parameters:
NameParameterData TypeRequiredDescription
strOrderNumberformstringNo
strPONumberformstringNo
strOrderPrefixformstringNo
strCustomerIDformstringNo
strCompanyNameformstringNo
strBillAddressformstringNo
strBillAddress2formstringNo
strBillCityformstringNo
strBillStateformstringNo
strBillZipcodeformstringNo
strBillCountryformstringNo
strBillPhoneformstringNo
strShipNameformstringNo
strShipAddressformstringNo
strShipAddress2formstringNo
strShipCityformstringNo
strShipStateformstringNo
strShipZipcodeformstringNo
strShipCountryformstringNo
strShipPhoneformstringNo
dtmOrderDateformDateTime?No
dtmShipDateformDateTime?No
strBuyerformstringNo
strSalesRepformstringNo
strWritingRepformstringNo
strTermsformstringNo
strShipViaformstringNo
dtmCancelDateformDateTime?No
curOrderTotalformdouble?No
memNotesformstringNo
dtmCreatedformDateTime?No
strOrderStatusformstringNo
strSourceformstringNo
strCreditCardTypeformstringNo
strCreditCardNumberformstringNo
strCreditCardExpirationformstringNo
strCreditCardAVSformstringNo
strCreditCardNameformstringNo
strCreditCardAddressformstringNo
strCreditCardAddress2formstringNo
strCreditCardCityformstringNo
strCreditCardStateformstringNo
strCreditCardZipcodeformstringNo
strCreditCardCountryformstringNo
strManufacturerIDformstringNo
dblCommPercentRepformdouble?No
dblCommPercentMfgformdouble?No
curBalanceformdouble?No
ysnMfgEmailformbool?No
ysnMfgFaxformbool?No
ysnCustEmailformbool?No
ysnCustFaxformbool?No
ysnRepEmailformbool?No
ysnRepFaxformbool?No
strCustEmailformstringNo
strCustFaxformstringNo
ysnModifiedformbool?No
strModificationReasonformstringNo
ysnSendCreditSheetformbool?No
ysnUploadedformbool?No
ysnActiveformbool?No
strCustom1formstringNo
strCustom2formstringNo
strCustom3formstringNo
strCustom4formstringNo
strCustom5formstringNo
strCustom6formstringNo
strCustom7formstringNo
strCustom8formstringNo
strCustom9formstringNo
strCustom10formstringNo
strCustom11formstringNo
strCustom12formstringNo
strCustom13formstringNo
strCustom14formstringNo
strCustom15formstringNo
imgSignatureformbyte[]No
strShipIDformstringNo
strTransactionTypeformstringNo
intRevisionformint?No
strReasonCodeformstringNo
ysnExportedformbool?No
strSessionIDformstringNo
strShowCodeformstringNo
strReviewReasonformstringNo
strReviewedByformstringNo
dtmExpectedToClearformDateTime?No
memReviewLogformstringNo
strSoldToIDformstringNo
strSoldNameformstringNo
strSoldAddressformstringNo
strSoldAddress2formstringNo
strSoldCityformstringNo
strSoldStateformstringNo
strSoldZipcodeformstringNo
strSoldCountryformstringNo
strSoldPhoneformstringNo
dblDiscountformdouble?No
dtmTimeStampformDateTime?No
ysnDropShipformbool?No
strERPStatusformstringNo
strOriginalOrderNumberformstringNo
dblShippedAmountformdouble?No
strTerritoryIDformstringNo
strRegionIDformstringNo
strCurrencyCodeformstringNo
strPromoTransIDformstringNo
ysnSplitOrderformboolNo
strRepOrderNumberformstringNo
strCorpOrderNumberformstringNo
ysnCCAuthorizedformbool?No
ysnTerritoryRepOverrideformboolNo
strCheckNumberformstringNo
curCheckAmountformdouble?No
ysnCancelDatesOKformboolNo
strCompanyformstringNo
ysnShipCompleteformboolNo
strShippingNotesformstringNo
strDeliveryNotesformstringNo
strInternalNotesformstringNo
strShippingNotes2formstringNo
strVendorNotesformstringNo
strRepGroupformstringNo
strCurrentRepformstringNo
strGeneratedFromformstringNo
strCommissionRepformstringNo
strWarehouseIDformstringNo
ysnCorpUploadedformbool?No
ysnCorpModifiedformbool?No
ysnAllowBackordersformboolNo
strFiscalYearformstringNo
strFiscalMonthformstringNo
curOriginalOrderTotalformdouble?No
strModifiedExportedOrderNotesformstringNo
strContainerIDformstringNo
strTagForformstringNo
strClientVersionformstringNo
strPriceListformstringNo
ysnSendNewAcctformboolNo
strCreditCardLastFourformstringNo
strCreditCardTokenformstringNo
strCreditCardTransIDformstringNo
strCreditCardIDformstringNo
strLocationformstringNo
TokenizationCodeformstringNo
TokenizationProviderformstringNo
strShipEmailformstringNo
strActivityIDformstringNo

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

HTTP + JSON

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"}]}