POST api/Event/UpdateClassLocationInfo

Documentation for 'UpdateClassLocationInfo'.

Request Information

Parameters

NameDescriptionAdditional information
request
Documentation for 'request'.

Define this parameter in the request body.

Request body formats

application/json, text/json

Sample:
{
  "item": {
    "classID": "sample string 1",
    "eventID": "sample string 2",
    "sessionID": "sample string 3",
    "venue": "sample string 4",
    "room": "sample string 5",
    "venueLat": "sample string 6",
    "venueLng": "sample string 7",
    "startDate": "2025-01-09T11:33:33.2333455+08:00",
    "endDate": "2025-01-09T11:33:33.2333455+08:00",
    "registrationStart": "2025-01-09T11:33:33.2333455+08:00",
    "registrationEnd": "2025-01-09T11:33:33.2333455+08:00",
    "maxPax": "sample string 8",
    "createDate": "2025-01-09T11:33:33.2333455+08:00",
    "adminID": "sample string 9",
    "status": "sample string 10",
    "trainer": [
      {
        "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:33:33.2333455+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:33:33.2333455+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:33:33.2333455+08:00"
      }
    ],
    "eventPrice": [
      {
        "EventID": "sample string 1",
        "classID": "sample string 2",
        "priceID": "sample string 3",
        "priceTitle": "sample string 4",
        "price": "sample string 5",
        "priceCurrency": "sample string 6",
        "priceStartDate": "2025-01-09T11:33:33.2333455+08:00",
        "priceEndDate": "2025-01-09T11:33:33.2333455+08:00",
        "createDate": "2025-01-09T11:33:33.2333455+08:00",
        "updateDate": "2025-01-09T11:33:33.2333455+08:00",
        "requireID": "sample string 7",
        "requireNRIC": "sample string 8",
        "adminID": "sample string 9",
        "enabled": "sample string 10",
        "deleted": "sample string 11"
      },
      {
        "EventID": "sample string 1",
        "classID": "sample string 2",
        "priceID": "sample string 3",
        "priceTitle": "sample string 4",
        "price": "sample string 5",
        "priceCurrency": "sample string 6",
        "priceStartDate": "2025-01-09T11:33:33.2333455+08:00",
        "priceEndDate": "2025-01-09T11:33:33.2333455+08:00",
        "createDate": "2025-01-09T11:33:33.2333455+08:00",
        "updateDate": "2025-01-09T11:33:33.2333455+08:00",
        "requireID": "sample string 7",
        "requireNRIC": "sample string 8",
        "adminID": "sample string 9",
        "enabled": "sample string 10",
        "deleted": "sample string 11"
      },
      {
        "EventID": "sample string 1",
        "classID": "sample string 2",
        "priceID": "sample string 3",
        "priceTitle": "sample string 4",
        "price": "sample string 5",
        "priceCurrency": "sample string 6",
        "priceStartDate": "2025-01-09T11:33:33.2333455+08:00",
        "priceEndDate": "2025-01-09T11:33:33.2333455+08:00",
        "createDate": "2025-01-09T11:33:33.2333455+08:00",
        "updateDate": "2025-01-09T11:33:33.2333455+08:00",
        "requireID": "sample string 7",
        "requireNRIC": "sample string 8",
        "adminID": "sample string 9",
        "enabled": "sample string 10",
        "deleted": "sample string 11"
      }
    ],
    "classInfo": [
      {
        "classID": "sample string 1",
        "infoType": "sample string 2",
        "info": "sample string 3",
        "createDate": "2025-01-09T11:33:33.2333455+08:00",
        "updateDate": "2025-01-09T11:33:33.2333455+08:00",
        "adminID": "sample string 4"
      },
      {
        "classID": "sample string 1",
        "infoType": "sample string 2",
        "info": "sample string 3",
        "createDate": "2025-01-09T11:33:33.2333455+08:00",
        "updateDate": "2025-01-09T11:33:33.2333455+08:00",
        "adminID": "sample string 4"
      },
      {
        "classID": "sample string 1",
        "infoType": "sample string 2",
        "info": "sample string 3",
        "createDate": "2025-01-09T11:33:33.2333455+08:00",
        "updateDate": "2025-01-09T11:33:33.2333455+08:00",
        "adminID": "sample string 4"
      }
    ]
  }
}

