Assign Customer to a channel

The Assign Customer to a channel request enables you to assign a customer to a channel.

URI

Copy
{{baseUrl}}/api/ovoc/v1/topology/customers/{id:int}

HTTP Method

POST

Request Body

Parameter

Type

Description

channelId

long

Channel Id

Example Request Body

Copy
{
  "channelId": 267
}

Example Response

Copy
{  "id": 297,  "tenantId": 2,  "name": "Customer1",  "channelId": 267,  "...": "..."}

HTTP Responses

200 OK

Parameter

Type

Description

id

long

The Id of the assigned customer.

tenantId

long

Microsoft Entra Tenant Id of the customer

name

string (0-255)

Customer name

channelId

long

Id of the channel attached to the customer.

404 Assign with an invalid channel id
Copy
{ "description" : "Entity with id 3700 not found" }