POST api/RegisterPricing/PostSubscription

Request Information

URI Parameters

None.

Body Parameters

TempSubscriptionModel
NameDescriptionTypeAdditional information
RefId

string

None.

PlanId

globally unique identifier

None.

SupportId

globally unique identifier

None.

Addons

Collection of TempAddon

None.

Request Formats

application/json, text/json

Sample:
{
  "RefId": "sample string 1",
  "PlanId": "70bb3682-c94a-4071-832e-5243f4566338",
  "SupportId": "c8c0fc44-d255-4861-b6f8-4aecfab5c691",
  "Addons": [
    {
      "AddonId": "ab93b07a-6b53-4be4-b34d-8b7265d8c975",
      "Quantity": 2
    },
    {
      "AddonId": "ab93b07a-6b53-4be4-b34d-8b7265d8c975",
      "Quantity": 2
    }
  ]
}

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

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.