POST Course/CreateClassroom/AddClassroomBatchDetails/{saveOrDelete}

Add Batch for classroom Course

Request Information

URI Parameters

NameDescriptionTypeAdditional information
saveOrDelete

Required

Body Parameters

NameDescriptionTypeAdditional information
BatchId

None.

CourseUniqueId

None.

Sessions

None.

Request Formats

application/json, text/json

Sample:
[
  {
    "BatchId": "sample string 1",
    "CourseUniqueId": "sample string 2",
    "Sessions": [
      {
        "SessionId": "sample string 1",
        "StartDate": "2024-11-21T09:28:32.8330864+00:00",
        "EndDate": "2024-11-21T09:28:32.8330864+00:00",
        "Duration": 4,
        "Venue": "sample string 5",
        "TrainerName": "sample string 6",
        "TrainerPSId": "sample string 7",
        "TrainerEmailId": "sample string 8",
        "StartTime": "sample string 9",
        "EndTime": "sample string 10",
        "TimeZone": "sample string 11"
      },
      {
        "SessionId": "sample string 1",
        "StartDate": "2024-11-21T09:28:32.8330864+00:00",
        "EndDate": "2024-11-21T09:28:32.8330864+00:00",
        "Duration": 4,
        "Venue": "sample string 5",
        "TrainerName": "sample string 6",
        "TrainerPSId": "sample string 7",
        "TrainerEmailId": "sample string 8",
        "StartTime": "sample string 9",
        "EndTime": "sample string 10",
        "TimeZone": "sample string 11"
      }
    ]
  },
  {
    "BatchId": "sample string 1",
    "CourseUniqueId": "sample string 2",
    "Sessions": [
      {
        "SessionId": "sample string 1",
        "StartDate": "2024-11-21T09:28:32.8330864+00:00",
        "EndDate": "2024-11-21T09:28:32.8330864+00:00",
        "Duration": 4,
        "Venue": "sample string 5",
        "TrainerName": "sample string 6",
        "TrainerPSId": "sample string 7",
        "TrainerEmailId": "sample string 8",
        "StartTime": "sample string 9",
        "EndTime": "sample string 10",
        "TimeZone": "sample string 11"
      },
      {
        "SessionId": "sample string 1",
        "StartDate": "2024-11-21T09:28:32.8330864+00:00",
        "EndDate": "2024-11-21T09:28:32.8330864+00:00",
        "Duration": 4,
        "Venue": "sample string 5",
        "TrainerName": "sample string 6",
        "TrainerPSId": "sample string 7",
        "TrainerEmailId": "sample string 8",
        "StartTime": "sample string 9",
        "EndTime": "sample string 10",
        "TimeZone": "sample string 11"
      }
    ]
  }
]

application/xml, text/xml

Sample:
<ArrayOfBatchSessionDetails xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Yorbit.Data.SQLServer.POCO">
  <BatchSessionDetails>
    <BatchId>sample string 1</BatchId>
    <CourseUniqueId>sample string 2</CourseUniqueId>
    <Sessions>
      <SessionDetails>
        <Duration>4</Duration>
        <EndDate>2024-11-21T09:28:32.8330864+00:00</EndDate>
        <EndTime>sample string 10</EndTime>
        <SessionId>sample string 1</SessionId>
        <StartDate>2024-11-21T09:28:32.8330864+00:00</StartDate>
        <StartTime>sample string 9</StartTime>
        <TimeZone>sample string 11</TimeZone>
        <TrainerEmailId>sample string 8</TrainerEmailId>
        <TrainerName>sample string 6</TrainerName>
        <TrainerPSId>sample string 7</TrainerPSId>
        <Venue>sample string 5</Venue>
      </SessionDetails>
      <SessionDetails>
        <Duration>4</Duration>
        <EndDate>2024-11-21T09:28:32.8330864+00:00</EndDate>
        <EndTime>sample string 10</EndTime>
        <SessionId>sample string 1</SessionId>
        <StartDate>2024-11-21T09:28:32.8330864+00:00</StartDate>
        <StartTime>sample string 9</StartTime>
        <TimeZone>sample string 11</TimeZone>
        <TrainerEmailId>sample string 8</TrainerEmailId>
        <TrainerName>sample string 6</TrainerName>
        <TrainerPSId>sample string 7</TrainerPSId>
        <Venue>sample string 5</Venue>
      </SessionDetails>
    </Sessions>
  </BatchSessionDetails>
  <BatchSessionDetails>
    <BatchId>sample string 1</BatchId>
    <CourseUniqueId>sample string 2</CourseUniqueId>
    <Sessions>
      <SessionDetails>
        <Duration>4</Duration>
        <EndDate>2024-11-21T09:28:32.8330864+00:00</EndDate>
        <EndTime>sample string 10</EndTime>
        <SessionId>sample string 1</SessionId>
        <StartDate>2024-11-21T09:28:32.8330864+00:00</StartDate>
        <StartTime>sample string 9</StartTime>
        <TimeZone>sample string 11</TimeZone>
        <TrainerEmailId>sample string 8</TrainerEmailId>
        <TrainerName>sample string 6</TrainerName>
        <TrainerPSId>sample string 7</TrainerPSId>
        <Venue>sample string 5</Venue>
      </SessionDetails>
      <SessionDetails>
        <Duration>4</Duration>
        <EndDate>2024-11-21T09:28:32.8330864+00:00</EndDate>
        <EndTime>sample string 10</EndTime>
        <SessionId>sample string 1</SessionId>
        <StartDate>2024-11-21T09:28:32.8330864+00:00</StartDate>
        <StartTime>sample string 9</StartTime>
        <TimeZone>sample string 11</TimeZone>
        <TrainerEmailId>sample string 8</TrainerEmailId>
        <TrainerName>sample string 6</TrainerName>
        <TrainerPSId>sample string 7</TrainerPSId>
        <Venue>sample string 5</Venue>
      </SessionDetails>
    </Sessions>
  </BatchSessionDetails>
</ArrayOfBatchSessionDetails>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

NameDescriptionTypeAdditional information
Version

None.

Content

None.

StatusCode

None.

ReasonPhrase

None.

Headers

None.

RequestMessage

None.

IsSuccessStatusCode

None.