Отправка исторических тарификаций подписок Абонентов
Отправка со стороны Контент Провайдера - исторические тарификации подпискок Абонентов в суммарно за месяц, которые были активированы с 2022-01-01 и тарификация которых была произведена на основе запросов со стороны Контент Провайдера.
Примечание: Общая схема взаимодействия.
POST http://<APIURL:PORT>/Subscription/History/AddHistoryMonthlyChargePSID
| 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/History/AddHistoryMonthlyChargePSID resource, containing the following writable properties:
{
"ARTRID": "uint64",
"CPID": "uint",
"MSISDN": "string",
"PSID": "uint64",
"RAmount": "uint",
"RMonth": "uint",
"RYear": "uint",
"VASID": "uint"
}
| Name | Type | Description | Additional |
|---|---|---|---|
| ARTRID | uint64 |
API Request Transaction ID |
|
| CPID | uint |
Content Provider ID |
|
| MSISDN | string |
Мобильный номер Абонента |
|
| PSID | uint64 |
Provider Subscription ID |
|
| RAmount | uint |
Report Amount |
|
| RMonth | uint |
Report Month Possible values are:
|
|
| RYear | uint |
Report Year |
|
| 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 Системная ошибка на стороне сервера. |