From 5d07f224be301a14ac0af226f7565506a6df590f Mon Sep 17 00:00:00 2001 From: Filipp Lepalaan Date: Fri, 31 Jul 2015 09:11:35 +0300 Subject: Added new Symptom/Issue API --- gsxws/repairs.py | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) 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 -- cgit v1.2.3