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": "0a8dafc5-d9e4-4540-baa4-b23ead4e90ff",
  "Addons": [
    "0f4164da-c911-4986-baed-fff2b83995d7",
    "1c09b776-87b1-4d45-9ed0-d2d193738455"
  ],
  "Supports": [
    "4e89e93b-604d-420c-aae3-b8bed36d7b80",
    "508905ec-2a3e-4ed3-b39a-fcb020c748be"
  ]
}

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.