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": "012a1149-08f8-4c94-b7e4-b14e633b7b52",
  "PlanId": "a53d7f34-600a-496b-a73a-72629f4928cd",
  "AllowedApps": [
    {
      "AppId": "e9c6ab46-8a11-4413-b18c-9d39850930e1",
      "AppName": "sample string 2",
      "IsProductionReady": true,
      "CategoryName": "sample string 3",
      "Ordering": 1,
      "AppDescription": "sample string 4",
      "LogoPath": "sample string 5"
    },
    {
      "AppId": "e9c6ab46-8a11-4413-b18c-9d39850930e1",
      "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.