Dispatcher Actions
NRGship listens on port 54242 for POST requests. The POST body should contain XML formatted text which specifies a given action along with any additional parameters.
URL:
http://ipnumber:54242/posttext.html
POST body:
<TROI_TEXT_UTF8>
<NRGship>
<action>ship</action>
<id>xyx</id>
<button>1</button>
<Shipment><!-- optional --></Shipment>
</NRGship>
</TROI_TEXT_UTF8>
The dispatcher accepts the following actions:
Show - When called with a valid ID, the given shipment will be brought up on the desktop so that it can be finalized.
Ship - When called with a valid ID, the given shipment will be brought up on the desktop and the ship process will be invoked.
Rate - When called with a valid ID, the given shipment will be brought up on the desktop and the rating process will be invoked so the shipment can be finalized.
New -This action will accept NRGship formatted XML data inside of the NRGship request. A new shipment record will be created and will be displayed for the user to finalize.
Get - Future support for eCommerce automation