aboutsummaryrefslogtreecommitdiffstats
path: root/gsxws/core.py
diff options
context:
space:
mode:
Diffstat (limited to 'gsxws/core.py')
-rw-r--r--gsxws/core.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/gsxws/core.py b/gsxws/core.py
index d5b6d5e..55a086f 100644
--- a/gsxws/core.py
+++ b/gsxws/core.py
@@ -307,6 +307,11 @@ class GsxRequest(object):
root.append(self.data)
else:
request_name = method + "Request"
+
+ # @hack for Reported Symptom/Issue API which nests two ReportedSymptomIssueRequest elements
+ if method.endswith("Request"):
+ request_name = method
+
request = ET.SubElement(root, request_name)
request.append(GSX_SESSION)