POST api/Customer/PostAddon?orgId={orgId}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
orgId

globally unique identifier

Required

Body Parameters

AccountSubscriptionAddonModel
NameDescriptionTypeAdditional information
Cost

decimal number

None.

Quantity

integer

None.

From

date

None.

Expiry

date

None.

Description

string

None.

AddonCode

string

None.

Category

string

None.

Plan

string

None.

IsCustomDataSource

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "Cost": 1.0,
  "Quantity": 1,
  "From": "2024-11-21T09:01:14.8749503+00:00",
  "Expiry": "2024-11-21T09:01:14.8749503+00:00",
  "Description": "sample string 4",
  "AddonCode": "sample string 5",
  "Category": "sample string 6",
  "Plan": "sample string 7",
  "IsCustomDataSource": true
}

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 'AccountSubscriptionAddonModel'.

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.