POST api/Events/BulkUnPublish
Request Information
URI Parameters
None.
Body Parameters
EventFilter| Name | Description | Type | Additional information |
|---|---|---|---|
| IsPublished | boolean |
None. |
|
| StartDateTime | date |
None. |
|
| EndDateTime | date |
None. |
|
| EventCategories | Collection of CategoryValue |
None. |
|
| Term | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"IsPublished": true,
"StartDateTime": "2025-12-22T10:52:06.1563638+00:00",
"EndDateTime": "2025-12-22T10:52:06.1563638+00:00",
"EventCategories": [
{
"Identity": "c428fa8a-90dc-445e-a3ca-365d3b76af2f",
"Values": [
"cba3315a-477d-4a67-93f2-85e36ab82829",
"22689844-4eef-47ce-bf0d-8b500607fca5"
]
},
{
"Identity": "c428fa8a-90dc-445e-a3ca-365d3b76af2f",
"Values": [
"cba3315a-477d-4a67-93f2-85e36ab82829",
"22689844-4eef-47ce-bf0d-8b500607fca5"
]
}
],
"Term": "sample string 1"
}
application/xml, text/xml
Sample:
<EventFilter xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Scientia.Platform.API.Model">
<EndDateTime xmlns:d2p1="http://schemas.datacontract.org/2004/07/System">
<d2p1:DateTime>2025-12-22T10:52:06.1563638Z</d2p1:DateTime>
<d2p1:OffsetMinutes>0</d2p1:OffsetMinutes>
</EndDateTime>
<EventCategories>
<CategoryValue>
<Identity>c428fa8a-90dc-445e-a3ca-365d3b76af2f</Identity>
<Values xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d4p1:guid>cba3315a-477d-4a67-93f2-85e36ab82829</d4p1:guid>
<d4p1:guid>22689844-4eef-47ce-bf0d-8b500607fca5</d4p1:guid>
</Values>
</CategoryValue>
<CategoryValue>
<Identity>c428fa8a-90dc-445e-a3ca-365d3b76af2f</Identity>
<Values xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d4p1:guid>cba3315a-477d-4a67-93f2-85e36ab82829</d4p1:guid>
<d4p1:guid>22689844-4eef-47ce-bf0d-8b500607fca5</d4p1:guid>
</Values>
</CategoryValue>
</EventCategories>
<IsPublished>true</IsPublished>
<StartDateTime xmlns:d2p1="http://schemas.datacontract.org/2004/07/System">
<d2p1:DateTime>2025-12-22T10:52:06.1563638Z</d2p1:DateTime>
<d2p1:OffsetMinutes>0</d2p1:OffsetMinutes>
</StartDateTime>
<Term>sample string 1</Term>
</EventFilter>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
integerResponse Formats
application/json, text/json
Sample:
1
application/xml, text/xml
Sample:
<long xmlns="http://schemas.microsoft.com/2003/10/Serialization/">1</long>