User Remote IP and WEB User Agent
Если данная подписка была активирована Абонентом на основании WEB-запроса и отправляется только после успешной активации подписки на платформе VASMS (после получения успешного подтверждения команды API:Subscription/General/AddNew).
Примечание: Общая схема взаимодействия.
POST http://<APIURL:PORT>/Subscription/WEB/ActivateIPandUserAgent
| Parameter name | Value | Description | Additional |
|---|---|---|---|
| VASMS-CPID | <uint> | Content Provider ID |
Required |
| VASMS-APIKey | <string> | Content Provider API Key Value |
Required |
| Content-type | application/json; charset=UTF-8 | Required |
The request body takes a complete Subscription/WEB/ActivateIPandUserAgent resource, containing the following writable properties:
{
"ARTRID": "uint64",
"CPID": "uint",
"MSISDN": "string",
"PSID": "uint64",
"UserAgent": "string",
"UserIP": "string",
"VASID": "uint"
}
| Name | Type | Description | Additional |
|---|---|---|---|
| ARTRID | uint64 |
API Request Transaction ID |
|
| CPID | uint |
Content Provider ID |
|
| MSISDN | string |
Мобильный номер Абонента |
|
| PSID | uint64 |
Provider Subscription ID |
|
| UserAgent | string |
WEB UserAgent |
|
| UserIP | string |
User remote IP |
|
| VASID | uint |
VAS Service ID |
The following HTTP status codes may be returned, optionally with a response resource.
| Status code | Description | Resource |
|---|---|---|
| 200 | OK Успешная обработка запроса. |
|
| 400 | Bad Request Ошибочный запрос. |
400[] |
| 401 | Unauthorized Отказ в доступе. Ошибочный VASMS-CPID и/или VASMS-APIKey. |
|
| 409 | Conflict Дубликат транзакции ARTRID. |
|
| 429 | Too Many Requests |
|
| 500 | Internal Server Error Системная ошибка на стороне сервера. |