AGRIS Customer Documentation
Communicating to AGRIS Message Router via Postman
AGRIS Web Service - Postman collection
The collection attached to this page can be used for reference to see how messages are structured for use with Postman and can be imported directly. For reference, the requests that make up the collection are presented below.
There is a companion AGRIS dataset, "Web Service POST (tickets and contracts)," that has been staged to allow these messages to be run essentially 'as is' and return valid results.
There are 2 changes the messages need to function correctly:
The URL should be changed to reference the desired AGRIS Message Router/Web Service instance. The default value (shown below) is an instance that is internal to Solentra and should not be used by customers http://culentgpqacom/AGRIS/AGRIS.Env.MessageRouter/AGRIS.Env.MessageRouter.asmx
The context portion of the messages where the 3-digit dataset number is indicated should be updated to reflect the dataset number as it exists in the target environment. By default, the value is set to "109"
Use this converter to take Context or Input values from AGRIS XML Api Tester messages and convert them into HTML-compatible data:
https://www.web2generators.com/html-based-tools/online-html-entities-encoder-and-decoder
Here is a screenshot showing the collection discussed on this page:
POSTEXTRACT - Dataset Listing
http://culentgpqacom/AGRIS/AGRIS.Env.MessageRouter/AGRIS.Env.MessageRouter.asmx
Add request description…
Body raw (xml)
View More
xml
<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<soap:Body>
<ProcessMessage xmlns="http://www.deere.com/agriservices/">
<AgContext_str_p><xml>
<login dataset="109" userid="6" password="6" />
</xml></AgContext_str_p>
<AgMessage_int_p>81710</AgMessage_int_p>
<AgInput_obj_p><xml>
<input usefile="false" usefilepath="" />
</xml></AgInput_obj_p>
<AgOutput_obj_p>string</AgOutput_obj_p>
<AgError_str_p>string</AgError_str_p>
</ProcessMessage>
</soap:Body>
</soap:Envelope>
POSTEXTRACT - Location Codes
http://culentgpqacom/AGRIS/AGRIS.Env.MessageRouter/AGRIS.Env.MessageRouter.asmx
Add request description…
Body raw (xml)
View More
xml
<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<soap:Body>
<ProcessMessage xmlns="http://www.deere.com/agriservices/">
<AgContext_str_p><xml>
<login dataset="109" userid="6" password="6" />
</xml></AgContext_str_p>
<AgMessage_int_p>81700</AgMessage_int_p>
<AgInput_obj_p><xml> <input requester="SOAP-Postman" details="true" action="" usefile="false" usefilepath=""> <locid datetime="1899-01-01T17:00:00" id="" /> </input> </xml></AgInput_obj_p>
<AgOutput_obj_p>string</AgOutput_obj_p>
<AgError_str_p>string</AgError_str_p>
</ProcessMessage>
</soap:Body>
</soap:Envelope>
POSTPOST - Ticket (New)
http://culentgpqacom/AGRIS/AGRIS.Env.MessageRouter/AGRIS.Env.MessageRouter.asmx
Add request description…
Body raw (xml)
View More
xml
<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<soap:Body>
<ProcessMessage xmlns="http://www.deere.com/agriservices/">
<AgContext_str_p><xml>
<login dataset="109" userid="6" password="6" />
</xml></AgContext_str_p>
<AgMessage_int_p>82320</AgMessage_int_p>
<AgInput_obj_p><xml><details> <detail recordtype="GRNT0" inoutcode="I" ticketlocation="999" ticketnumber="" type="R" shipmentdate="230803" entrydate="230803" shiptofromid="T2D" commodity="02" varietyclass="000101" storagebin="1001" transportmode="T" shipperid="" vehicleid="" otherref="" trancode4="" trancode5="" weightbase="F" gradebase="F" freightstatus="F" disctables="" netquantity="116.67" grossweight="12000" tareweight="5000" freightweight="7000" freightrate=".0000" additionalfreight=".00" cashprice="2.00000" cashbasis=".00000" grossdate="230803" grosstime="12:00" grossentrymethod="K" taredate="230803" taretime="12:00" tareentrymethod="K" driveron="" carsetdate="" notifydate="" daysallowed="0" shortsamplenumber="" addupdatereverseoption="" adjustinventory="Y" freighttaxpercent=".0000" ticketstatus="E" shipmentid="I9990000055 001001A" updatefieldselection="" gradeagencyid="" gradecertificatedate="230803" gradecertificatenumber="9990000055" weightagencyid="" weightcertificatedate="230803" weightcertificatenumber="9990000055" haulerid="" weightuom="" freightuom="" freightcurrency="" exchangerate="" exchangeratedate="" theirinvoicenumber="" execid="" reverseinstruction="" first4discounttables=" N" samplenumber="" last4discounttables="" splitgroup="" producerid="T2D" farm="" field="" /> <detail recordtype="GRNT0G" gradefactor1=" 45.00" discountcode1="TW" gradefactor2=" 8.00" discountcode2="MO" gradefactor3=" .00" discountcode3="DK" gradefactor4=" .00" discountcode4="PR" gradefactor5=" .00" discountcode5="FM" gradefactor6=" .00" discountcode6="VM" gradefactor7="" discountcode7="" gradefactor8="" discountcode8="" gradefactor9="" discountcode9="" gradefactor10="" discountcode10="" gradefactor11="" discountcode11="" gradefactor12="" discountcode12="" gradefactor13="" discountcode13="" gradefactor14="" discountcode14="" gradefactor15="" discountcode15="" gradefactor16="" discountcode16="" gradefactor17="" discountcode17="" gradefactor18="" discountcode18="" gradefactor19="" discountcode19="" gradefactor20="" discountcode20="" gradefactor21="" discountcode21="" gradefactor22="" discountcode22="" gradefactor23="" discountcode23="" gradefactor24="" discountcode24="" gradefactor25="" discountcode25="" gradefactor26="" discountcode26="" gradefactor27="" discountcode27="" gradefactor28="" discountcode28="" gradefactor29="" discountcode29="" gradefactor30="" discountcode30="" gradefactor31="" discountcode31="" gradefactor32="" discountcode32="" /> <detail recordtype="GRNT1" applytype="xy" expectedapplytype="C" applynameid="T2D" applylocation="" applyreference="" applyreferencepricing="" alternatetableused="" alternaterateused="" tableentrycreated="" grossquantity="116.67" netquantity="116.67" positionquantity="116.67" applydate="230803" contractvarietyclass="" recalculatediscounts="Y" /> <detail recordtype="GRNT1R" rate1=" 0" ratetype1="cn" code1="TW" table1="N" rate2=" 0" ratetype2="cn" code2="MO" table2="N" rate3=" 0" ratetype3="$p" code3="DK" table3="N" rate4=" 0" ratetype4="$p" code4="PR" table4="N" rate5=" 0" ratetype5="$p" code5="FM" table5="N" rate6=" 0" ratetype6="$p" code6="VM" table6="N" rate7=" 0" ratetype7="" code7="" table7="" rate8="" ratetype8="" code8="" table8="" rate9="" ratetype9="" code9="" table9="" rate10="" ratetype10="" code10="" table10="" rate11="" ratetype11="" code11="" table11="" rate12="" ratetype12="" code12="" table12="" rate13="" ratetype13="" code13="" table13="" rate14="" ratetype14="" code14="" table14="" rate15="" ratetype15="" code15="" table15="" rate16="" ratetype16="" code16="" table16="" rate17="" ratetype17="" code17="" table17="" rate18="" ratetype18="" code18="" table18="" rate19="" ratetype19="" code19="" table19="" rate20="" ratetype20="" code20="" table20="" rate21="" ratetype21="" code21="" table21="" rate22="" ratetype22="" code22="" table22="" rate23="" ratetype23="" code23="" table23="" rate24="" ratetype24="" code24="" table24="" rate25="" ratetype25="" code25="" table25="" rate26="" ratetype26="" code26="" table26="" rate27="" ratetype27="" code27="" table27="" rate28="" ratetype28="" code28="" table28="" rate29="" ratetype29="" code29="" table29="" rate30="" ratetype30="" code30="" table30="" rate31="" ratetype31="" code31="" table31="" rate32="" ratetype32="" code32="" table32="" rate33="" ratetype33="" code33="" table33="" rate34="" ratetype34="" code34="" table34="" rate35="" ratetype35="" code35="" table35="" rate36="" ratetype36="" code36="" table36="" rate37="" ratetype37="" code37="" table37="" rate38="" ratetype38="" code38="" table38="" rate39="" ratetype39="" code39="" table39="" rate40="" ratetype40="" code40="" table40="" rate41="" ratetype41="" code41="" table41="" rate42="" ratetype42="" code42="" table42="" rate43="" ratetype43="" code43="" table43="" rate44="" ratetype44="" code44="" table44="" rate45="" ratetype45="" code45="" table45="" rate46="" ratetype46="" code46="" table46="" rate47="" ratetype47="" code47="" table47="" rate48="" ratetype48="" code48="" table48="" /> </details></xml></AgInput_obj_p>
<AgOutput_obj_p>string</AgOutput_obj_p>
<AgError_str_p>string</AgError_str_p>
</ProcessMessage>
</soap:Body>
</soap:Envelope>
POSTPOST - Ticket (Update: Days=2)
http://culentgpqacom/AGRIS/AGRIS.Env.MessageRouter/AGRIS.Env.MessageRouter.asmx
Add request description…
Body raw (xml)
View More
xml
POSTPOST - Ticket (Update: Days=1)
http://culentgpqacom/AGRIS/AGRIS.Env.MessageRouter/AGRIS.Env.MessageRouter.asmx
Add request description…
Body raw (xml)
View More
xml
POSTEXTRACT - Ticket (999:0000056)
http://culentgpqacom/AGRIS/AGRIS.Env.MessageRouter/AGRIS.Env.MessageRouter.asmx
Add request description…
Body raw (xml)
View More
xml
POSTPOST - Contract (New)
http://culentgpqacom/AGRIS/AGRIS.Env.MessageRouter/AGRIS.Env.MessageRouter.asmx
Add request description…
Body raw (xml)
View More
xml
POSTPOST - Contract (Update: Signed=N)
http://culentgpqacom/AGRIS/AGRIS.Env.MessageRouter/AGRIS.Env.MessageRouter.asmx
Add request description…
Body raw (xml)
View More
xml
POSTPOST - Contract (Update: Signed=Y)
http://culentgpqacom/AGRIS/AGRIS.Env.MessageRouter/AGRIS.Env.MessageRouter.asmx
Add request description…
Body raw (xml)
View More
xml
POSTEXTRACT - Contract (999:P000020)
http://culentgpqacom/AGRIS/AGRIS.Env.MessageRouter/AGRIS.Env.MessageRouter.asmx
Add request description…
Body raw (xml)
View More
xml
3820 Mansell Road, Suite 350 ✦ Alpharetta, GA 30022 ✦ www.GreenstoneSystems.com
© 2011 - 2024 Cultura Technologies LLC. All Rights Reserved Worldwide. Products and company names mentioned herein may be trademarks or registered trademarks of their respective owners.