# Get customer MCA **GET /v1/Customers/{customerId}/provider-instances/{providerInstanceId}/mca** Gets the Microsoft Customer Agreement (MCA) information for the customer in the given provider instance. This request only applies to Microsoft provider instances. **Available to the roles:** csp, reseller ## Servers - https://api.cloudcockpit.com: https://api.cloudcockpit.com () ## Authentication methods - Bearer auth ## Parameters ### Headers - **X-Tenant** (string) The domain used to access the portal. - **Authorization** (string) JWT Authorization header using the Bearer scheme. Example: "Authorization: Bearer {token}" - **X-Correlation-Id** (string(uuid)) This header is optional and by setting it you can correlate the audit logs made by this request. ### Path parameters - **customerId** (string(uuid)) The customer id. - **providerInstanceId** (string(uuid)) The id of the provider instance where the MCA is being requested. Should be a Microsoft provider instance. ## Responses ### 200 OK #### Body: application/json (object) - **customerId** (string(uuid)) Gets or sets the unique identifier of the customer. - **providerCustomerId** (string | null) Gets or sets the provider-specific customer identifier associated with this MCA. - **companyName** (string | null) Gets or sets the company name associated with the customer. - **providerInstanceId** (string(uuid)) Gets or sets the unique identifier of the provider instance. - **providerInstanceName** (string | null) Gets or sets the display name of the provider instance. - **firstName** (string | null) Gets or sets the first name of the primary contact associated with this MCA. - **lastName** (string | null) Gets or sets the last name of the primary contact associated with this MCA. - **email** (string | null) Gets or sets the email address of the primary contact associated with this MCA. - **phone** (string | null) Gets or sets the phone number of the primary contact associated with this MCA. - **status** (object) - **attestationId** (string | null) Gets or sets the attestation identifier associated with this MCA. - **lastUpdate** (string(date-time) | null) Gets or sets the date and time of the most recent update to this MCA. - **dateAgreed** (string(date-time) | null) Gets or sets the date and time when the MCA was agreed upon. This value is `null` unless the status is Microsoft.Domain.Customers.Enumerations.McaStatus.AgreementCreated. - **customer** (object) View model that represents a customer. - **microsoftProviderCustomer** (object) ### 400 Bad Request #### Body: application/json (object) - **statusCode** (integer(int32)) The HTTP status code that represents a specific error scenario. - **type** (string | null) The type of error that occurred. - **description** (string | null) Describes the error scenario that occurred. - **correlationId** (string | null) The correlationId of the request that originated the error. - **errors** (array[object] | null) A list containing the detail of the errors that occurred in this error scenario. ### 401 Unauthorized ### 403 Forbidden ### 404 Not Found ### 500 Internal Server Error #### Body: application/json (object) - **statusCode** (integer(int32)) The HTTP status code that represents a specific error scenario. - **type** (string | null) The type of error that occurred. - **description** (string | null) Describes the error scenario that occurred. - **correlationId** (string | null) The correlationId of the request that originated the error. - **errors** (array[object] | null) A list containing the detail of the errors that occurred in this error scenario. [Powered by Bump.sh](https://bump.sh)