PUT api/superadmin/tariffs/{id}
change tariff
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
id | integer |
Required |
Body Parameters
TariffName | Description | Type | Additional information |
---|---|---|---|
commentsCount | integer |
Required |
|
crmsCount | integer |
Required |
|
keywordsCount | integer |
Required |
|
name | string |
Required |
|
priceForMonth | decimal number |
Required |
|
projectsCount | integer |
Required |
|
oneMonthPricePerDay | decimal number |
None. |
|
threeMonthsPricePerDay | decimal number |
None. |
|
sixMonthsPricePerDay | decimal number |
None. |
|
yearPricePerDay | decimal number |
None. |
|
commentsPrice | decimal number |
None. |
|
outreachLinksMax | integer |
None. |
Request Formats
application/json, text/json
Sample:
{ "commentsCount": 1, "crmsCount": 2, "keywordsCount": 3, "name": "sample string 4", "priceForMonth": 5.0, "projectsCount": 6, "oneMonthPricePerDay": 7.0, "threeMonthsPricePerDay": 8.0, "sixMonthsPricePerDay": 9.0, "yearPricePerDay": 10.0, "commentsPrice": 11.0, "outreachLinksMax": 12 }
application/xml, text/xml
Sample:
<Tariff xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CraudWezom_v1.Models.Users"> <commentsCount>1</commentsCount> <commentsPrice>11</commentsPrice> <crmsCount>2</crmsCount> <keywordsCount>3</keywordsCount> <name>sample string 4</name> <oneMonthPricePerDay>7</oneMonthPricePerDay> <outreachLinksMax>12</outreachLinksMax> <priceForMonth>5</priceForMonth> <projectsCount>6</projectsCount> <sixMonthsPricePerDay>9</sixMonthsPricePerDay> <threeMonthsPricePerDay>8</threeMonthsPricePerDay> <yearPricePerDay>10</yearPricePerDay> </Tariff>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.