POST api/Subscription/CreatePlansV2
Request Information
URI Parameters
None.
Body Parameters
PlansV2Details| Name | Description | Type | Additional information |
|---|---|---|---|
| BTreeCode | string |
None. |
|
| Description | string |
None. |
|
| Trial | boolean |
None. |
|
| DeviceQuota | integer |
None. |
|
| AppsAllowed | integer |
None. |
|
| NumberofDays | integer |
None. |
|
| UsersAllowed | integer |
None. |
|
| DeviceHours | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"BTreeCode": "sample string 1",
"Description": "sample string 2",
"Trial": true,
"DeviceQuota": 4,
"AppsAllowed": 5,
"NumberofDays": 6,
"UsersAllowed": 7,
"DeviceHours": 8
}
application/xml, text/xml
Sample:
<PaymentSubscription.PlansV2Details xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SofyWebApi"> <AppsAllowed>5</AppsAllowed> <BTreeCode>sample string 1</BTreeCode> <Description>sample string 2</Description> <DeviceHours>8</DeviceHours> <DeviceQuota>4</DeviceQuota> <NumberofDays>6</NumberofDays> <Trial>true</Trial> <UsersAllowed>7</UsersAllowed> </PaymentSubscription.PlansV2Details>
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. |