POST CAWS/StudentExceptions

Creates a new student exception record passed in the parameter and then returns it.

Request Information

Parameters

NameDescriptionAdditional information
exceptionPoco
ExceptionPoco that represents the new student exception. ExceptionId property should be set to 0.

Define this parameter in the request body.

Request body formats

application/json, text/json

Sample:
{
  "ExceptionId": 1,
  "ExceptionType": 0,
  "StartDateTime": "2026-01-09T15:22:25.0929239+00:00",
  "EndDateTime": "2026-01-09T15:22:25.0929239+00:00",
  "MarkId": 1,
  "MinsLate": 1,
  "Comments": "sample string 3",
  "OriginId": 1,
  "OriginalId": "sample string 4",
  "DateChange": "2026-01-09T15:22:25.0929239+00:00",
  "UserId": 6,
  "StudentExceptions": [
    {
      "StudentExceptionId": 1,
      "ExceptionId": 2,
      "StudentId": 3,
      "EventId": 1,
      "StudentName": "sample string 4",
      "StudentUniqueName": "sample string 5",
      "Modified": true,
      "Removed": true,
      "OriginId": 1,
      "OriginalId": "sample string 8",
      "DateChange": "2026-01-09T15:22:25.0929239+00:00",
      "UserId": 10
    },
    {
      "StudentExceptionId": 1,
      "ExceptionId": 2,
      "StudentId": 3,
      "EventId": 1,
      "StudentName": "sample string 4",
      "StudentUniqueName": "sample string 5",
      "Modified": true,
      "Removed": true,
      "OriginId": 1,
      "OriginalId": "sample string 8",
      "DateChange": "2026-01-09T15:22:25.0929239+00:00",
      "UserId": 10
    },
    {
      "StudentExceptionId": 1,
      "ExceptionId": 2,
      "StudentId": 3,
      "EventId": 1,
      "StudentName": "sample string 4",
      "StudentUniqueName": "sample string 5",
      "Modified": true,
      "Removed": true,
      "OriginId": 1,
      "OriginalId": "sample string 8",
      "DateChange": "2026-01-09T15:22:25.0929239+00:00",
      "UserId": 10
    }
  ],
  "Modified": true,
  "Removed": true
}

application/xml, text/xml

Sample:
<ExceptionPoco xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Celcat.Models">
  <Comments>sample string 3</Comments>
  <DateChange>2026-01-09T15:22:25.0929239+00:00</DateChange>
  <EndDateTime>2026-01-09T15:22:25.0929239+00:00</EndDateTime>
  <ExceptionId>1</ExceptionId>
  <ExceptionType>CetExceptionAdd</ExceptionType>
  <MarkId>1</MarkId>
  <MinsLate>1</MinsLate>
  <Modified>true</Modified>
  <OriginId>1</OriginId>
  <OriginalId>sample string 4</OriginalId>
  <Removed>true</Removed>
  <StartDateTime>2026-01-09T15:22:25.0929239+00:00</StartDateTime>
  <StudentExceptions>
    <StudentExceptionPoco>
      <DateChange>2026-01-09T15:22:25.0929239+00:00</DateChange>
      <EventId>1</EventId>
      <ExceptionId>2</ExceptionId>
      <Modified>true</Modified>
      <OriginId>1</OriginId>
      <OriginalId>sample string 8</OriginalId>
      <Removed>true</Removed>
      <StudentExceptionId>1</StudentExceptionId>
      <StudentId>3</StudentId>
      <StudentName>sample string 4</StudentName>
      <StudentUniqueName>sample string 5</StudentUniqueName>
      <UserId>10</UserId>
    </StudentExceptionPoco>
    <StudentExceptionPoco>
      <DateChange>2026-01-09T15:22:25.0929239+00:00</DateChange>
      <EventId>1</EventId>
      <ExceptionId>2</ExceptionId>
      <Modified>true</Modified>
      <OriginId>1</OriginId>
      <OriginalId>sample string 8</OriginalId>
      <Removed>true</Removed>
      <StudentExceptionId>1</StudentExceptionId>
      <StudentId>3</StudentId>
      <StudentName>sample string 4</StudentName>
      <StudentUniqueName>sample string 5</StudentUniqueName>
      <UserId>10</UserId>
    </StudentExceptionPoco>
    <StudentExceptionPoco>
      <DateChange>2026-01-09T15:22:25.0929239+00:00</DateChange>
      <EventId>1</EventId>
      <ExceptionId>2</ExceptionId>
      <Modified>true</Modified>
      <OriginId>1</OriginId>
      <OriginalId>sample string 8</OriginalId>
      <Removed>true</Removed>
      <StudentExceptionId>1</StudentExceptionId>
      <StudentId>3</StudentId>
      <StudentName>sample string 4</StudentName>
      <StudentUniqueName>sample string 5</StudentUniqueName>
      <UserId>10</UserId>
    </StudentExceptionPoco>
  </StudentExceptions>
  <UserId>6</UserId>
</ExceptionPoco>