FAQs - ERP & Grain Accounting
Hello! This page will be helpful to you if youāre Barchart employee or an ERP partner that weāre just starting to work with. Letās go through the different progressions weāll work through together.
Are you an agribusiness? Youāll probably find the answers youāre look for right here
Ā
- 1 Getting Started
- 1.1 Discovery
- 1.2 Follow-up
- 1.3 Ingestion Examples
- 2 FAQs
- 2.1 How quickly can you integrate with our ERP system?
- 2.2 Wait, so we can provide you anything and you turn it around in a week or two?
- 2.3 How much work is it to onboard an additional elevator after we complete an integration?
- 2.4 So how can we work together to add a new elevator? What steps need to be taken?
Ā
Getting Started
Discovery
This is the getting to know you phase. Generally weāre going to want to ask the following questions to better understand your capabilities.
General data access:
How do you typically deliverĀ this type of data (Contracts, Customers, SettlementsĀ and Balances) outsideĀ of your ERP system?Ā Ā
Do you have an API for 3rd party integrations?Ā
Is yourĀ API REST based? JSON or XML output format?Ā
Maybe flat files via SFTP?
Do you have documentation available on this API?
Do you have a sandbox/testing environmentĀ available for development?
Webhooks (HTTP POST) Integration:Ā Ā
Do you support a push (HTTP POST) style deliveryĀ mechanism (e.g. on data changes they would send us updates)?
Have you seen our sample data models?
Do they have technicalĀ questions or needĀ access to a sandbox for this type of integration? Contact marketplace@barchart.com.
Follow-up
After the Discovery emails / calls weāll follow-up with some more detail on how we can start working together. Hereās an example of what we might send to you . The relevant attachments are below the code snippet
Hi [Provider],
Thanks for the call today. Attached is a brief rundown of the ingestion interface on our side - also attached are some example JSON models.
Here is a Postman example of the Update API (HTTP POST): https://documenter.getpostman.com/view/4988380/TVYNXuxD
Update HTTP Endpoint
https://gar.aws.barchart.com/api/v1/providers/[Provider]/update
API Key
[Insert any GUID from here (and save it somewehre): https://www.guidgenerator.com/]
Example CURL
curl --request POST 'https://gar.aws.barchart.com/api/v1/providers/[Provider]/update' \
--header 'x-api-key: [GUID]' \
--header 'x-customer-context: an-elevator-company' \
--header 'Content-Type: application/json' \
--data-raw '{
"key": "any JSON body format is accepted"
}'
To start, the API will just echo back what you POST to it, once we have the official JSON structure for your document entities we can start the indexing process on our side.
Any questions just let us know.
[Attach barchart_models.zip] [Attach Accounting_Ingestion.pdf]
Ingestion Examples
FAQs
How quickly can you integrate with our ERP system?
Pretty quickly actually. The system we built is very flexibly, and as long as your models are inline with what weāve seen from other providers, then we can likely make demonstrable progress in a week or two. Once you provide some additional information from the section above we can provide a more precise estimate.
Wait, so we can provide you anything and you turn it around in a week or two?
Not exactly. If you are providing us with models weāve already normalized and integrated then itās not a problem to adopt your models to our schema. If weāre supporting a new model type or need to do support a different way to get the information from you, then itās going to take longer. But weāre pretty good at this so letās knock this out together.
How much work is it to onboard an additional elevator after we complete an integration?
Itās super easy! All the ERP provider needs to do is to set a header (x-company-context), which allows us to switch on companies inside a provider, while allowing them to keep the same API key. This way, only very small changes on our side are required for onboardingĀ
So how can we work together to add a new elevator? What steps need to be taken?
Glad you asked. Here are the steps
Use the same API key and endpoint that you currently push information to us with
Set
x-customer-context
to the name of the company being onboarded, for example:x-customer-context: stone-grain
x-customer-context: superior-grain-buyers
Send an email to marketplace@barchart.com who will forward to our development team for processing
Thatās it! Just watch that beautiful grower data start flowing