Docs / NAVAX Extension Base / Information for Developers Service Log Request/Response2024/07/30 • 4 min. to read In this topic
Service log requests/responses can be displayed via various procedures from the
NCEX Service Log Mgt. codeunit.
The procedures can be used for requests and responses which were sent/returned in JSON format or XML format and are available in a BLOB field.
This opens a page that displays detailed information about what has been sent to and returned from the service.
The information can be useful for technical support.
Methods
ShowJSONRequestResponse
Displays a JSON format request/response in a new page.
procedure ShowJSONRequestResponse(RequestFieldRef: FieldRef; ResponseFieldRef: FieldRef)
procedure ShowJSONRequestResponse(RequestFieldRef: FieldRef; RequestJSONPartFieldRef: FieldRef; ResponseFieldRef: FieldRef; ResponseJSONPartFieldRef: FieldRef)
Parameters
Type Name Description
FieldRef RequestFieldRef The field that contains the request to be displayed.
FieldRef [Optional] RequestJSONPartFieldRef The field that contains the JSON part of the request to be displayed.
FieldRef ResponseFieldRef The field that contains the response to be displayed.
FieldRef [Optional] ResponseJSONPartFieldRef The field that contains the JSON part of the response to be displayed.
ShowJSONRequest
Displays a JSON format request in a new page.
procedure ShowJSONRequest(RequestFieldRef: FieldRef)
procedure ShowJSONRequest(RequestFieldRef: FieldRef; RequestJSONPartFieldRef: FieldRef)
Parameters
Type Name Description
FieldRef RequestFieldRef The field that contains the request to be displayed.
FieldRef [Optional] RequestJSONPartFieldRef The field that contains the JSON part of the request to be displayed.
ShowJSONResponse
Displays a JSON format response in a new page.
procedure ShowJSONResponse(ResponseFieldRef: FieldRef)
procedure ShowJSONResponse(ResponseFieldRef: FieldRef; ResponseJSONPartFieldRef: FieldRef)
Parameters
Type Name Description
FieldRef ResponseFieldRef The field that contains the response to be displayed.
FieldRef [Optional] ResponseJSONPartFieldRef The field that contains the JSON part of the response to be displayed.
ShowXMLRequestResponse
Displays a XML format request/response in a new page.
procedure ShowXMLRequestResponse(RequestFieldRef: FieldRef; ResponseFieldRef: FieldRef)
procedure ShowXMLRequestResponse(RequestFieldRef: FieldRef; RequestXMLPartFieldRef: FieldRef; ResponseFieldRef: FieldRef; ResponseXMLPartFieldRef: FieldRef)
Parameters
Type Name Description
FieldRef RequestFieldRef The field that contains the request to be displayed.
FieldRef [Optional] RequestXMLPartFieldRef The field that contains the XML part of the request to be displayed.
FieldRef ResponseFieldRef The field that contains the response to be displayed.
FieldRef [Optional] ResponseXMLPartFieldRef The field that contains the XML part of the response to be displayed.
ShowXMLRequest
Displays a XML format request in a new page.
procedure ShowXMLRequest(RequestFieldRef: FieldRef)
procedure ShowXMLRequest(RequestFieldRef: FieldRef; RequestXMLPartFieldRef: FieldRef)
Parameters
Type Name Description
FieldRef RequestFieldRef The field that contains the request to be displayed.
FieldRef [Optional] RequestXMLPartFieldRef The field that contains the XML part of the request to be displayed.
ShowXMLResponse
Displays a XML format response in a new page.
procedure ShowXMLResponse(ResponseFieldRef: FieldRef)
procedure ShowXMLResponse(ResponseFieldRef: FieldRef; ResponseXMLPartFieldRef: FieldRef)
Parameters
Type Name Description
FieldRef ResponseFieldRef The field that contains the response to be displayed.
FieldRef [Optional] ResponseXMLPartFieldRef The field that contains the XML part of the response to be displayed.