aboutsummaryrefslogtreecommitdiffstats
path: root/gsxws
diff options
context:
space:
mode:
authorFilipp Lepalaan <filipp@mac.com>2015-07-31 09:11:35 +0300
committerFilipp Lepalaan <filipp@mac.com>2015-07-31 09:11:35 +0300
commit5d07f224be301a14ac0af226f7565506a6df590f (patch)
tree0f03de98d70b3782737f68d44288a5f02ae5524e /gsxws
parentce7895d372b2f8bc15ec3450ff1e2ed99e79016d (diff)
downloadpy-gsxws-5d07f224be301a14ac0af226f7565506a6df590f.tar.gz
py-gsxws-5d07f224be301a14ac0af226f7565506a6df590f.tar.bz2
py-gsxws-5d07f224be301a14ac0af226f7565506a6df590f.zip
Added new Symptom/Issue API
Diffstat (limited to 'gsxws')
-rw-r--r--gsxws/repairs.py16
1 files changed, 16 insertions, 0 deletions
diff --git a/gsxws/repairs.py b/gsxws/repairs.py
index 6393de6..15186a7 100644
--- a/gsxws/repairs.py
+++ b/gsxws/repairs.py
@@ -43,6 +43,22 @@ COVERAGE_STATUSES = (
'VW', 'Consumer Law Coverage',
)
+
+class SymptomIssue(GsxObject):
+ """
+ The Reported Symptom/Issue API allows partners to fetch the information
+ related to symptoms and issues. If all the validations go through,
+ api returns a list of valid symptoms/issues according to the input data.
+ Otherwise api returns appropriate error message.
+ """
+ _namespace = "asp:"
+
+ def fetch(self):
+ self._submit("requestData", "ReportedSymptomIssue",
+ "ReportedSymptomIssueResponse")
+ return self._req.objects
+
+
class Customer(GsxObject):
"""
Customer address for GSX