POST api/Subscription/PostSubscription

Request Information

URI Parameters

None.

Body Parameters

SubscriptionChooser
NameDescriptionTypeAdditional information
PlanId

globally unique identifier

None.

Addons

Collection of globally unique identifier

None.

Supports

Collection of globally unique identifier

None.

Request Formats

application/json, text/json

Sample:
{
  "PlanId": "1d99eb73-7bb6-417c-9eac-6caf67996c30",
  "Addons": [
    "ee9a7256-ea50-4d48-b732-8b65da26aa6a",
    "75e36be1-b332-4221-9217-35b876fb3e16"
  ],
  "Supports": [
    "ae167f48-d200-48a1-9aaf-b818e127192a",
    "ce3d2379-660a-46b0-b912-985333490778"
  ]
}

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

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.