Инструменты страницы
Request for changing the validity period of a binding (extendBinding.do)
In this document, the following data type conventions are used when describing request and response parameters:
- A<n> – a sequence of Latin letters of length <n>;
- A..<n> – a sequence of Latin letters with a length not exceeding <n>;
- N<n> – a sequence of digits of length <n>;
- N..<n> – a sequence of digits with a length not exceeding <n>;
- AN<n> – a sequence of Latin letters and numbers of fixed length <n>;
- AN.. <n> – a sequence of Latin letters and numbers with a length not exceeding <n>;
- ANS<n> – a sequence of Latin letters, numbers and characters of fixed length <n>
- ANS.. <n> – a sequence of Latin letters, numbers and characters with a length not exceeding <n>;
- UTC – date and time, in this case: the date must be passed without specifying the time zone, Moscow time, for the SOAP protocol, the standard encoding xs: dateTime is used.
Request parameters
Name | Type | Mandatory | Description |
---|---|---|---|
|
AN..30 | Yes |
Login of the service account of the merchant. |
|
AN..30 | Yes |
Merchant's service account password. |
|
AN..255 | Yes |
The identifier of the previously created binding. Can only be used if the merchant has permission to work with bindings. If this parameter is passed in the given request, it means that: |
|
N6 | Yes |
New expiration date (year and month) in the format YYYYDD. |
|
A2 | No |
Language in the ISO 639-1 encoding. If the language is not specified, the default language defined in the store settings is used. |
Response parameters
Name | Type | Mandatory | Description |
---|---|---|---|
|
ANS..3 | No |
Error code. Can be missing if the result has not caused an error. |
|
|
(on an error) |
|
Error codes
Error code | Error text |
---|---|
0 |
The request has been processed without system errors. |
1 |
|
1 |
|
1 |
Incorrect |
2 |
The binding is not found. |
2 |
The binding exists. |
5 |
Access denied. |
5 |
The user must change the password. |
7 |
System error. |
Examples
POST request example
bindingId=1eabfb8e-b90e-4dc8-bef6-14bd392b1cec&newExpiry=201612&language=ru
Response example
{"errorCode":"0","errorMessage":"Success"}