POST api/Admin/Calendars/MessageChannelSetStatus
Activates/inactivates message channels for calendars.
Request Information
URI Parameters
None.
Body Parameters
MessageChannelRequest.
MessageChannelRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| CalendarIds |
List of calendar id. |
Collection of integer |
Required |
| Addon |
Addon. |
string |
Required |
| Status |
Status (active/inactive). |
string |
Required |
| SubaccountId |
Subaccount id. |
string |
None. |
| CreatedBy |
Created by |
string |
Required Max length: 255 |
Remarks
None.
Example
None.
Request Formats
application/json, text/json
Sample:
{
"CalendarIds": [
1,
2
],
"Addon": "sample string 1",
"Status": "sample string 2",
"SubaccountId": "sample string 3",
"CreatedBy": "sample string 4"
}
application/xml, text/xml
Sample:
<MessageChannelRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Compilator.Calendar.Service.DTO">
<Addon>sample string 1</Addon>
<CalendarIds xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:int>1</d2p1:int>
<d2p1:int>2</d2p1:int>
</CalendarIds>
<CreatedBy>sample string 4</CreatedBy>
<Status>sample string 2</Status>
<SubaccountId>sample string 3</SubaccountId>
</MessageChannelRequest>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.