Retrieve relationship acceptance link for a Customer
Gets a link to establish a relationship with a customer. If a resellerId is provided, the relationship is established between the customer and that reseller. Otherwise, the relationship is between the customer and CSP. Available to the roles: csp, reseller
Headers
-
The domain used to access the portal.
-
X-Correlation-Id string(UUID)
This header is optional and by setting it you can correlate the audit logs made by this request.
Query parameters
-
GUID Unique identifier for the customer.
-
resellerId string(uuid)
GUID Unique identifier for the reseller. If user is a reseller this property will be auto-populated.
GET /v1/Customers/relationship-acceptance
curl \
-X GET https://app-cloudcockpitapi-prod-01.azurewebsites.net/v1/Customers/relationship-acceptance?providerInstanceId=string \
-H "X-Tenant: portal.cloudcockpit.com" \
-H "Authorization: Bearer eyJ0eXAiO..." \
-H "X-Correlation-Id: string"
Response examples (200)
string
Response examples (200)
string
Response examples (400)
{
"statusCode": 42,
"type": "string",
"description": "string",
"correlationId": "string",
"errors": [
{
"propertyName": "string",
"description": [
"string"
]
}
]
}
Response examples (400)
{
"statusCode": 42,
"type": "string",
"description": "string",
"correlationId": "string",
"errors": [
{
"propertyName": "string",
"description": [
"string"
]
}
]
}
Response examples (404)
{
"statusCode": 42,
"type": "string",
"description": "string",
"correlationId": "string",
"errors": [
{
"propertyName": "string",
"description": [
"string"
]
}
]
}
Response examples (404)
{
"statusCode": 42,
"type": "string",
"description": "string",
"correlationId": "string",
"errors": [
{
"propertyName": "string",
"description": [
"string"
]
}
]
}
Response examples (500)
{
"statusCode": 42,
"type": "string",
"description": "string",
"correlationId": "string",
"errors": [
{
"propertyName": "string",
"description": [
"string"
]
}
]
}
Response examples (500)
{
"statusCode": 42,
"type": "string",
"description": "string",
"correlationId": "string",
"errors": [
{
"propertyName": "string",
"description": [
"string"
]
}
]
}