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

email

Login to your InPost account(manager.paczkomaty.pl)

email=test@inpost.pl

Required

password

Login to your InPost account (manager.paczkomaty.pl)

password=Password123!@

Required

content

Structured xml code

content=

Required

 

Parameters in the paczkomat section:

Parameter

Description

Example

Validation

code

Return code to activate

<code>2991513940</code>

Required

 

Parameters in the section return- Response from the API:

Parameter

Description

Example

valid

Current status of the code

<valid>false</valid>

 

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>