aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--gsxws/repairs.py22
1 files changed, 21 insertions, 1 deletions
diff --git a/gsxws/repairs.py b/gsxws/repairs.py
index 52945b7..b7716ae 100644
--- a/gsxws/repairs.py
+++ b/gsxws/repairs.py
@@ -54,11 +54,21 @@ class SymptomIssue(GsxObject):
_namespace = "asp:"
def fetch(self):
- self._submit("requestData", "ReportedSymptomIssueRequest",
+ self._submit("requestData", "ReportedSymptomIssue",
"ReportedSymptomIssueResponse")
return self._req.objects.reportedSymptomIssueResponse
+class CompTiaCode(GsxObject):
+ """
+ Data type used to provide comptia codes
+ """
+ comptiaCode = ""
+ comptiaModifier = ""
+ comptiaGroup = ""
+ technicianNote = ""
+
+
class Customer(GsxObject):
"""
Customer address for GSX
@@ -347,6 +357,16 @@ class WholeUnitExchange(Repair):
return self._submit("repairData", "CreateWholeUnitExchange", "repairConfirmation")
+class MailInRepair(Repair):
+ """
+ This API allows the submission of Mail-In Repair information into GSX,
+ resulting in the creation of a GSX Mail-In Repair.
+ """
+ def create(self):
+ self._namespace = "asp:"
+ return self._submit("repairData", "CreateMailInRepair", "repairConfirmation")
+
+
if __name__ == '__main__':
import doctest
from core import connect