Manage customer accounts - Get relationship request link

Returns the URL which establishes a relationship between a customer and a partner.

GET https://api.partnercenter.microsoft.com/v{version}/customers/relationshiprequests
GET https://api.partnercenter.microsoft.com/v{version}/customers/relationshiprequests?indirectCloudSolutionProviderId={indirectCloudSolutionProviderId}&indirectResellerId={indirectResellerId}&dualRoleIndirectRelationship={dualRoleIndirectRelationship}

URI Parameters

Name In Required Type Description
version
path True

string

dualRoleIndirectRelationship
query

boolean

Optional: for transitioning partners (in both CSP and indirect reseller) explicitly indicate the type of the relationship.

indirectCloudSolutionProviderId
query

string

Optional: Indirect provider tenant Id related to the indirect reseller and customer.

indirectResellerId
query

string

Optional: Indirect reseller partner tenant Id.

Request Header

Name Required Type Description
Authorization True

string

Authorization Bearer token

ms-correlationid

string

Used for tracking requests internally. If a ms-correlationid is not provided, the server will generate a new one for each request

ms-cv

string

Used for tracking requests internally. If a ms-cv is not provided, the server will generate a new one for each request

ms-requestid

string

Used for idempotency of requests. If a ms-requestid is not provided, the server will generate a new one for each request

Responses

Name Type Description
200 OK

Microsoft.Partner.Service.Customers.Contracts.V1.RelationshipRequest

The request was successful. The response body contains the relationship request URL.

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

Definitions

Name Description
Microsoft.Partner.Core.Collections.ResourceAttributes
Microsoft.Partner.Service.Customers.Contracts.V1.RelationshipRequest

Microsoft.Partner.Core.Collections.ResourceAttributes

Name Type Description
etag

string

objectType

string

Microsoft.Partner.Service.Customers.Contracts.V1.RelationshipRequest

Name Type Description
attributes

Microsoft.Partner.Core.Collections.ResourceAttributes

url

string