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": "20b266ed-2a1e-4fd3-ae46-23490ebdad85",
"name": "sample string 2",
"communication_server_id": "cf838120-a7a0-422d-8f02-62c25b14f4fe",
"active": true
},
{
"id": "20b266ed-2a1e-4fd3-ae46-23490ebdad85",
"name": "sample string 2",
"communication_server_id": "cf838120-a7a0-422d-8f02-62c25b14f4fe",
"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>cf838120-a7a0-422d-8f02-62c25b14f4fe</communication_server_id>
<id>20b266ed-2a1e-4fd3-ae46-23490ebdad85</id>
<name>sample string 2</name>
</distribution>
<distribution>
<active>true</active>
<communication_server_id>cf838120-a7a0-422d-8f02-62c25b14f4fe</communication_server_id>
<id>20b266ed-2a1e-4fd3-ae46-23490ebdad85</id>
<name>sample string 2</name>
</distribution>
</ArrayOfdistribution>