次の方法で共有


Manage customer accounts - Create agreement

顧客と構成証明に代わって契約を作成します。

POST https://api.partnercenter.microsoft.com/v{version}/customers/{customer_id}/agreements

URI パラメーター

名前 / 必須 説明
customer_id
path True

string

顧客 ID。

version
path True

string

要求ヘッダー

Media Types: "application/json", "text/json", "application/xml", "text/xml", "application/x-www-form-urlencoded"

名前 必須 説明
Authorization True

string

承認ベアラー トークン

ms-correlationid

string

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

ms-cv

string

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

ms-requestid

string

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

要求本文

Media Types: "application/json", "text/json", "application/xml", "text/xml", "application/x-www-form-urlencoded"

名前 説明
agreement

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

[アグリーメント]:

応答

名前 説明
200 OK

object

OK

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

201 Created

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

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

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

定義

名前 説明
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