Condividi tramite


Manage customer accounts - Get agreements

Ottiene le conferme del contratto fornite da un partner per conto di un cliente.

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}

Parametri dell'URI

Nome In Necessario Tipo Descrizione
customer_id
path True

string

ID cliente.

version
path True

string

agreementType
query

string

Tipo di contratto per filtrare le conferme del contratto. '*' restituirà contratti di tutti i tipi. Il valore predefinito, se non specificato, è Microsoft Cloud Agreement (MCA).

Intestazione della richiesta

Nome Necessario Tipo Descrizione
Authorization True

string

Token di connessione dell'autorizzazione

ms-correlationid

string

Usato per tenere traccia delle richieste internamente. Se non viene specificato un ms-correlationid, il server genererà un nuovo elemento per ogni richiesta

ms-cv

string

Usato per tenere traccia delle richieste internamente. Se non viene specificata una ms-cv, il server genererà un nuovo per ogni richiesta

ms-requestid

string

Usato per l'idempotenza delle richieste. Se non viene specificato un ms-requestid, il server genererà un nuovo per ogni richiesta

Risposte

Nome Tipo Descrizione
200 OK

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

La richiesta ha avuto esito positivo. Il contratto viene recuperato correttamente.

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

Definizioni

Nome Descrizione
Microsoft.Partner.Service.Customers.Contracts.V1.Agreement
Microsoft.Partner.Service.Customers.Contracts.V1.Contact

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

Nome Tipo Descrizione
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

Nome Tipo Descrizione
email

string

firstName

string

lastName

string

phoneNumber

string