POST api/Events/BulkPublish

Request Information

URI Parameters

None.

Body Parameters

EventFilter
NameDescriptionTypeAdditional 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-21T08:45:26.2908109+00:00",
  "EndDateTime": "2024-11-21T08:45:26.2908109+00:00",
  "EventCategories": [
    {
      "Identity": "ed7ad1c1-3e78-489c-816f-83b2a91a173f",
      "Values": [
        "a6bb730d-6279-4a5d-9d09-da0c5c310d20",
        "d4afc5be-e759-44d0-8076-44f7ebfe7d47"
      ]
    },
    {
      "Identity": "ed7ad1c1-3e78-489c-816f-83b2a91a173f",
      "Values": [
        "a6bb730d-6279-4a5d-9d09-da0c5c310d20",
        "d4afc5be-e759-44d0-8076-44f7ebfe7d47"
      ]
    }
  ],
  "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-21T08:45:26.2908109Z</d2p1:DateTime>
    <d2p1:OffsetMinutes>0</d2p1:OffsetMinutes>
  </EndDateTime>
  <EventCategories>
    <CategoryValue>
      <Identity>ed7ad1c1-3e78-489c-816f-83b2a91a173f</Identity>
      <Values xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
        <d4p1:guid>a6bb730d-6279-4a5d-9d09-da0c5c310d20</d4p1:guid>
        <d4p1:guid>d4afc5be-e759-44d0-8076-44f7ebfe7d47</d4p1:guid>
      </Values>
    </CategoryValue>
    <CategoryValue>
      <Identity>ed7ad1c1-3e78-489c-816f-83b2a91a173f</Identity>
      <Values xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
        <d4p1:guid>a6bb730d-6279-4a5d-9d09-da0c5c310d20</d4p1:guid>
        <d4p1:guid>d4afc5be-e759-44d0-8076-44f7ebfe7d47</d4p1:guid>
      </Values>
    </CategoryValue>
  </EventCategories>
  <IsPublished>true</IsPublished>
  <StartDateTime xmlns:d2p1="http://schemas.datacontract.org/2004/07/System">
    <d2p1:DateTime>2024-11-21T08:45:26.2908109Z</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

integer

Response Formats

application/json, text/json

Sample:
1

application/xml, text/xml

Sample:
<long xmlns="http://schemas.microsoft.com/2003/10/Serialization/">1</long>