AGRIS Customer Documentation

Communicating to AGRIS Message Router via Postman

  File Modified

JPEG File Postman-Example.jpg

Aug 08, 2023 by Drew Norris

File AGRIS_Web_Service.postman_collection.json

Apr 02, 2024 by Drew Norris

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

Open Request

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>&lt;xml&gt; &lt;login dataset=&quot;109&quot; userid=&quot;6&quot; password=&quot;6&quot; /&gt; &lt;/xml&gt;</AgContext_str_p> <AgMessage_int_p>81710</AgMessage_int_p> <AgInput_obj_p>&lt;xml&gt; &lt;input usefile=&quot;false&quot; usefilepath=&quot;&quot; /&gt; &lt;/xml&gt;</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

Open Request

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>&lt;xml&gt; &lt;login dataset=&quot;109&quot; userid=&quot;6&quot; password=&quot;6&quot; /&gt; &lt;/xml&gt;</AgContext_str_p> <AgMessage_int_p>81700</AgMessage_int_p> <AgInput_obj_p>&lt;xml&gt; &lt;input requester=&quot;SOAP-Postman&quot; details=&quot;true&quot; action=&quot;&quot; usefile=&quot;false&quot; usefilepath=&quot;&quot;&gt; &lt;locid datetime=&quot;1899-01-01T17:00:00&quot; id=&quot;&quot; /&gt; &lt;/input&gt; &lt;/xml&gt;</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)