application/xml, text/xml

Sample:
<UpdateClassLocationInfoRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SISVServices.Models">
  <item xmlns:d2p1="http://schemas.datacontract.org/2004/07/SISVServicesDA.Models">
    <d2p1:adminID>sample string 9</d2p1:adminID>
    <d2p1:classID>sample string 1</d2p1:classID>
    <d2p1:classInfo>
      <d2p1:classInfo>
        <d2p1:adminID>sample string 4</d2p1:adminID>
        <d2p1:classID>sample string 1</d2p1:classID>
        <d2p1:createDate>2025-01-09T11:33:33.2333455+08:00</d2p1:createDate>
        <d2p1:info>sample string 3</d2p1:info>
        <d2p1:infoType>sample string 2</d2p1:infoType>
        <d2p1:updateDate>2025-01-09T11:33:33.2333455+08:00</d2p1:updateDate>
      </d2p1:classInfo>
      <d2p1:classInfo>
        <d2p1:adminID>sample string 4</d2p1:adminID>
        <d2p1:classID>sample string 1</d2p1:classID>
        <d2p1:createDate>2025-01-09T11:33:33.2333455+08:00</d2p1:createDate>
        <d2p1:info>sample string 3</d2p1:info>
        <d2p1:infoType>sample string 2</d2p1:infoType>
        <d2p1:updateDate>2025-01-09T11:33:33.2333455+08:00</d2p1:updateDate>
      </d2p1:classInfo>
      <d2p1:classInfo>
        <d2p1:adminID>sample string 4</d2p1:adminID>
        <d2p1:classID>sample string 1</d2p1:classID>
        <d2p1:createDate>2025-01-09T11:33:33.2333455+08:00</d2p1:createDate>
        <d2p1:info>sample string 3</d2p1:info>
        <d2p1:infoType>sample string 2</d2p1:infoType>
        <d2p1:updateDate>2025-01-09T11:33:33.2333455+08:00</d2p1:updateDate>
      </d2p1:classInfo>
    </d2p1:classInfo>
    <d2p1:createDate>2025-01-09T11:33:33.2333455+08:00</d2p1:createDate>
    <d2p1:endDate>2025-01-09T11:33:33.2333455+08:00</d2p1:endDate>
    <d2p1:eventID>sample string 2</d2p1:eventID>
    <d2p1:eventPrice>
      <d2p1:EventPrice>
        <d2p1:EventID>sample string 1</d2p1:EventID>
        <d2p1:adminID>sample string 9</d2p1:adminID>
        <d2p1:classID>sample string 2</d2p1:classID>
        <d2p1:createDate>2025-01-09T11:33:33.2333455+08:00</d2p1:createDate>
        <d2p1:deleted>sample string 11</d2p1:deleted>
        <d2p1:enabled>sample string 10</d2p1:enabled>
        <d2p1:price>sample string 5</d2p1:price>
        <d2p1:priceCurrency>sample string 6</d2p1:priceCurrency>
        <d2p1:priceEndDate>2025-01-09T11:33:33.2333455+08:00</d2p1:priceEndDate>
        <d2p1:priceID>sample string 3</d2p1:priceID>
        <d2p1:priceStartDate>2025-01-09T11:33:33.2333455+08:00</d2p1:priceStartDate>
        <d2p1:priceTitle>sample string 4</d2p1:priceTitle>
        <d2p1:requireID>sample string 7</d2p1:requireID>
        <d2p1:requireNRIC>sample string 8</d2p1:requireNRIC>
        <d2p1:updateDate>2025-01-09T11:33:33.2333455+08:00</d2p1:updateDate>
      </d2p1:EventPrice>
      <d2p1:EventPrice>
        <d2p1:EventID>sample string 1</d2p1:EventID>
        <d2p1:adminID>sample string 9</d2p1:adminID>
        <d2p1:classID>sample string 2</d2p1:classID>
        <d2p1:createDate>2025-01-09T11:33:33.2333455+08:00</d2p1:createDate>
        <d2p1:deleted>sample string 11</d2p1:deleted>
        <d2p1:enabled>sample string 10</d2p1:enabled>
        <d2p1:price>sample string 5</d2p1:price>
        <d2p1:priceCurrency>sample string 6</d2p1:priceCurrency>
        <d2p1:priceEndDate>2025-01-09T11:33:33.2333455+08:00</d2p1:priceEndDate>
        <d2p1:priceID>sample string 3</d2p1:priceID>
        <d2p1:priceStartDate>2025-01-09T11:33:33.2333455+08:00</d2p1:priceStartDate>
        <d2p1:priceTitle>sample string 4</d2p1:priceTitle>
        <d2p1:requireID>sample string 7</d2p1:requireID>
        <d2p1:requireNRIC>sample string 8</d2p1:requireNRIC>
        <d2p1:updateDate>2025-01-09T11:33:33.2333455+08:00</d2p1:updateDate>
      </d2p1:EventPrice>
      <d2p1:EventPrice>
        <d2p1:EventID>sample string 1</d2p1:EventID>
        <d2p1:adminID>sample string 9</d2p1:adminID>
        <d2p1:classID>sample string 2</d2p1:classID>
        <d2p1:createDate>2025-01-09T11:33:33.2333455+08:00</d2p1:createDate>
        <d2p1:deleted>sample string 11</d2p1:deleted>
        <d2p1:enabled>sample string 10</d2p1:enabled>
        <d2p1:price>sample string 5</d2p1:price>
        <d2p1:priceCurrency>sample string 6</d2p1:priceCurrency>
        <d2p1:priceEndDate>2025-01-09T11:33:33.2333455+08:00</d2p1:priceEndDate>
        <d2p1:priceID>sample string 3</d2p1:priceID>
        <d2p1:priceStartDate>2025-01-09T11:33:33.2333455+08:00</d2p1:priceStartDate>
        <d2p1:priceTitle>sample string 4</d2p1:priceTitle>
        <d2p1:requireID>sample string 7</d2p1:requireID>
        <d2p1:requireNRIC>sample string 8</d2p1:requireNRIC>
        <d2p1:updateDate>2025-01-09T11:33:33.2333455+08:00</d2p1:updateDate>
      </d2p1:EventPrice>
    </d2p1:eventPrice>
    <d2p1:maxPax>sample string 8</d2p1:maxPax>
    <d2p1:registrationEnd>2025-01-09T11:33:33.2333455+08:00</d2p1:registrationEnd>
    <d2p1:registrationStart>2025-01-09T11:33:33.2333455+08:00</d2p1:registrationStart>
    <d2p1:room>sample string 5</d2p1:room>
    <d2p1:sessionID>sample string 3</d2p1:sessionID>
    <d2p1:startDate>2025-01-09T11:33:33.2333455+08:00</d2p1:startDate>
    <d2p1:status>sample string 10</d2p1:status>
    <d2p1:trainer>
      <d2p1:EventSpeaker>
        <d2p1:ClassID>sample string 2</d2p1:ClassID>
        <d2p1:CreateDate>2025-01-09T11:33:33.2333455+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:33:33.2333455+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:33:33.2333455+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:trainer>
    <d2p1:venue>sample string 4</d2p1:venue>
    <d2p1:venueLat>sample string 6</d2p1:venueLat>
    <d2p1:venueLng>sample string 7</d2p1:venueLng>
  </item>
</UpdateClassLocationInfoRequest>

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 'UpdateClassLocationInfoRequest'.