EMUN1 ASP.NET

<back to all web services

QueryCustomerAlsoBought

The following routes are available for this service:
All Verbs/service/QueryCustomerAlsoBought
All Verbs/service/QueryCustomerAlsoBought/{OrderProductId}
QueryCustomerAlsoBought Parameters:
NameParameterData TypeRequiredDescription
OrderProductIdpathstringNo
DaysBackquerydoubleNo
CartIdquerystringNo
QueryBase Parameters:
NameParameterData TypeRequiredDescription
Skipformint?No
Takeformint?No
OrderByformstringNo
OrderByDescformstringNo
IncludeformstringNo
FieldsformstringNo
MetaformDictionary<string, string>No
SalesOrderLines Parameters:
NameParameterData TypeRequiredDescription
strOrderNumberformstringNo
lngPositionformintNo
strProductIDformstringNo
memDescriptionformstringNo
dblQtyOrderedformdouble?No
curSalesPriceformdouble?No
curListPriceformdouble?No
dblDiscountformdouble?No
strUnitMeasureformstringNo
memNotesformstringNo
dtmShipDateformDateTime?No
dtmCancelDateformDateTime?No
strManufacturerIDformstringNo
strPONumberformstringNo
strTermsformstringNo
strShipMethodformstringNo
strColorformstringNo
strCreditCardNumberformstringNo
strCreditCardTypeformstringNo
strCreditCardNameformstringNo
strCreditCardExpirationformstringNo
strCreditCardAVSformstringNo
strCreditCardAddressformstringNo
strCreditCardAddress2formstringNo
strCreditCardCityformstringNo
strCreditCardStateformstringNo
strCreditCardZipcodeformstringNo
strCreditCardCountryformstringNo
ysnActiveformbool?No
strCustom1formstringNo
strCustom2formstringNo
strCustom3formstringNo
strCustom4formstringNo
strCustom5formstringNo
strCustom6formstringNo
strCustom7formstringNo
strCustom8formstringNo
strCustom9formstringNo
strCustom10formstringNo
strCustom11formstringNo
strCustom12formstringNo
strCustom13formstringNo
strCustom14formstringNo
strCustom15formstringNo
dtmEnteredformDateTime?No
strCategoryformstringNo
intRevisionformint?No
dblOrderDiscountformdouble?No
dblLineDiscountformdouble?No
dblQtyBreakPriceformdouble?No
dblPriceOverrideformdouble?No
dblPromoDiscountformdouble?No
dblCustomerLevelPriceformdouble?No
dblItemGroupDiscountformdouble?No
dblCustomerContractPriceformdouble?No
dblCustomerOrderLevelDiscountformdouble?No
dblCustomerLineLevelDiscountformdouble?No
dblCustomerLineLevelQtyformdouble?No
dblExtendedTotalformdouble?No
strPromoNoteformstringNo
dblPromoDollarAmountformdouble?No
strSplitOrigSOformstringNo
strPromoCodeformstringNo
dblQtyShippedformdouble?No
strSubCategoryformstringNo
strWarehouseformstringNo
ysnKitComponentformboolNo
strLineNotesformstringNo
strBrandIDformstringNo
strPromoCode2formstringNo
strCommentsformstringNo
strSalesRepformstringNo
strReasonCodeformstringNo
lngParentPositionformint?No
strStatusformstringNo
ysnQtyAdjustedformboolNo
strSuperCategoryformstringNo
strEnforceESAformstringNo
dtmESADateformDateTime?No
dblCustom1formdouble?No
dblCustom2formdouble?No
dblCustom3formdouble?No
dblCustom4formdouble?No
dblCustom5formdouble?No
intCustom1formint?No
intCustom2formint?No
intCustom3formint?No
intCustom4formint?No
intCustom5formint?No
dblQtyOpenformdouble?No
dblUpchargeformdouble?No
strDICostformstringNo
strHTSformstringNo
strDutyformstringNo
strWeightformstringNo
strCubeformstringNo
strPortformstringNo
strUPCformstringNo
strCaseDimensionsformstringNo
strWarehouseIDformstringNo
strTagForformstringNo
ysnUsedProductShipDateformboolNo
xmlOptionsformstringNo
strOptionGroupListformstringNo
strPriceListformstringNo
ysnContractPriceformboolNo
LabeledTotalResult Parameters:
NameParameterData TypeRequiredDescription
LabelformstringNo
IdformstringNo
CountformintNo
TotalformdoubleNo
QueryResponse<T> Parameters:
NameParameterData TypeRequiredDescription
OffsetformintNo
TotalformintNo
ResultsformList<T>No
MetaformDictionary<string, string>No
ResponseStatusformResponseStatusNo

To override the Content-type in your clients, use the HTTP Accept Header, append the .other suffix or ?format=other

HTTP + OTHER

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

POST /service/QueryCustomerAlsoBought HTTP/1.1 
Host: www.bernhardthospitality.com 
Accept: application/xlsx
Content-Type: application/xlsx
Content-Length: length

{"orderProductId":"String","daysBack":0,"cartId":"String","skip":0,"take":0,"orderBy":"String","orderByDesc":"String","include":"String","fields":"String","meta":{"String":"String"}}
HTTP/1.1 200 OK
Content-Type: application/xlsx
Content-Length: length

{"offset":0,"total":0,"results":[{"label":"String","id":"String","count":0,"total":0}],"meta":{"String":"String"},"responseStatus":{"errorCode":"String","message":"String","stackTrace":"String","errors":[{"errorCode":"String","fieldName":"String","message":"String","meta":{"String":"String"}}],"meta":{"String":"String"}}}