Minimum Version Required: 24.01
Fields And Definitions
Supplier: Encompass dsdlink Global Supplier ID*
Objective: Name of the Objective (example: Bob’s Brewery Chain Mandates)
DistributorNum: Encompass dsdlink ID*
Distributor Customer Num: Distributor Customer ID*
Product: Encompass dsdlink Global Product ID*
Start Date: Date you would like the Objective to start
End Date: Deadline to complete the Objective
Suppliers Foreign Key: Your internal key for a given line item
Quantity (Optional): Quantity of units to be sold
Detail (Optional): Any additional information you’d like to include (selling story, notes, etc.)
*Encompass can provide these values
Best Practices
Sample Request:
// Request (
// POST https://dsdlink.encompass8.com/api?
// APICommand=RASIntegration_ImportDataForSupplier&
// EncompassID=DSDLink&
// APIToken=APIToken
// )
let url = "https://dsdlink.encompass8.com/api?";
url += "APICommand=RASIntegration_ImportDataForSupplier&EncompassID";
url += "&EncompassID=DSDLink";
url += "&APIToken={{APIToken}}";
url += "&FileName={{DataFileName}}";
const postData = new FormData();
data.append("TextBody", DataFile);
fetch(url, {
method: "POST",
headers: {
"Content-Type": "application/x-www-form-urlencoded; charset=utf-8",
},
body: postData,
});