HTTP + CSV
The following are sample HTTP requests and responses.
The placeholders shown need to be replaced with actual values.
POST /service/RequestPayment HTTP/1.1
Host: www.bernhardthospitality.com
Accept: text/csv
Content-Type: text/csv
Content-Length: length
{"id":"String","cartId":"String","cartName":"String","meta":{"String":"String"},"generatedFrom":"String","businessModel":"Retail","clientVersion":"String","isEmunOrder":true,"stage":"EMUN","canEdit":true,"agencyCanEdit":false,"canModify":false,"status":"String","erpStatus":"String","activityId":"String","sourceId":"String","source":{"id":"String","label":"String"},"type":"String","transactionType":{"id":"String","description":"String","isDefault":false,"isContainer":false},"containerId":"String","container":{"id":"String","name":"String","warning":false,"cubicVolume":0,"warningPercent":0,"warningPercentOver":0},"warehouseId":"String","warehouse":{"id":"String","name":"String"},"priceList":"String","vendorId":"String","vendor":{"id":"String","label":"String","vendorName":"String","abbreviation":"String","orderMinimum":0,"reOrderMinimum":0,"minimumBalance":0,"active":false,"isInvoiceOnly":false,"allowPriceOverride":false,"defaultShipDatePrevious":false,"enforceMinimums":false,"enforcePurchaseIncrement":false,"allowDiscounts":false,"emailOrders":false,"allowBackorders":false,"useVendorCustId":false,"useVendorShipId":false,"useVendorTerms":false,"exportReviewOrders":false,"emailUrlToExport":false,"includeInBatch":false,"decryptCCOnExport":false,"customerNumber":"String","exportOrders":false,"splitByProductLine":false,"isShowroomVendor":false,"allowManualItemEntry":false,"requireCreditSheet":false,"address":"String","city":"String","state":"String","zip":"String","phone":"String","fax":"String","email":"String","website":"String","note":"String","commissionPercent":0,"orderTagLine":"String","productTags":[{"id":"String","tag":"String"}],"settings":[{"vendorId":"String","key":"String","value":"String"}],"lastLoginAttempt":"0001-01-01T00:00:00.0000000Z","lastOrderedOn":"0001-01-01T00:00:00.0000000Z","meta":{"String":"String"},"tags":{"String":["String"]}},"shippingMethodId":"String","shippingMethod":{"id":"String","name":"String","isStandard":false},"shipOn":"2024-11-11T00:00:00.0000000+00:00","shipOns":["2024-11-11T00:00:00.0000000+00:00"],"expectedToClear":"0001-01-01T00:00:00.0000000Z","cancelOn":"0001-01-01T00:00:00.0000000Z","timeStampOn":"0001-01-01T00:00:00.0000000Z","orderedOn":"0001-01-01T00:00:00.0000000Z","createdOn":"2024-11-10T03:29:21.0351829+00:00","shipComplete":false,"allowBackorders":false,"repFax":false,"requestTermChange":false,"isCorpModified":false,"purchaser":{"id":"String","companyName":"String","personName":{"salutation":"","first":"String","middle":"","last":"","suffix":"","full":"String"},"address":"String","address1":"String","address2":"String","city":"String","state":"String","zip":"String","country":"String","phone":"String","fax":"String","email":"String","storeSize":"String","custom2":"String","accountType":"String","meta":{"String":"String"}},"consumerId":"String","retailerId":"String","repBy":{"meta":{"String":"String","Tags":"{String:[String]}"},"webSiteLogo":"https://bh074-hosp-b2b.ws.emuncloud.com/media/3050/bh-hospitality-logo.jpg","enableServerEvents":false,"informationalVersion":"1.0.81.20905-0e2b1c2cc5+bernhardthospitality-20231128+bernhardthospitality+umbraco+prod+cms","staticAssetsEndpoint":"//s3.amazonaws.com/emuncloud-staticassets/","assetsPath":"//s3.amazonaws.com/emuncloud-staticassets/","databaseVersion":"0273","databaseLastUpdated":"2022-07-05T15:08:26.6570000Z","clientId":"bh074-hospitality","website":"https://bh074-hosp-b2b.ws.emuncloud.com/","crm":false,"salesManagementMode":false,"agencyMode":false,"localMode":false,"showMode":false,"debugMode":false,"envTags":["Prod","Cms","NetFramework"],"tags":{"String":["String"]},"clientName":"Bernhardt Hospitality","availableBusinessModels":["Wholesale","Retail"],"salesRepId":"String","retailerId":"String","vendorGroup":"String","useOrderPdf":true,"businessModel":"Retail","customerId":"String","contactId":"String","shard":"String","referrerUrl":"String","id":"String","userAuthId":"String","userAuthName":"String","userName":"String","twitterUserId":"String","twitterScreenName":"String","facebookUserId":"String","facebookUserName":"String","firstName":"String","lastName":"String","displayName":"String","company":"String","email":"String","primaryEmail":"String","phoneNumber":"String","birthDate":"0001-01-01T00:00:00.0000000Z","birthDateRaw":"String","address":"String","address2":"String","city":"String","state":"String","country":"String","culture":"String","fullName":"String","gender":"String","language":"String","mailAddress":"String","nickname":"String","postalCode":"String","timeZone":"String","requestTokenSecret":"String","createdAt":"0001-01-01T00:00:00.0000000Z","lastModified":"0001-01-01T00:00:00.0000000Z","roles":["String"],"permissions":["String"],"isAuthenticated":false,"fromToken":false,"profileUrl":"String","sequence":"String","tag":0,"authProvider":"String","providerOAuthAccess":[{}]},"salesRepId":"String","writtenBy":"String","currentRepId":"String","currentRep":{"id":"String","name":"String","userName":"String","address":"String","city":"String","state":"String","zip":"String","phone":"String","fax":"String","email":"String","notes":"String","repGroupId":"String","territoryId":"String","regionId":"String","divisionId":"String","startedOn":"0001-01-01T00:00:00.0000000Z","terminatedOn":"0001-01-01T00:00:00.0000000Z","bornOn":"0001-01-01T00:00:00.0000000Z","active":false,"totalSales":0,"region":{"id":"String","name":"String","houseAccount":"String"},"territory":{"id":"String","name":"String","regionId":"String","region":{"id":"String","name":"String","houseAccount":"String"},"zipcodeCount":0,"customerCount":0},"legacyUser":{"id":"String","userName":"String","fullName":"String","shortName":"String","email":"String","type":"String","priceList":"String"}},"writingRep":{"id":"String","name":"String","userName":"String","address":"String","city":"String","state":"String","zip":"String","phone":"String","fax":"String","email":"String","notes":"String","repGroupId":"String","territoryId":"String","regionId":"String","divisionId":"String","startedOn":"0001-01-01T00:00:00.0000000Z","terminatedOn":"0001-01-01T00:00:00.0000000Z","bornOn":"0001-01-01T00:00:00.0000000Z","active":false,"totalSales":0,"region":{"id":"String","name":"String","houseAccount":"String"},"territory":{"id":"String","name":"String","regionId":"String","region":{"id":"String","name":"String","houseAccount":"String"},"zipcodeCount":0,"customerCount":0},"legacyUser":{"id":"String","userName":"String","fullName":"String","shortName":"String","email":"String","type":"String","priceList":"String"}},"buyer":"String","shippingLocation":{"id":"String","companyName":"String","personName":{"salutation":"","first":"String","middle":"","last":"","suffix":"","full":"String"},"address":"String","address1":"String","address2":"String","city":"String","state":"String","zip":"String","country":"String","phone":"String","fax":"String","email":"String","storeSize":"String","custom2":"String","accountType":"String","meta":{"String":"String"}},"shippingLocationId":"String","shippingRate":{"objectId":"String","objectState":{},"objectPurpose":{},"objectCreated":{},"objectUpdated":{},"objectOwner":{},"attributes":{},"amountLocal":{},"currencyLocal":{},"amount":{},"currency":{},"provider":{},"providerImage75":{},"providerImage200":{},"servicelevelName":{},"servicelevelTerms":{},"days":{},"commitDate":{},"durationTerms":{},"trackable":{},"insurance":{},"insuranceAmountLocal":{},"insuranceCurrencyLocal":{},"insuranceAmount":{},"insuranceCurrency":{},"messages":{}},"paymentTermsId":"String","paymentTerms":{"id":"String","name":"String","isCredit":false,"isStandard":false,"isB2B":false},"purchaseOrder":"String","paymentMethod":{"provider":"String","type":"String","token":"String","tokenizationProvider":"String","securityCode":"String","expiration":"String","lastFour":"String","network":"None","id":"String","companyName":"String","personName":{"salutation":"","first":"String","middle":"","last":"","suffix":"","full":"String"},"address":"String","address1":"String","address2":"String","city":"String","state":"String","zip":"String","country":"String","phone":"String","fax":"String","email":"String","storeSize":"String","custom2":"String","accountType":"String","meta":{"String":"String"}},"paymentMethodName":"String","paymentMethodLastFour":"String","paymentMethodTransId":"String","tokenizationProvider":"String","dueDatePromoDate":"String","billingLocation":{"id":"String","companyName":"String","personName":{"salutation":"String","first":"String","middle":"String","last":"String","suffix":"String","full":"String String String String String"},"address":"String","address1":"String","address2":"String","city":"String","state":"String","zip":"String","country":"String","phone":"String","fax":"String","email":"String","storeSize":"String","custom2":"String","accountType":"String","meta":{"String":"String"}},"accountType":"String","giftCard":"String","hasFreeShipping":false,"promoCode":"String","promoCode2":"String","isSummary":false,"changes":[{"id":"String","cartId":"String","timeOfRequest":"0001-01-01T00:00:00.0000000Z","username":"String","requestType":"String","sessionId":"String","quantityChange":0,"oldValue":"String","newValue":"String","productId":"String","position":0,"reason":"String","isUploaded":false,"isExported":false,"status":"String"}],"parcels":[{"cartonNumber":"String","orderNumber":"String","orderStatus":"String","orderedOn":"0001-01-01T00:00:00.0000000Z","invoiceNumber":"String","invoicedOn":"0001-01-01T00:00:00.0000000Z","manufacturerId":"String","shippingMethod":"String","trackingNumber":"String","trackingUrl":"String","warehouse":"String","poNumber":"String","cartName":"String","retailerId":"String","retailerEmail":"String","shippingLocationId":"String","id":"String"}],"isOnDemand":false,"isRushOrder":false,"items":[],"itemCount":0,"parcelCount":1,"changeCount":1,"qtyPurchased":0,"caseQtyPurchased":0,"extendedQtyPurchased":0,"qtyFree":0,"salesTax":0,"weight":0,"availableWeight":0,"availableTotal":0,"cubicVolume":0,"availableCubicVolume":0,"cubicVolumePercentage":0,"salesTaxRate":0,"freight":0,"freightInsurance":0,"deliveryType":0,"creditCardFee":0,"supplyChainFee":0,"rushOrderFee":0,"refund":0,"discountPercentage":0,"discount":0,"promoDiscount":0,"giftCardDiscount":0,"originalOrderTotal":0,"subTotal":0,"taxableTotal":0,"points":0,"grandTotal":0,"openTotal":0,"shippedTotal":0,"backorderTotal":0,"shippableTotal":0,"additionalCharges":0,"balance":0,"shippedAmount":0,"checkAmount":0,"uploaded":false,"modified":false,"exported":false,"dropShip":false,"originalOrderNumber":"String","showCode":{"id":"String","name":"String","start":"0001-01-01T00:00:00.0000000Z","end":"0001-01-01T00:00:00.0000000Z","showOnDashboard":false},"showCodeId":"String","note":"String","vendorNote":"String","deliveryNote":"String","shippingNote":"String","shippingNote2":"String","internalNote":"String","subscribeEmails":"String","approvalCode":"String","authorizeDecline":"String","tagFor":"String","reviewReason":"String","reviewedBy":"String","reasonCode":"String","nextFulfillment":"String","location":"String","repGroup":"String","fromSplit":false,"availablePoints":0,"hasNotes":false}
HTTP/1.1 200 OK
Content-Type: text/csv
Content-Length: length
{"id":"String","cartId":"String","cartName":"String","meta":{"String":"String"},"generatedFrom":"String","businessModel":"Retail","clientVersion":"String","isEmunOrder":true,"stage":"EMUN","canEdit":true,"agencyCanEdit":false,"canModify":false,"status":"String","erpStatus":"String","activityId":"String","sourceId":"String","source":{"id":"String","label":"String"},"type":"String","transactionType":{"id":"String","description":"String","isDefault":false,"isContainer":false},"containerId":"String","container":{"id":"String","name":"String","warning":false,"cubicVolume":0,"warningPercent":0,"warningPercentOver":0},"warehouseId":"String","warehouse":{"id":"String","name":"String"},"priceList":"String","vendorId":"String","vendor":{"id":"String","label":"String","vendorName":"String","abbreviation":"String","orderMinimum":0,"reOrderMinimum":0,"minimumBalance":0,"active":false,"isInvoiceOnly":false,"allowPriceOverride":false,"defaultShipDatePrevious":false,"enforceMinimums":false,"enforcePurchaseIncrement":false,"allowDiscounts":false,"emailOrders":false,"allowBackorders":false,"useVendorCustId":false,"useVendorShipId":false,"useVendorTerms":false,"exportReviewOrders":false,"emailUrlToExport":false,"includeInBatch":false,"decryptCCOnExport":false,"customerNumber":"String","exportOrders":false,"splitByProductLine":false,"isShowroomVendor":false,"allowManualItemEntry":false,"requireCreditSheet":false,"address":"String","city":"String","state":"String","zip":"String","phone":"String","fax":"String","email":"String","website":"String","note":"String","commissionPercent":0,"orderTagLine":"String","productTags":[{"id":"String","tag":"String"}],"settings":[{"vendorId":"String","key":"String","value":"String"}],"lastLoginAttempt":"0001-01-01T00:00:00.0000000Z","lastOrderedOn":"0001-01-01T00:00:00.0000000Z","meta":{"String":"String"},"tags":{"String":["String"]}},"shippingMethodId":"String","shippingMethod":{"id":"String","name":"String","isStandard":false},"shipOn":"2024-11-11T00:00:00.0000000+00:00","shipOns":["2024-11-11T00:00:00.0000000+00:00"],"expectedToClear":"0001-01-01T00:00:00.0000000Z","cancelOn":"0001-01-01T00:00:00.0000000Z","timeStampOn":"0001-01-01T00:00:00.0000000Z","orderedOn":"0001-01-01T00:00:00.0000000Z","createdOn":"2024-11-10T03:29:21.0610798+00:00","shipComplete":false,"allowBackorders":false,"repFax":false,"requestTermChange":false,"isCorpModified":false,"purchaser":{"id":"String","companyName":"String","personName":{"salutation":"","first":"String","middle":"","last":"","suffix":"","full":"String"},"address":"String","address1":"String","address2":"String","city":"String","state":"String","zip":"String","country":"String","phone":"String","fax":"String","email":"String","storeSize":"String","custom2":"String","accountType":"String","meta":{"String":"String"}},"consumerId":"String","retailerId":"String","repBy":{"meta":{"String":"String","Tags":"{String:[String]}"},"webSiteLogo":"https://bh074-hosp-b2b.ws.emuncloud.com/media/3050/bh-hospitality-logo.jpg","enableServerEvents":false,"informationalVersion":"1.0.81.20905-0e2b1c2cc5+bernhardthospitality-20231128+bernhardthospitality+umbraco+prod+cms","staticAssetsEndpoint":"//s3.amazonaws.com/emuncloud-staticassets/","assetsPath":"//s3.amazonaws.com/emuncloud-staticassets/","databaseVersion":"0273","databaseLastUpdated":"2022-07-05T15:08:26.6570000Z","clientId":"bh074-hospitality","website":"https://bh074-hosp-b2b.ws.emuncloud.com/","crm":false,"salesManagementMode":false,"agencyMode":false,"localMode":false,"showMode":false,"debugMode":false,"envTags":["Prod","Cms","NetFramework"],"tags":{"String":["String"]},"clientName":"Bernhardt Hospitality","availableBusinessModels":["Wholesale","Retail"],"salesRepId":"String","retailerId":"String","vendorGroup":"String","useOrderPdf":true,"businessModel":"Retail","customerId":"String","contactId":"String","shard":"String","referrerUrl":"String","id":"String","userAuthId":"String","userAuthName":"String","userName":"String","twitterUserId":"String","twitterScreenName":"String","facebookUserId":"String","facebookUserName":"String","firstName":"String","lastName":"String","displayName":"String","company":"String","email":"String","primaryEmail":"String","phoneNumber":"String","birthDate":"0001-01-01T00:00:00.0000000Z","birthDateRaw":"String","address":"String","address2":"String","city":"String","state":"String","country":"String","culture":"String","fullName":"String","gender":"String","language":"String","mailAddress":"String","nickname":"String","postalCode":"String","timeZone":"String","requestTokenSecret":"String","createdAt":"0001-01-01T00:00:00.0000000Z","lastModified":"0001-01-01T00:00:00.0000000Z","roles":["String"],"permissions":["String"],"isAuthenticated":false,"fromToken":false,"profileUrl":"String","sequence":"String","tag":0,"authProvider":"String","providerOAuthAccess":[{}]},"salesRepId":"String","writtenBy":"String","currentRepId":"String","currentRep":{"id":"String","name":"String","userName":"String","address":"String","city":"String","state":"String","zip":"String","phone":"String","fax":"String","email":"String","notes":"String","repGroupId":"String","territoryId":"String","regionId":"String","divisionId":"String","startedOn":"0001-01-01T00:00:00.0000000Z","terminatedOn":"0001-01-01T00:00:00.0000000Z","bornOn":"0001-01-01T00:00:00.0000000Z","active":false,"totalSales":0,"region":{"id":"String","name":"String","houseAccount":"String"},"territory":{"id":"String","name":"String","regionId":"String","region":{"id":"String","name":"String","houseAccount":"String"},"zipcodeCount":0,"customerCount":0},"legacyUser":{"id":"String","userName":"String","fullName":"String","shortName":"String","email":"String","type":"String","priceList":"String"}},"writingRep":{"id":"String","name":"String","userName":"String","address":"String","city":"String","state":"String","zip":"String","phone":"String","fax":"String","email":"String","notes":"String","repGroupId":"String","territoryId":"String","regionId":"String","divisionId":"String","startedOn":"0001-01-01T00:00:00.0000000Z","terminatedOn":"0001-01-01T00:00:00.0000000Z","bornOn":"0001-01-01T00:00:00.0000000Z","active":false,"totalSales":0,"region":{"id":"String","name":"String","houseAccount":"String"},"territory":{"id":"String","name":"String","regionId":"String","region":{"id":"String","name":"String","houseAccount":"String"},"zipcodeCount":0,"customerCount":0},"legacyUser":{"id":"String","userName":"String","fullName":"String","shortName":"String","email":"String","type":"String","priceList":"String"}},"buyer":"String","shippingLocation":{"id":"String","companyName":"String","personName":{"salutation":"","first":"String","middle":"","last":"","suffix":"","full":"String"},"address":"String","address1":"String","address2":"String","city":"String","state":"String","zip":"String","country":"String","phone":"String","fax":"String","email":"String","storeSize":"String","custom2":"String","accountType":"String","meta":{"String":"String"}},"shippingLocationId":"String","shippingRate":{"objectId":"String","objectState":{},"objectPurpose":{},"objectCreated":{},"objectUpdated":{},"objectOwner":{},"attributes":{},"amountLocal":{},"currencyLocal":{},"amount":{},"currency":{},"provider":{},"providerImage75":{},"providerImage200":{},"servicelevelName":{},"servicelevelTerms":{},"days":{},"commitDate":{},"durationTerms":{},"trackable":{},"insurance":{},"insuranceAmountLocal":{},"insuranceCurrencyLocal":{},"insuranceAmount":{},"insuranceCurrency":{},"messages":{}},"paymentTermsId":"String","paymentTerms":{"id":"String","name":"String","isCredit":false,"isStandard":false,"isB2B":false},"purchaseOrder":"String","paymentMethod":{"provider":"String","type":"String","token":"String","tokenizationProvider":"String","securityCode":"String","expiration":"String","lastFour":"String","network":"None","id":"String","companyName":"String","personName":{"salutation":"","first":"String","middle":"","last":"","suffix":"","full":"String"},"address":"String","address1":"String","address2":"String","city":"String","state":"String","zip":"String","country":"String","phone":"String","fax":"String","email":"String","storeSize":"String","custom2":"String","accountType":"String","meta":{"String":"String"}},"paymentMethodName":"String","paymentMethodLastFour":"String","paymentMethodTransId":"String","tokenizationProvider":"String","dueDatePromoDate":"String","billingLocation":{"id":"String","companyName":"String","personName":{"salutation":"String","first":"String","middle":"String","last":"String","suffix":"String","full":"String String String String String"},"address":"String","address1":"String","address2":"String","city":"String","state":"String","zip":"String","country":"String","phone":"String","fax":"String","email":"String","storeSize":"String","custom2":"String","accountType":"String","meta":{"String":"String"}},"accountType":"String","giftCard":"String","hasFreeShipping":false,"promoCode":"String","promoCode2":"String","isSummary":false,"changes":[{"id":"String","cartId":"String","timeOfRequest":"0001-01-01T00:00:00.0000000Z","username":"String","requestType":"String","sessionId":"String","quantityChange":0,"oldValue":"String","newValue":"String","productId":"String","position":0,"reason":"String","isUploaded":false,"isExported":false,"status":"String"}],"parcels":[{"cartonNumber":"String","orderNumber":"String","orderStatus":"String","orderedOn":"0001-01-01T00:00:00.0000000Z","invoiceNumber":"String","invoicedOn":"0001-01-01T00:00:00.0000000Z","manufacturerId":"String","shippingMethod":"String","trackingNumber":"String","trackingUrl":"String","warehouse":"String","poNumber":"String","cartName":"String","retailerId":"String","retailerEmail":"String","shippingLocationId":"String","id":"String"}],"isOnDemand":false,"isRushOrder":false,"items":[],"itemCount":0,"parcelCount":1,"changeCount":1,"qtyPurchased":0,"caseQtyPurchased":0,"extendedQtyPurchased":0,"qtyFree":0,"salesTax":0,"weight":0,"availableWeight":0,"availableTotal":0,"cubicVolume":0,"availableCubicVolume":0,"cubicVolumePercentage":0,"salesTaxRate":0,"freight":0,"freightInsurance":0,"deliveryType":0,"creditCardFee":0,"supplyChainFee":0,"rushOrderFee":0,"refund":0,"discountPercentage":0,"discount":0,"promoDiscount":0,"giftCardDiscount":0,"originalOrderTotal":0,"subTotal":0,"taxableTotal":0,"points":0,"grandTotal":0,"openTotal":0,"shippedTotal":0,"backorderTotal":0,"shippableTotal":0,"additionalCharges":0,"balance":0,"shippedAmount":0,"checkAmount":0,"uploaded":false,"modified":false,"exported":false,"dropShip":false,"originalOrderNumber":"String","showCode":{"id":"String","name":"String","start":"0001-01-01T00:00:00.0000000Z","end":"0001-01-01T00:00:00.0000000Z","showOnDashboard":false},"showCodeId":"String","note":"String","vendorNote":"String","deliveryNote":"String","shippingNote":"String","shippingNote2":"String","internalNote":"String","subscribeEmails":"String","approvalCode":"String","authorizeDecline":"String","tagFor":"String","reviewReason":"String","reviewedBy":"String","reasonCode":"String","nextFulfillment":"String","location":"String","repGroup":"String","fromSplit":false,"availablePoints":0,"hasNotes":false}