POST CAWS/OlaStaging

Creates a new offline mark entry in the staging table passed in the parameter and then returns it.

Request Information

Parameters

NameDescriptionAdditional information
stagingMark
OfflineStagingMarkPoco that represents the new offline mark entry. Id property should be set to 0.

Define this parameter in the request body.

Request body formats

application/json, text/json

Sample:
{
  "Id": 1,
  "Session": 2,
  "MarkStamp": "2026-01-09T15:27:13.121725+00:00",
  "MarkAbbrev": "sample string 4",
  "MarkingUserId": 5,
  "MarkId": 6,
  "Student": "sample string 7",
  "StudentContext": 8,
  "StudentId": 9,
  "Room": "sample string 10",
  "RoomContext": 11,
  "RoomId": 12,
  "Status": 13,
  "EventId": 14,
  "Week": 15,
  "Uploaded": "2026-01-09T15:27:13.121725+00:00",
  "Processed": 17
}

application/xml, text/xml

Sample:
<OfflineStagingMarkPoco xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Celcat.Models">
  <EventId>14</EventId>
  <Id>1</Id>
  <MarkAbbrev>sample string 4</MarkAbbrev>
  <MarkId>6</MarkId>
  <MarkStamp>2026-01-09T15:27:13.121725+00:00</MarkStamp>
  <MarkingUserId>5</MarkingUserId>
  <Processed>17</Processed>
  <Room>sample string 10</Room>
  <RoomContext>11</RoomContext>
  <RoomId>12</RoomId>
  <Session>2</Session>
  <Status>13</Status>
  <Student>sample string 7</Student>
  <StudentContext>8</StudentContext>
  <StudentId>9</StudentId>
  <Uploaded>2026-01-09T15:27:13.121725+00:00</Uploaded>
  <Week>15</Week>
</OfflineStagingMarkPoco>