PUT api/Addon/Edit

Request Information

URI Parameters

None.

Body Parameters

PlanAddonModel
NameDescriptionTypeAdditional information
ZohoId

string

None.

Description

string

None.

Active

boolean

None.

AddonCost

decimal number

None.

Ordering

integer

None.

PlanAddonId

globally unique identifier

None.

PlanId

globally unique identifier

None.

AllowedApps

Collection of AppModel

None.

AddonTypeCode

string

None.

Request Formats

application/json, text/json

Sample:
{
  "ZohoId": "sample string 1",
  "Description": "sample string 2",
  "Active": true,
  "AddonCost": 1.0,
  "Ordering": 1,
  "PlanAddonId": "070d2b8c-a22c-46d6-aa1c-91b6ab47cc97",
  "PlanId": "4109bf4c-5307-4ca1-915e-2f98778c6558",
  "AllowedApps": [
    {
      "AppId": "2d64bdd4-6697-482c-8edb-1ed59a2bbcb6",
      "AppName": "sample string 2",
      "IsProductionReady": true,
      "CategoryName": "sample string 3",
      "Ordering": 1,
      "AppDescription": "sample string 4",
      "LogoPath": "sample string 5"
    },
    {
      "AppId": "2d64bdd4-6697-482c-8edb-1ed59a2bbcb6",
      "AppName": "sample string 2",
      "IsProductionReady": true,
      "CategoryName": "sample string 3",
      "Ordering": 1,
      "AppDescription": "sample string 4",
      "LogoPath": "sample string 5"
    }
  ],
  "AddonTypeCode": "sample string 4"
}

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'PlanAddonModel'.

Response Information

Resource Description

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.