Harald Welte
|
4966ae5c43
|
Add SPDX Identifiers for the (new) License to all python files
|
2023-01-01 21:35:17 +01:00 |
Harald Welte
|
613b219dcd
|
wpint: make sure actual http response body ends up in backtrace
Right now we just get some cryptic JSON decoding error, rather than
any hint of a HTTP status code or the actual error message
|
2023-01-01 21:30:02 +01:00 |
Harald Welte
|
ef3dd757be
|
create 'utils.py' for bits shared between SOAP and REST API
|
2023-01-01 21:30:02 +01:00 |
Harald Welte
|
ebb0fce5d0
|
wpi: Add shrink_contents_if_needed() method
This method can be used to shrink the number of lines on the customs
declaration, which unfortunately only supports 5 lines in the
WaPoInt API.
|
2021-03-07 14:33:09 +01:00 |
Harald Welte
|
db0a0fb7ae
|
wpint: No more than 5 line items on the CN22 declaration allowed
Otherwise the API will generate the following error:
"items[0].contents: size must be between 0 and 5"
|
2021-03-07 14:08:40 +01:00 |
Harald Welte
|
dd8b8d7320
|
wpint: Allow user to specify shipment_nature and customer_reference
|
2021-03-07 11:26:32 +01:00 |
Harald Welte
|
06d990510c
|
wpint: More input length validation of addresses
|
2021-03-07 11:26:32 +01:00 |
Harald Welte
|
f8e81db8cb
|
wpint: More input data validation for content_item and item
The limits are documented in Table 9 of "Anbindungleitfaden"
|
2021-03-07 11:26:32 +01:00 |
Harald Welte
|
df04434e5d
|
wpint: be more specific about what we're logging
|
2021-03-07 10:24:03 +01:00 |
Harald Welte
|
6e37ff6574
|
wpint: Address various pylint-reported issues
|
2021-03-07 10:10:52 +01:00 |
Harald Welte
|
c812926610
|
Add 'wpint' module for Warenpost International ReST-API
This is a new module conforming to revision 1.03 of the
above-mentioned ReST-API.
|
2021-03-07 00:15:18 +01:00 |