POST api/Subscription/UpdatePlan
Request Information
URI Parameters
None.
Body Parameters
PlanDetails| Name | Description | Type | Additional information |
|---|---|---|---|
| PlanID | integer |
None. |
|
| Description | string |
None. |
|
| IsActive | boolean |
None. |
|
| WebPagesQuota | integer |
None. |
|
| DeviceQuota | integer |
None. |
|
| AppsAllowed | integer |
None. |
|
| NumberofTrialDays | integer |
None. |
|
| ConcurrentUsers | integer |
None. |
|
| DeviceTime | integer |
None. |
|
| UsersAllowed | integer |
None. |
|
| IsSofyLive | boolean |
None. |
|
| IsSofyAutomate | boolean |
None. |
|
| IsSofyExplore | boolean |
None. |
|
| IsSofyWebExplore | boolean |
None. |
|
| IsCICDIntegration | boolean |
None. |
|
| IsAPIAccess | boolean |
None. |
|
| OverageHourlyPrice | decimal number |
None. |
|
| MonthlyPrice | decimal number |
None. |
|
| YearlyPrice | decimal number |
None. |
|
| IsTrialPlan | boolean |
None. |
|
| IsAndroidAllowed | boolean |
None. |
|
| IsIOSAllowed | boolean |
None. |
|
| IsWebAllowed | boolean |
None. |
|
| deviceGroupID | integer |
None. |
|
| OverageWebpagePrice | decimal number |
None. |
|
| IsSofyAutomateWithEdit | boolean |
None. |
|
| IsScheduleTest | boolean |
None. |
|
| ParallelTestQuota | integer |
None. |
|
| IsTeamsIntegration | boolean |
None. |
|
| IsJiraIntegration | boolean |
None. |
|
| IsDedicatedDevices | boolean |
None. |
|
| IsOverageAllowed | boolean |
None. |
|
| IsSlackIntegration | boolean |
None. |
|
| IsTestSuite | boolean |
None. |
Request Formats
application/json, text/json
Sample:
{
"PlanID": 1,
"Description": "sample string 2",
"IsActive": true,
"WebPagesQuota": 4,
"DeviceQuota": 5,
"AppsAllowed": 6,
"NumberofTrialDays": 7,
"ConcurrentUsers": 8,
"DeviceTime": 9,
"UsersAllowed": 10,
"IsSofyLive": true,
"IsSofyAutomate": true,
"IsSofyExplore": true,
"IsSofyWebExplore": true,
"IsCICDIntegration": true,
"IsAPIAccess": true,
"OverageHourlyPrice": 17.1,
"MonthlyPrice": 18.1,
"YearlyPrice": 19.1,
"IsTrialPlan": true,
"IsAndroidAllowed": true,
"IsIOSAllowed": true,
"IsWebAllowed": true,
"deviceGroupID": 24,
"OverageWebpagePrice": 25.1,
"IsSofyAutomateWithEdit": true,
"IsScheduleTest": true,
"ParallelTestQuota": 28,
"IsTeamsIntegration": true,
"IsJiraIntegration": true,
"IsDedicatedDevices": true,
"IsOverageAllowed": true,
"IsSlackIntegration": true,
"IsTestSuite": true
}
application/xml, text/xml
Sample:
<PaymentSubscription.PlanDetails xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SofyWebApi"> <AppsAllowed>6</AppsAllowed> <ConcurrentUsers>8</ConcurrentUsers> <Description>sample string 2</Description> <DeviceQuota>5</DeviceQuota> <DeviceTime>9</DeviceTime> <IsAPIAccess>true</IsAPIAccess> <IsActive>true</IsActive> <IsAndroidAllowed>true</IsAndroidAllowed> <IsCICDIntegration>true</IsCICDIntegration> <IsDedicatedDevices>true</IsDedicatedDevices> <IsIOSAllowed>true</IsIOSAllowed> <IsJiraIntegration>true</IsJiraIntegration> <IsOverageAllowed>true</IsOverageAllowed> <IsScheduleTest>true</IsScheduleTest> <IsSlackIntegration>true</IsSlackIntegration> <IsSofyAutomate>true</IsSofyAutomate> <IsSofyAutomateWithEdit>true</IsSofyAutomateWithEdit> <IsSofyExplore>true</IsSofyExplore> <IsSofyLive>true</IsSofyLive> <IsSofyWebExplore>true</IsSofyWebExplore> <IsTeamsIntegration>true</IsTeamsIntegration> <IsTestSuite>true</IsTestSuite> <IsTrialPlan>true</IsTrialPlan> <IsWebAllowed>true</IsWebAllowed> <MonthlyPrice>18.1</MonthlyPrice> <NumberofTrialDays>7</NumberofTrialDays> <OverageHourlyPrice>17.1</OverageHourlyPrice> <OverageWebpagePrice>25.1</OverageWebpagePrice> <ParallelTestQuota>28</ParallelTestQuota> <PlanID>1</PlanID> <UsersAllowed>10</UsersAllowed> <WebPagesQuota>4</WebPagesQuota> <YearlyPrice>19.1</YearlyPrice> <deviceGroupID>24</deviceGroupID> </PaymentSubscription.PlanDetails>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
HttpResponseMessage| Name | Description | Type | Additional information |
|---|---|---|---|
| Version | Version |
None. |
|
| Content | HttpContent |
None. |
|
| StatusCode | HttpStatusCode |
None. |
|
| ReasonPhrase | string |
None. |
|
| Headers | Collection of Object |
None. |
|
| RequestMessage | HttpRequestMessage |
None. |
|
| IsSuccessStatusCode | boolean |
None. |