aboutsummaryrefslogtreecommitdiffstats
path: root/gsxws
diff options
context:
space:
mode:
authorFilipp Lepalaan <f@230.to>2013-10-07 11:57:17 +0300
committerFilipp Lepalaan <f@230.to>2013-10-07 11:57:17 +0300
commit7cec1e997840b2b3b2decab789c5f0f4a2fe23e5 (patch)
tree9fb5e7736d23e2dbe972512ed2497de6c309b58e /gsxws
parent86a6df80b0e40855097fcf836cf11bd4808882f6 (diff)
downloadpy-gsxws-7cec1e997840b2b3b2decab789c5f0f4a2fe23e5.tar.gz
py-gsxws-7cec1e997840b2b3b2decab789c5f0f4a2fe23e5.tar.bz2
py-gsxws-7cec1e997840b2b3b2decab789c5f0f4a2fe23e5.zip
Added Component Check to lookups.py
Diffstat (limited to 'gsxws')
-rw-r--r--gsxws/lookups.py17
1 files changed, 17 insertions, 0 deletions
diff --git a/gsxws/lookups.py b/gsxws/lookups.py
index 7513151..ea9143a 100644
--- a/gsxws/lookups.py
+++ b/gsxws/lookups.py
@@ -62,6 +62,23 @@ class Lookup(GsxObject):
result.invoiceData = outfile.name
return result
+ def component_check(self):
+ """
+ The Component Check API allows service providers to send
+ the information required to create a repair and check if
+ the repair is eligible for component serial number verification
+ for certain components listed in response.
+ If service providers will not be able to provide these component
+ serial numbers, the repairs will not be created until service providers
+ choose an option to send the repair for Component Check Review.
+ GSX validates the information and, if all the validations go through,
+ it obtains a status message explaining if the repair
+ is eligible for Component Serial Number verification
+ and lists the component codes for which component serial numbers are required.
+ """
+ return self._submit("repairData", "ComponentCheck",
+ "componentCheckDetails")
+
if __name__ == '__main__':
import sys