diff options
author | Filipp Lepalaan <f@0x00.co> | 2013-04-05 19:09:55 +0300 |
---|---|---|
committer | Filipp Lepalaan <f@0x00.co> | 2013-04-05 19:09:55 +0300 |
commit | 07991543c2acd25a2187964941510492432d4d37 (patch) | |
tree | cc885b0ba89881681019909c8e41f92b01df84f7 | |
parent | 12d6382bd77fe1773d6b87a1fea0b73f16f91c20 (diff) | |
download | py-gsxws-07991543c2acd25a2187964941510492432d4d37.tar.gz py-gsxws-07991543c2acd25a2187964941510492432d4d37.tar.bz2 py-gsxws-07991543c2acd25a2187964941510492432d4d37.zip |
Add parts arg to register_parts
-rwxr-xr-x | gsxws.py | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -598,13 +598,14 @@ class Returns(GsxObject): """ pass - def register_parts(self): + def register_parts(self, parts): """ The Register Parts for Bulk Return API creates a bulk return for the registered parts. The API returns the Bulk Return Id with the packing list. """ dt = self._make_type('ns1:registerPartsForBulkReturnRequestType') + self.data['bulkReturnOrder'] = parts dt.bulkPartsRegistrationRequest = self.data return self.submit('RegisterPartsForBulkReturn', dt, 'bulkPartsRegistrationResponse') |