POST api/Addon/Create

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": "485cb5a5-148d-4b32-be1e-fd04680eb8ee",
  "PlanId": "22280e2a-0f74-42ea-9121-996385593d3e",
  "AllowedApps": [
    {
      "AppId": "2c545cd4-f332-4de7-8b1e-bb45ee934652",
      "AppName": "sample string 2",
      "IsProductionReady": true,
      "CategoryName": "sample string 3",
      "Ordering": 1,
      "AppDescription": "sample string 4",
      "LogoPath": "sample string 5"
    },
    {
      "AppId": "2c545cd4-f332-4de7-8b1e-bb45ee934652",
      "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.