Table of Contents

Web Service Communication Log

The Logtrade Web Service Communication Log tracks all communication between Business Central and Logtrade. A log entry has a request and a response that both can be exported to XML files. Requests for methods designed for one single consignment are marked with consignment number in the log, while requests for methods that accept multiple consignments as critera does not have a consignemnt number in the log.

If you are in contact with our support, you should youse the action Create Support Request which opens an email with the xml-files for request and response from the log, so the support staff can see exactly what data that has been sent to the Logtrade API.

Field name Description
Entry No. The unique entry number.
Consignment No. If the request is of a type that is based on a single consignment, the consignment number is shown here.
Action The name of the web service method that is called.
Created At The date and time the request was initiated.
User ID The user who did the request.
Response time (ms) The time that elapsed from the moment the request was sent to Logtrade and the response was received. Post processing in Business Central is not included in the response time.
Contain Errors Indicates if the response includes errors.

Actions

Action Description
View Request Opens a list showing the lines in the request xml.
Export Request Exports the request to an xml file.
View Response Opens a list showing the lines in the response xml.
Export Response Exports the response to an xml file.
Create Support Request Creates and opens an email to support@logtrade.se with information about the BC environment and request-/response xml files attached.

Settings


The setting Log Messages in the delivery setup is set to Always by default.

The log is automatically truncated by a retention policy that is created automatically when installing Logtrade Connect. The policy is by default enabled and the retention period is set to one month.

Workflow


  1. Verify that the message log is enabled in the delivery setup.
  2. Create a consignment.
  3. Send the consignment to Logtrade.
  4. Open the Logtrade Web Service Communication Log
  5. Click on Export Request and save the XML file on your computer.
  6. Click on Export Response and save the XML file on your computer.
  7. Open both files with a text editor (e.g. Notepad) to see how the consignment data has been sent to Logtrade and the response from Logtrade.
Tip

You can find the Logtrade API structure here: http://webservices.Logtrade.info/distribution/Logtrade.distribution.v3.asmx. The method called when preparing a consignment is CreateShipmentEx.

A description of the API methods can be found here: hhttp://webservices.Logtrade.info/distribution/Logtrade.distribution.v3.html

Video


Consignment