Delen via


Manage orders - Get subscription registration status

Hiermee wordt de registratiestatus van een abonnement opgehaald op basis van id voor de klant van een partner op basis van de active directory-tenant-id.

GET https://api.partnercenter.microsoft.com/v{version}/customers/{customer_id}/subscriptions/{subscription_id}/registrationstatus

URI-parameters

Name In Vereist Type Description
customer_id
path True

string

tenant-id van klant.

subscription_id
path True

string

De abonnements-id.

version
path True

string

Aanvraagkoptekst

Name Vereist Type Description
Authorization True

string

Autorisatie Bearer-token

ms-correlationid

string

Wordt gebruikt voor het intern bijhouden van aanvragen. Als er geen ms-correlationid wordt opgegeven, genereert de server een nieuwe voor elke aanvraag

ms-cv

string

Wordt gebruikt voor het intern bijhouden van aanvragen. Als er geen ms-cv wordt opgegeven, genereert de server een nieuwe voor elke aanvraag

ms-requestid

string

Wordt gebruikt voor idempotentie van aanvragen. Als er geen ms-requestid wordt opgegeven, genereert de server een nieuwe voor elke aanvraag

Antwoorden

Name Type Description
200 OK

Microsoft.Partner.Services.Subscriptions.V1.Models.SubscriptionRegistrationStatus

De aanvraag is geslaagd. De registratiestatus van het aangevraagde abonnement van de klant wordt geretourneerd in de antwoordtekst.

Media Types: "application/json", "text/json", "application/xml", "text/xml"

400 Bad Request

Er is een ontbrekende of ongeldige invoer. De antwoordtekst bevat de foutdetails.

Media Types: "application/json", "text/json", "application/xml", "text/xml"

401 Unauthorized

De aanvraag is niet geverifieerd. De client moet zich eerst verifiëren bij de partner-API-service.

Media Types: "application/json", "text/json", "application/xml", "text/xml"

403 Forbidden

De aanvraag is geverifieerd, maar is geweigerd omdat de aanroeper niet de rechten heeft om deze aan te roepen.

Media Types: "application/json", "text/json", "application/xml", "text/xml"

404 Not Found

De resource is niet gevonden of niet beschikbaar met de opgegeven invoerparameters.

Media Types: "application/json", "text/json", "application/xml", "text/xml"

500 Internal Server Error

De api-service van de partner of een van de afhankelijkheden kan niet voldoen aan de aanvraag. Bellers kunnen dit opnieuw proberen.

Media Types: "application/json", "text/json", "application/xml", "text/xml"

Definities

Name Description
Microsoft.Partner.Core.Collections.ResourceAttributes
Microsoft.Partner.Services.Subscriptions.V1.Models.SubscriptionRegistrationStatus

Microsoft.Partner.Core.Collections.ResourceAttributes

Name Type Description
etag

string

objectType

string

Microsoft.Partner.Services.Subscriptions.V1.Models.SubscriptionRegistrationStatus

Name Type Description
attributes

Microsoft.Partner.Core.Collections.ResourceAttributes

status

string

subscriptionId

string