POST api/BillingService/UpdateSubscriptionPlan

Documentation for 'UpdateSubscriptionPlan'.

Request Information

Parameters

NameDescriptionAdditional information
request
Documentation for 'request'.

Define this parameter in the request body.

Request body formats

application/json, text/json

Sample:
{
  "plan_name": "sample string 1",
  "display_name": "sample string 2",
  "plan_level": 0,
  "plan_type": 0,
  "device_type": 1,
  "state": 0,
  "product_name": "sample string 3",
  "deviec_limit": 1,
  "user_limit": 1,
  "monthly_upload_limit": 1,
  "monthly_storage_limit": 1,
  "free_shutterstock_images": 1,
  "free_shutterstock_videos": 1,
  "features": "sample string 4"
}

application/xml, text/xml

Sample:
<UpdateSubscriptionPlanRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MMS.RestApi.Entities.Billing">
  <device_type>1</device_type>
  <deviec_limit>1</deviec_limit>
  <display_name>sample string 2</display_name>
  <features>sample string 4</features>
  <free_shutterstock_images>1</free_shutterstock_images>
  <free_shutterstock_videos>1</free_shutterstock_videos>
  <monthly_storage_limit>1</monthly_storage_limit>
  <monthly_upload_limit>1</monthly_upload_limit>
  <plan_level>None</plan_level>
  <plan_name>sample string 1</plan_name>
  <plan_type>None</plan_type>
  <product_name>sample string 3</product_name>
  <state>None</state>
  <user_limit>1</user_limit>
</UpdateSubscriptionPlanRequest>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Response body formats

application/json, text/json

Sample:
{
  "is_success": true,
  "error_message": "sample string 2",
  "exception_name": "sample string 3",
  "error_code": 4
}

application/xml, text/xml

Sample:
<Void xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MMS.RestApi.Entities.NewAPI">
  <error_code xmlns="http://schemas.datacontract.org/2004/07/Mandoe.Framework.WebApi">4</error_code>
  <error_message xmlns="http://schemas.datacontract.org/2004/07/Mandoe.Framework.WebApi">sample string 2</error_message>
  <exception_name xmlns="http://schemas.datacontract.org/2004/07/Mandoe.Framework.WebApi">sample string 3</exception_name>
  <is_success xmlns="http://schemas.datacontract.org/2004/07/Mandoe.Framework.WebApi">true</is_success>
</Void>