diff options
author | Filipp Lepalaan <filipp@mac.com> | 2015-07-31 09:11:35 +0300 |
---|---|---|
committer | Filipp Lepalaan <filipp@mac.com> | 2015-07-31 09:11:35 +0300 |
commit | 5d07f224be301a14ac0af226f7565506a6df590f (patch) | |
tree | 0f03de98d70b3782737f68d44288a5f02ae5524e /gsxws | |
parent | ce7895d372b2f8bc15ec3450ff1e2ed99e79016d (diff) | |
download | py-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.py | 16 |
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 |