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-08-31T10:13:31.6014301+00:00", "EndDateTime": "2025-08-31T10:13:31.6014301+00:00", "EventCategories": [ { "Identity": "f146ffab-9229-4e1f-8647-4c474343f55f", "Values": [ "8313945e-def1-486e-a389-90362bfedf00", "ab4610a8-7e0d-4368-9254-345227ade5c4" ] }, { "Identity": "f146ffab-9229-4e1f-8647-4c474343f55f", "Values": [ "8313945e-def1-486e-a389-90362bfedf00", "ab4610a8-7e0d-4368-9254-345227ade5c4" ] } ], "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-08-31T10:13:31.6014301Z</d2p1:DateTime> <d2p1:OffsetMinutes>0</d2p1:OffsetMinutes> </EndDateTime> <EventCategories> <CategoryValue> <Identity>f146ffab-9229-4e1f-8647-4c474343f55f</Identity> <Values xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d4p1:guid>8313945e-def1-486e-a389-90362bfedf00</d4p1:guid> <d4p1:guid>ab4610a8-7e0d-4368-9254-345227ade5c4</d4p1:guid> </Values> </CategoryValue> <CategoryValue> <Identity>f146ffab-9229-4e1f-8647-4c474343f55f</Identity> <Values xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d4p1:guid>8313945e-def1-486e-a389-90362bfedf00</d4p1:guid> <d4p1:guid>ab4610a8-7e0d-4368-9254-345227ade5c4</d4p1:guid> </Values> </CategoryValue> </EventCategories> <IsPublished>true</IsPublished> <StartDateTime xmlns:d2p1="http://schemas.datacontract.org/2004/07/System"> <d2p1:DateTime>2025-08-31T10:13:31.6014301Z</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>