Disabling inactive, unused code
The function https://api.paczkomaty.pl/?do=revloginvalidatecode is used to disable inactive, unused code created with the function Generating a set of inactive codes.
Parameters
Parameters to the function should be passed via the POST
method:
Parameter | Description | Example | Validation |
---|---|---|---|
| Login to your InPost account(manager.paczkomaty.pl) |
| Required |
| Login to your InPost account (manager.paczkomaty.pl) |
| Required |
| Structured xml code |
| Required |
Parameters in the paczkomat
section:
Parameter | Description | Example | Validation |
---|---|---|---|
| Return code to activate |
| Required |
Parameters in the section return
- Response from the API:
Parameter | Description | Example |
---|---|---|
| Current status of the code |
|
Request:
POST /?do=revloginvalidatecode HTTP/1.1
Host: api.paczkomaty.pl
Content-Type: application/x-www-form-urlencoded
email=test@inpost.pl&password=Password123!@&content=
<paczkomaty>
<code>2991513940</code>
</paczkomaty> |
Response:
<?xml version="1.0" encoding="UTF-8"?>
<paczkomaty>
<valid>false</valid>
</paczkomaty> |