Open Request

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>&lt;xml&gt; &lt;login dataset=&quot;109&quot; userid=&quot;6&quot; password=&quot;6&quot; /&gt; &lt;/xml&gt;</AgContext_str_p> <AgMessage_int_p>82320</AgMessage_int_p> <AgInput_obj_p>&lt;xml&gt;&lt;details&gt; &lt;detail recordtype=&quot;GRNT0&quot; inoutcode=&quot;I&quot; ticketlocation=&quot;999&quot; ticketnumber=&quot;&quot; type=&quot;R&quot; shipmentdate=&quot;230803&quot; entrydate=&quot;230803&quot; shiptofromid=&quot;T2D&quot; commodity=&quot;02&quot; varietyclass=&quot;000101&quot; storagebin=&quot;1001&quot; transportmode=&quot;T&quot; shipperid=&quot;&quot; vehicleid=&quot;&quot; otherref=&quot;&quot; trancode4=&quot;&quot; trancode5=&quot;&quot; weightbase=&quot;F&quot; gradebase=&quot;F&quot; freightstatus=&quot;F&quot; disctables=&quot;&quot; netquantity=&quot;116.67&quot; grossweight=&quot;12000&quot; tareweight=&quot;5000&quot; freightweight=&quot;7000&quot; freightrate=&quot;.0000&quot; additionalfreight=&quot;.00&quot; cashprice=&quot;2.00000&quot; cashbasis=&quot;.00000&quot; grossdate=&quot;230803&quot; grosstime=&quot;12:00&quot; grossentrymethod=&quot;K&quot; taredate=&quot;230803&quot; taretime=&quot;12:00&quot; tareentrymethod=&quot;K&quot; driveron=&quot;&quot; carsetdate=&quot;&quot; notifydate=&quot;&quot; daysallowed=&quot;0&quot; shortsamplenumber=&quot;&quot; addupdatereverseoption=&quot;&quot; adjustinventory=&quot;Y&quot; freighttaxpercent=&quot;.0000&quot; ticketstatus=&quot;E&quot; shipmentid=&quot;I9990000055 001001A&quot; updatefieldselection=&quot;&quot; gradeagencyid=&quot;&quot; gradecertificatedate=&quot;230803&quot; gradecertificatenumber=&quot;9990000055&quot; weightagencyid=&quot;&quot; weightcertificatedate=&quot;230803&quot; weightcertificatenumber=&quot;9990000055&quot; haulerid=&quot;&quot; weightuom=&quot;&quot; freightuom=&quot;&quot; freightcurrency=&quot;&quot; exchangerate=&quot;&quot; exchangeratedate=&quot;&quot; theirinvoicenumber=&quot;&quot; execid=&quot;&quot; reverseinstruction=&quot;&quot; first4discounttables=&quot; N&quot; samplenumber=&quot;&quot; last4discounttables=&quot;&quot; splitgroup=&quot;&quot; producerid=&quot;T2D&quot; farm=&quot;&quot; field=&quot;&quot; /&gt; &lt;detail recordtype=&quot;GRNT0G&quot; gradefactor1=&quot; 45.00&quot; discountcode1=&quot;TW&quot; gradefactor2=&quot; 8.00&quot; discountcode2=&quot;MO&quot; gradefactor3=&quot; .00&quot; discountcode3=&quot;DK&quot; gradefactor4=&quot; .00&quot; discountcode4=&quot;PR&quot; gradefactor5=&quot; .00&quot; discountcode5=&quot;FM&quot; gradefactor6=&quot; .00&quot; discountcode6=&quot;VM&quot; gradefactor7=&quot;&quot; discountcode7=&quot;&quot; gradefactor8=&quot;&quot; discountcode8=&quot;&quot; gradefactor9=&quot;&quot; discountcode9=&quot;&quot; gradefactor10=&quot;&quot; discountcode10=&quot;&quot; gradefactor11=&quot;&quot; discountcode11=&quot;&quot; gradefactor12=&quot;&quot; discountcode12=&quot;&quot; gradefactor13=&quot;&quot; discountcode13=&quot;&quot; gradefactor14=&quot;&quot; discountcode14=&quot;&quot; gradefactor15=&quot;&quot; discountcode15=&quot;&quot; gradefactor16=&quot;&quot; discountcode16=&quot;&quot; gradefactor17=&quot;&quot; discountcode17=&quot;&quot; gradefactor18=&quot;&quot; discountcode18=&quot;&quot; gradefactor19=&quot;&quot; discountcode19=&quot;&quot; gradefactor20=&quot;&quot; discountcode20=&quot;&quot; gradefactor21=&quot;&quot; discountcode21=&quot;&quot; gradefactor22=&quot;&quot; discountcode22=&quot;&quot; gradefactor23=&quot;&quot; discountcode23=&quot;&quot; gradefactor24=&quot;&quot; discountcode24=&quot;&quot; gradefactor25=&quot;&quot; discountcode25=&quot;&quot; gradefactor26=&quot;&quot; discountcode26=&quot;&quot; gradefactor27=&quot;&quot; discountcode27=&quot;&quot; gradefactor28=&quot;&quot; discountcode28=&quot;&quot; gradefactor29=&quot;&quot; discountcode29=&quot;&quot; gradefactor30=&quot;&quot; discountcode30=&quot;&quot; gradefactor31=&quot;&quot; discountcode31=&quot;&quot; gradefactor32=&quot;&quot; discountcode32=&quot;&quot; /&gt; &lt;detail recordtype=&quot;GRNT1&quot; applytype=&quot;xy&quot; expectedapplytype=&quot;C&quot; applynameid=&quot;T2D&quot; applylocation=&quot;&quot; applyreference=&quot;&quot; applyreferencepricing=&quot;&quot; alternatetableused=&quot;&quot; alternaterateused=&quot;&quot; tableentrycreated=&quot;&quot; grossquantity=&quot;116.67&quot; netquantity=&quot;116.67&quot; positionquantity=&quot;116.67&quot; applydate=&quot;230803&quot; contractvarietyclass=&quot;&quot; recalculatediscounts=&quot;Y&quot; /&gt; &lt;detail recordtype=&quot;GRNT1R&quot; rate1=&quot; 0&quot; ratetype1=&quot;cn&quot; code1=&quot;TW&quot; table1=&quot;N&quot; rate2=&quot; 0&quot; ratetype2=&quot;cn&quot; code2=&quot;MO&quot; table2=&quot;N&quot; rate3=&quot; 0&quot; ratetype3=&quot;$p&quot; code3=&quot;DK&quot; table3=&quot;N&quot; rate4=&quot; 0&quot; ratetype4=&quot;$p&quot; code4=&quot;PR&quot; table4=&quot;N&quot; rate5=&quot; 0&quot; ratetype5=&quot;$p&quot; code5=&quot;FM&quot; table5=&quot;N&quot; rate6=&quot; 0&quot; ratetype6=&quot;$p&quot; code6=&quot;VM&quot; table6=&quot;N&quot; rate7=&quot; 0&quot; ratetype7=&quot;&quot; code7=&quot;&quot; table7=&quot;&quot; rate8=&quot;&quot; ratetype8=&quot;&quot; code8=&quot;&quot; table8=&quot;&quot; rate9=&quot;&quot; ratetype9=&quot;&quot; code9=&quot;&quot; table9=&quot;&quot; rate10=&quot;&quot; ratetype10=&quot;&quot; code10=&quot;&quot; table10=&quot;&quot; rate11=&quot;&quot; ratetype11=&quot;&quot; code11=&quot;&quot; table11=&quot;&quot; rate12=&quot;&quot; ratetype12=&quot;&quot; code12=&quot;&quot; table12=&quot;&quot; rate13=&quot;&quot; ratetype13=&quot;&quot; code13=&quot;&quot; table13=&quot;&quot; rate14=&quot;&quot; ratetype14=&quot;&quot; code14=&quot;&quot; table14=&quot;&quot; rate15=&quot;&quot; ratetype15=&quot;&quot; code15=&quot;&quot; table15=&quot;&quot; rate16=&quot;&quot; ratetype16=&quot;&quot; code16=&quot;&quot; table16=&quot;&quot; rate17=&quot;&quot; ratetype17=&quot;&quot; code17=&quot;&quot; table17=&quot;&quot; rate18=&quot;&quot; ratetype18=&quot;&quot; code18=&quot;&quot; table18=&quot;&quot; rate19=&quot;&quot; ratetype19=&quot;&quot; code19=&quot;&quot; table19=&quot;&quot; rate20=&quot;&quot; ratetype20=&quot;&quot; code20=&quot;&quot; table20=&quot;&quot; rate21=&quot;&quot; ratetype21=&quot;&quot; code21=&quot;&quot; table21=&quot;&quot; rate22=&quot;&quot; ratetype22=&quot;&quot; code22=&quot;&quot; table22=&quot;&quot; rate23=&quot;&quot; ratetype23=&quot;&quot; code23=&quot;&quot; table23=&quot;&quot; rate24=&quot;&quot; ratetype24=&quot;&quot; code24=&quot;&quot; table24=&quot;&quot; rate25=&quot;&quot; ratetype25=&quot;&quot; code25=&quot;&quot; table25=&quot;&quot; rate26=&quot;&quot; ratetype26=&quot;&quot; code26=&quot;&quot; table26=&quot;&quot; rate27=&quot;&quot; ratetype27=&quot;&quot; code27=&quot;&quot; table27=&quot;&quot; rate28=&quot;&quot; ratetype28=&quot;&quot; code28=&quot;&quot; table28=&quot;&quot; rate29=&quot;&quot; ratetype29=&quot;&quot; code29=&quot;&quot; table29=&quot;&quot; rate30=&quot;&quot; ratetype30=&quot;&quot; code30=&quot;&quot; table30=&quot;&quot; rate31=&quot;&quot; ratetype31=&quot;&quot; code31=&quot;&quot; table31=&quot;&quot; rate32=&quot;&quot; ratetype32=&quot;&quot; code32=&quot;&quot; table32=&quot;&quot; rate33=&quot;&quot; ratetype33=&quot;&quot; code33=&quot;&quot; table33=&quot;&quot; rate34=&quot;&quot; ratetype34=&quot;&quot; code34=&quot;&quot; table34=&quot;&quot; rate35=&quot;&quot; ratetype35=&quot;&quot; code35=&quot;&quot; table35=&quot;&quot; rate36=&quot;&quot; ratetype36=&quot;&quot; code36=&quot;&quot; table36=&quot;&quot; rate37=&quot;&quot; ratetype37=&quot;&quot; code37=&quot;&quot; table37=&quot;&quot; rate38=&quot;&quot; ratetype38=&quot;&quot; code38=&quot;&quot; table38=&quot;&quot; rate39=&quot;&quot; ratetype39=&quot;&quot; code39=&quot;&quot; table39=&quot;&quot; rate40=&quot;&quot; ratetype40=&quot;&quot; code40=&quot;&quot; table40=&quot;&quot; rate41=&quot;&quot; ratetype41=&quot;&quot; code41=&quot;&quot; table41=&quot;&quot; rate42=&quot;&quot; ratetype42=&quot;&quot; code42=&quot;&quot; table42=&quot;&quot; rate43=&quot;&quot; ratetype43=&quot;&quot; code43=&quot;&quot; table43=&quot;&quot; rate44=&quot;&quot; ratetype44=&quot;&quot; code44=&quot;&quot; table44=&quot;&quot; rate45=&quot;&quot; ratetype45=&quot;&quot; code45=&quot;&quot; table45=&quot;&quot; rate46=&quot;&quot; ratetype46=&quot;&quot; code46=&quot;&quot; table46=&quot;&quot; rate47=&quot;&quot; ratetype47=&quot;&quot; code47=&quot;&quot; table47=&quot;&quot; rate48=&quot;&quot; ratetype48=&quot;&quot; code48=&quot;&quot; table48=&quot;&quot; /&gt; &lt;/details&gt;&lt;/xml&gt;</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)

