GET api/distributionapi/distributionsbycustomer/{customerId}?active={active}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| customerId | globally unique identifier |
Required |
|
| active | boolean |
None. |
Body Parameters
None.
Response Information
Resource Description
Collection of DistributionViewModel| Name | Description | Type | Additional information |
|---|---|---|---|
| id | globally unique identifier |
None. |
|
| name | string |
String length: inclusive between 0 and 100 |
|
| communication_server_id | globally unique identifier |
Required |
|
| active | boolean |
Required |
Response Formats
application/json, text/json
Sample:
[
{
"id": "9157b915-c6e2-485c-b44e-21fac764fa32",
"name": "sample string 2",
"communication_server_id": "91dd87f7-e630-4399-a6ec-f6a18b5621d8",
"active": true
},
{
"id": "9157b915-c6e2-485c-b44e-21fac764fa32",
"name": "sample string 2",
"communication_server_id": "91dd87f7-e630-4399-a6ec-f6a18b5621d8",
"active": true
}
]
application/xml, text/xml
Sample:
<ArrayOfdistribution xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/EntityModel">
<distribution>
<active>true</active>
<communication_server_id>91dd87f7-e630-4399-a6ec-f6a18b5621d8</communication_server_id>
<id>9157b915-c6e2-485c-b44e-21fac764fa32</id>
<name>sample string 2</name>
</distribution>
<distribution>
<active>true</active>
<communication_server_id>91dd87f7-e630-4399-a6ec-f6a18b5621d8</communication_server_id>
<id>9157b915-c6e2-485c-b44e-21fac764fa32</id>
<name>sample string 2</name>
</distribution>
</ArrayOfdistribution>