POST api/Event/AddEventSpeaker

Documentation for 'AddEventSpeaker'.

Request Information

Parameters

NameDescriptionAdditional information
request
Documentation for 'request'.

Define this parameter in the request body.

Request body formats

application/json, text/json

Sample:
{
  "eventID": "sample string 1",
  "classID": "sample string 2",
  "item": [
    {
      "EventID": "sample string 1",
      "ClassID": "sample string 2",
      "SpeakerID": "sample string 3",
      "Name": "sample string 4",
      "NRIC": "sample string 5",
      "Designation": "sample string 6",
      "Discipline": "sample string 7",
      "CreateDate": "2025-01-09T11:52:29.2194585+08:00"
    },
    {
      "EventID": "sample string 1",
      "ClassID": "sample string 2",
      "SpeakerID": "sample string 3",
      "Name": "sample string 4",
      "NRIC": "sample string 5",
      "Designation": "sample string 6",
      "Discipline": "sample string 7",
      "CreateDate": "2025-01-09T11:52:29.2194585+08:00"
    },
    {
      "EventID": "sample string 1",
      "ClassID": "sample string 2",
      "SpeakerID": "sample string 3",
      "Name": "sample string 4",
      "NRIC": "sample string 5",
      "Designation": "sample string 6",
      "Discipline": "sample string 7",
      "CreateDate": "2025-01-09T11:52:29.2194585+08:00"
    }
  ]
}

application/xml, text/xml

Sample:
<EventSpeakerAddRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SISVServices.Models">
  <classID>sample string 2</classID>
  <eventID>sample string 1</eventID>
  <item xmlns:d2p1="http://schemas.datacontract.org/2004/07/SISVServicesDA.Models">
    <d2p1:EventSpeaker>
      <d2p1:ClassID>sample string 2</d2p1:ClassID>
      <d2p1:CreateDate>2025-01-09T11:52:29.2194585+08:00</d2p1:CreateDate>
      <d2p1:Designation>sample string 6</d2p1:Designation>
      <d2p1:Discipline>sample string 7</d2p1:Discipline>
      <d2p1:EventID>sample string 1</d2p1:EventID>
      <d2p1:NRIC>sample string 5</d2p1:NRIC>
      <d2p1:Name>sample string 4</d2p1:Name>
      <d2p1:SpeakerID>sample string 3</d2p1:SpeakerID>
    </d2p1:EventSpeaker>
    <d2p1:EventSpeaker>
      <d2p1:ClassID>sample string 2</d2p1:ClassID>
      <d2p1:CreateDate>2025-01-09T11:52:29.2194585+08:00</d2p1:CreateDate>
      <d2p1:Designation>sample string 6</d2p1:Designation>
      <d2p1:Discipline>sample string 7</d2p1:Discipline>
      <d2p1:EventID>sample string 1</d2p1:EventID>
      <d2p1:NRIC>sample string 5</d2p1:NRIC>
      <d2p1:Name>sample string 4</d2p1:Name>
      <d2p1:SpeakerID>sample string 3</d2p1:SpeakerID>
    </d2p1:EventSpeaker>
    <d2p1:EventSpeaker>
      <d2p1:ClassID>sample string 2</d2p1:ClassID>
      <d2p1:CreateDate>2025-01-09T11:52:29.2194585+08:00</d2p1:CreateDate>
      <d2p1:Designation>sample string 6</d2p1:Designation>
      <d2p1:Discipline>sample string 7</d2p1:Discipline>
      <d2p1:EventID>sample string 1</d2p1:EventID>
      <d2p1:NRIC>sample string 5</d2p1:NRIC>
      <d2p1:Name>sample string 4</d2p1:Name>
      <d2p1:SpeakerID>sample string 3</d2p1:SpeakerID>
    </d2p1:EventSpeaker>
  </item>
</EventSpeakerAddRequest>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'FormUrlEncodedMediaTypeFormatterTracer' to write type 'EventSpeakerAddRequest'.