Open Request

http://culentgpqacom/AGRIS/AGRIS.Env.MessageRouter/AGRIS.Env.MessageRouter.asmx

Add request description…

Body raw (xml)

View More

xml

POSTPOST - Ticket (Update: Days=1)

Open Request

http://culentgpqacom/AGRIS/AGRIS.Env.MessageRouter/AGRIS.Env.MessageRouter.asmx

Add request description…

Body raw (xml)

View More

xml

POSTEXTRACT - Ticket (999:0000056)

Open Request

http://culentgpqacom/AGRIS/AGRIS.Env.MessageRouter/AGRIS.Env.MessageRouter.asmx

Add request description…

Body raw (xml)

View More

xml

POSTPOST - Contract (New)

Open Request

http://culentgpqacom/AGRIS/AGRIS.Env.MessageRouter/AGRIS.Env.MessageRouter.asmx

Add request description…

Body raw (xml)

View More

xml

POSTPOST - Contract (Update: Signed=N)

Open Request

http://culentgpqacom/AGRIS/AGRIS.Env.MessageRouter/AGRIS.Env.MessageRouter.asmx

Add request description…

Body raw (xml)

View More

xml

POSTPOST - Contract (Update: Signed=Y)

Open Request

http://culentgpqacom/AGRIS/AGRIS.Env.MessageRouter/AGRIS.Env.MessageRouter.asmx

Add request description…

Body raw (xml)

View More

xml

POSTEXTRACT - Contract (999:P000020)

Open Request

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.