POST api/Events/BulkUnPublish
Request Information
URI Parameters
None.
Body Parameters
EventFilterName | 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-09-07T05:14:24.0029427+00:00", "EndDateTime": "2025-09-07T05:14:24.0029427+00:00", "EventCategories": [ { "Identity": "ce38f1b4-0489-4930-bcb0-0c5de7a4b3c6", "Values": [ "ab2dbb9c-ec0f-408d-b683-b91569f4713d", "bbff2d8b-5ecf-4429-b6d3-5621a18a27f4" ] }, { "Identity": "ce38f1b4-0489-4930-bcb0-0c5de7a4b3c6", "Values": [ "ab2dbb9c-ec0f-408d-b683-b91569f4713d", "bbff2d8b-5ecf-4429-b6d3-5621a18a27f4" ] } ], "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-09-07T05:14:24.0029427Z</d2p1:DateTime> <d2p1:OffsetMinutes>0</d2p1:OffsetMinutes> </EndDateTime> <EventCategories> <CategoryValue> <Identity>ce38f1b4-0489-4930-bcb0-0c5de7a4b3c6</Identity> <Values xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d4p1:guid>ab2dbb9c-ec0f-408d-b683-b91569f4713d</d4p1:guid> <d4p1:guid>bbff2d8b-5ecf-4429-b6d3-5621a18a27f4</d4p1:guid> </Values> </CategoryValue> <CategoryValue> <Identity>ce38f1b4-0489-4930-bcb0-0c5de7a4b3c6</Identity> <Values xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d4p1:guid>ab2dbb9c-ec0f-408d-b683-b91569f4713d</d4p1:guid> <d4p1:guid>bbff2d8b-5ecf-4429-b6d3-5621a18a27f4</d4p1:guid> </Values> </CategoryValue> </EventCategories> <IsPublished>true</IsPublished> <StartDateTime xmlns:d2p1="http://schemas.datacontract.org/2004/07/System"> <d2p1:DateTime>2025-09-07T05:14:24.0029427Z</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>