PUT api_v2/accounts/{accountId}/account-service-options
Добавить или обновить опцию сервиса для биллинга
Request Information
Parameters
Name | Description | Additional information |
---|---|---|
accountId | ID аккаунта, к которому добавить или обновить опцию сервиса для биллинга |
Define this parameter in the request URI. |
args | Параметры добавления или обновления опции сервиса |
Define this parameter in the request body. |
Request body formats
application/xml, text/xml
Sample:
<ModifyAccountServiceOptionDto> <ServiceOptionId>fe07b8fd-85a8-4eea-8428-963162afe2d2</ServiceOptionId> <Subject>1756e18f-20e5-45d9-bd99-9e562e20fe6d</Subject> <Sponsorship> <I>true</I> <Me>true</Me> <Label>sample string 3</Label> </Sponsorship> <IsEnabled>true</IsEnabled> </ModifyAccountServiceOptionDto>
application/json, text/json
Sample:
{ "ServiceOptionId": "fe07b8fd-85a8-4eea-8428-963162afe2d2", "Subject": "1756e18f-20e5-45d9-bd99-9e562e20fe6d", "Sponsorship": { "I": true, "Me": true, "Label": "sample string 3" }, "IsEnabled": true }
Response Information
Результат выполнения
Response body formats
application/xml, text/xml
Sample:
<Result />
application/json, text/json
Sample:
{}