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": "b16292d9-6d9c-415f-8f2c-195b6e38a8bb",
  "SupportId": "d32a067e-2b77-440a-8bfe-d9df123bea56",
  "Addons": [
    {
      "AddonId": "5c0f9aa6-314d-4d0a-891b-b2d80e49add1",
      "Quantity": 2
    },
    {
      "AddonId": "5c0f9aa6-314d-4d0a-891b-b2d80e49add1",
      "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.