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": "2024-11-21T09:00:40.7084124+00:00", "EndDateTime": "2024-11-21T09:00:40.7084124+00:00", "EventCategories": [ { "Identity": "d8912fef-5505-4b20-8dbb-e286e6447fdf", "Values": [ "ef758f7b-65ae-42f1-a741-ac650857b3fe", "c8558118-22ef-40ab-8a7f-247800725c4d" ] }, { "Identity": "d8912fef-5505-4b20-8dbb-e286e6447fdf", "Values": [ "ef758f7b-65ae-42f1-a741-ac650857b3fe", "c8558118-22ef-40ab-8a7f-247800725c4d" ] } ], "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>2024-11-21T09:00:40.7084124Z</d2p1:DateTime> <d2p1:OffsetMinutes>0</d2p1:OffsetMinutes> </EndDateTime> <EventCategories> <CategoryValue> <Identity>d8912fef-5505-4b20-8dbb-e286e6447fdf</Identity> <Values xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d4p1:guid>ef758f7b-65ae-42f1-a741-ac650857b3fe</d4p1:guid> <d4p1:guid>c8558118-22ef-40ab-8a7f-247800725c4d</d4p1:guid> </Values> </CategoryValue> <CategoryValue> <Identity>d8912fef-5505-4b20-8dbb-e286e6447fdf</Identity> <Values xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d4p1:guid>ef758f7b-65ae-42f1-a741-ac650857b3fe</d4p1:guid> <d4p1:guid>c8558118-22ef-40ab-8a7f-247800725c4d</d4p1:guid> </Values> </CategoryValue> </EventCategories> <IsPublished>true</IsPublished> <StartDateTime xmlns:d2p1="http://schemas.datacontract.org/2004/07/System"> <d2p1:DateTime>2024-11-21T09:00:40.7084124Z</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>