POST api/adminsubscribers/managesubscriptiontype?UserId={UserId}&UserRole={UserRole}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| UserId | integer |
Required |
|
| UserRole | integer |
Required |
Body Parameters
AdminSubscriberSubcriptionType| Name | Description | Type | Additional information |
|---|---|---|---|
| SubscriptionTypeId | integer |
None. |
|
| ProductName | string |
None. |
|
| ProductPrice | decimal number |
None. |
|
| IsSubscriptionTypeActive | boolean |
None. |
|
| IsDeleted | boolean |
None. |
|
| CreatedBy | integer |
None. |
|
| CreatedOn | date |
None. |
|
| ModifiedBy | integer |
None. |
|
| ModifiedOn | date |
None. |
|
| SubscriptionTypeNote | string |
None. |
|
| SubscriptionTypeNumberOfFlags | integer |
None. |
|
| Duration | string |
None. |
|
| SubscriptionTypeName | string |
None. |
|
| IsRecurringSubscriptionType | boolean |
None. |
|
| SetupFee | decimal number |
None. |
|
| UsFlags | integer |
None. |
|
| TexasFlags | integer |
None. |
|
| Type | string |
None. |
|
| SortOrder | integer |
None. |
|
| Show | boolean |
None. |
|
| IncludeSetupFee | boolean |
None. |
|
| setupFeeId | integer |
None. |
|
| PaypalPlanId | string |
None. |
|
| TriggerToApply | boolean |
None. |
Request Formats
application/json, text/json
Sample:
{
"SubscriptionTypeId": 1,
"ProductName": "sample string 2",
"ProductPrice": 3.0,
"IsSubscriptionTypeActive": true,
"IsDeleted": true,
"CreatedBy": 6,
"CreatedOn": "2026-04-15T18:51:07.176662+00:00",
"ModifiedBy": 7,
"ModifiedOn": "2026-04-15T18:51:07.176662+00:00",
"SubscriptionTypeNote": "sample string 8",
"SubscriptionTypeNumberOfFlags": 9,
"Duration": "sample string 10",
"SubscriptionTypeName": "sample string 11",
"IsRecurringSubscriptionType": true,
"SetupFee": 1.0,
"UsFlags": 1,
"TexasFlags": 1,
"Type": "sample string 13",
"SortOrder": 1,
"Show": true,
"IncludeSetupFee": true,
"setupFeeId": 1,
"PaypalPlanId": "sample string 16",
"TriggerToApply": true
}
application/xml, text/xml
Sample:
<AdminSubscriberSubcriptionType xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Flag360.ViewModels.Admin"> <CreatedBy>6</CreatedBy> <CreatedOn>2026-04-15T18:51:07.176662+00:00</CreatedOn> <Duration>sample string 10</Duration> <IncludeSetupFee>true</IncludeSetupFee> <IsDeleted>true</IsDeleted> <IsRecurringSubscriptionType>true</IsRecurringSubscriptionType> <IsSubscriptionTypeActive>true</IsSubscriptionTypeActive> <ModifiedBy>7</ModifiedBy> <ModifiedOn>2026-04-15T18:51:07.176662+00:00</ModifiedOn> <PaypalPlanId>sample string 16</PaypalPlanId> <ProductName>sample string 2</ProductName> <ProductPrice>3</ProductPrice> <SetupFee>1</SetupFee> <Show>true</Show> <SortOrder>1</SortOrder> <SubscriptionTypeId>1</SubscriptionTypeId> <SubscriptionTypeName>sample string 11</SubscriptionTypeName> <SubscriptionTypeNote>sample string 8</SubscriptionTypeNote> <SubscriptionTypeNumberOfFlags>9</SubscriptionTypeNumberOfFlags> <TexasFlags>1</TexasFlags> <TriggerToApply>true</TriggerToApply> <Type>sample string 13</Type> <UsFlags>1</UsFlags> <setupFeeId>1</setupFeeId> </AdminSubscriberSubcriptionType>
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.