aboutsummaryrefslogtreecommitdiffstats
path: root/gsxws/repairs.py
diff options
context:
space:
mode:
Diffstat (limited to 'gsxws/repairs.py')
-rw-r--r--gsxws/repairs.py6
1 files changed, 5 insertions, 1 deletions
diff --git a/gsxws/repairs.py b/gsxws/repairs.py
index 0d877a1..989c94d 100644
--- a/gsxws/repairs.py
+++ b/gsxws/repairs.py
@@ -274,12 +274,16 @@ class CarryInRepair(Repair):
"""
self._namespace = "emea:"
result = self._submit("repairData", "CreateCarryIn", "repairConfirmation")
+
+ if hasattr(result, 'repairConfirmation'):
+ messages = result.repairConfirmation.messages
+ raise GsxError(messages)
+
self.dispatchId = result.confirmationNumber
return result
def update(self, newdata):
"""
- Description
The Update Carry-In Repair API allows the service providers
to update the existing open carry-in repairs.
This API assists in addition/deletion of parts and addition of notes