SubscriptionDetailed

A SubscriptionDetailed resource represents a subscription.

Resource definition

{
  "Id": 123,
  "PublisherSubscriptionId": "767bc43f-c3af-48e7-b7fa-89889132a655",
  "Quantity": 1,
  "Name": "My subscription",
  "Status": 1,
  "OrderId": "e756bfa7-81ee-4f7d-a452-cbf307a41987",
  "Publisher": {
    "Id": 1,
    "Name": "Subscription publisher"
  },
  "Organization": {
    "Id": 3869,
    "Name": "My company"
  },
  "CustomerTenant": {
    "Id": 486,
    "PublisherCustomerId": "f39d8f51-ff2c-46b4-8435-84bf67f2a36c"
  },
  "Product": {
    "Id": 133518,
    "PartNumber": "1eda119b-65b0-429d-a063-4d2f9840a83f",
    "ItemLegalName": "",
    "ItemName": ""
  },
  "CreationDate": "2015-11-23T13:55:00.37+01:00",
  "EffectiveStartDate": "2016-01-21T00:00:00Z",
  "CommitmentEndDate": "9999-12-21T00:00:00Z",
  "SuspensionReasons": "[]",
  "AcceptAutoSuspension": true,
  "AutoSuspensionDate": "2017-01-21T00:00:00Z",
  "AvailableAddonsCount": 0,
  "AttestationAccepted": true,
  "TermDuration": "P1Y",
  "Subscriptions": [],
  "SubscriptionMaxTreshold": 5
}

Name

Type

Description

Id

int

Identifier of the subscription

PublisherSubscriptionId

string

Internal identifier the publisher uses

Quantity

int

Number of license for the subscription

Name

string

A friendly name

Status

int

None = 0, Active = 1, Suspended = 2, Deleted = 4, CustomerCancellation = 8

OrderId

string

The publishers order identifier

Publisher

ObjectReference

The publisher the subscription is connected to

Organization

ObjectReference

The organization/reseller the subscription is connected to

CustomerTenant

CustomerTenantReference

The end customer company is connected to the subscription

Product

ProductReference

The license product for the subscription

CreationDate

DateTime

Date which the order was created

EffectiveStartDate

DateTime

CommitmentEndDate

DateTime

SuspensionReasons

string

The reason for which the subscription was suspended

AvailableAddonsCount

int

Number of product types that can be added as child subscriptions

AcceptAutoSuspension

bool

Subscription auto-suspension acceptance

AutoSuspensionDate

DateTimeOffset

Subscription auto-suspension date

AttestationAccepted

bool

Attestation accepted

Subscriptions

SubscriptionAddOn [ ]

List of child subscriptions

SubscriptionMaxTreshold

int?

Maximum threshold of licenses that can be ordered by end customer. (Applies only for T2 end customer companies)

Operations on subscription