次の方法で共有


Manage customer accounts - Get agreements

顧客に代わってパートナーから提供された契約確認を取得します。

GET https://api.partnercenter.microsoft.com/v{version}/customers/{customer_id}/agreements
GET https://api.partnercenter.microsoft.com/v{version}/customers/{customer_id}/agreements?agreementType={agreementType}

URI パラメーター

名前 / 必須 説明
customer_id
path True

string

顧客 ID。

version
path True

string

agreementType
query

string

契約の確認をフィルター処理する契約の種類。 '*' は、すべての型のアグリーメントを返します。 指定しない場合、既定値は Microsoft Cloud Agreement (MCA) です。

要求ヘッダー

名前 必須 説明
Authorization True

string

承認ベアラー トークン

ms-correlationid

string

要求を内部的に追跡するために使用されます。 ms-correlationid が指定されていない場合、サーバーは要求ごとに新しいものを生成します

ms-cv

string

要求を内部的に追跡するために使用されます。 ms-cv が指定されていない場合、サーバーは要求ごとに新しいものを生成します

ms-requestid

string

要求のべき等性に使用されます。 ms-requestid が指定されていない場合、サーバーは要求ごとに新しいものを生成します

応答

名前 説明
200 OK

Microsoft.Partner.Service.Customers.Contracts.V1.Agreement[]

要求は成功しました。 契約が正常に取得されました。

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

定義

名前 説明
Microsoft.Partner.Service.Customers.Contracts.V1.Agreement
Microsoft.Partner.Service.Customers.Contracts.V1.Contact

Microsoft.Partner.Service.Customers.Contracts.V1.Agreement

名前 説明
agreementLink

string

dateAgreed

string

primaryContact

Microsoft.Partner.Service.Customers.Contracts.V1.Contact

templateId

string

type enum:
  • MicrosoftCloudAgreement
  • MicrosoftCustomerAgreement
userId

string

Microsoft.Partner.Service.Customers.Contracts.V1.Contact

名前 説明
email

string

firstName

string

lastName

string

phoneNumber

string