PUT CAWS/Registers/{id}
Saves modification to the register object passed in the parameter and then returns it.
Request Information
Parameters
| Name | Description | Additional information |
|---|---|---|
| id | String value of the register id. Last two digits represent week number, preceeding ones represent event_id. |
Define this parameter in the request URI. |
| regPoco | RegisterPoco that represents updated register. EventId and Week properties should match the value passed in the id parameter. |
Define this parameter in the request body. |
Request body formats
application/json, text/json
Sample:
{
"ActivityId": 1,
"EventId": 2,
"Week": 3,
"RegisterNotes": "sample string 4",
"EventNotes": "sample string 5",
"StaffId": 1,
"StaffPresent": true,
"Modified": true,
"Closed": true,
"CloseOnSave": 0,
"StudentMarks": [
{
"ActivityId": 1,
"StudentId": 2,
"MarkId": 3,
"MinsLate": 4,
"Comments": "sample string 5",
"Source": 0,
"UserId": 6,
"DateChange": "2026-01-09T15:23:32.145872+00:00",
"Modified": true,
"NotificationId": 9,
"NotificationMessage": "sample string 10",
"NotificationSent": "sample string 11",
"NotificationModified": true,
"TimesInOut": [
{
"AttendTimeId": 1,
"ActivityId": 2,
"StudentId": 3,
"InTime": "2026-01-09T15:23:32.145872+00:00",
"OutTime": "2026-01-09T15:23:32.145872+00:00",
"Modified": true
},
{
"AttendTimeId": 1,
"ActivityId": 2,
"StudentId": 3,
"InTime": "2026-01-09T15:23:32.145872+00:00",
"OutTime": "2026-01-09T15:23:32.145872+00:00",
"Modified": true
},
{
"AttendTimeId": 1,
"ActivityId": 2,
"StudentId": 3,
"InTime": "2026-01-09T15:23:32.145872+00:00",
"OutTime": "2026-01-09T15:23:32.145872+00:00",
"Modified": true
}
]
},
{
"ActivityId": 1,
"StudentId": 2,
"MarkId": 3,
"MinsLate": 4,
"Comments": "sample string 5",
"Source": 0,
"UserId": 6,
"DateChange": "2026-01-09T15:23:32.145872+00:00",
"Modified": true,
"NotificationId": 9,
"NotificationMessage": "sample string 10",
"NotificationSent": "sample string 11",
"NotificationModified": true,
"TimesInOut": [
{
"AttendTimeId": 1,
"ActivityId": 2,
"StudentId": 3,
"InTime": "2026-01-09T15:23:32.145872+00:00",
"OutTime": "2026-01-09T15:23:32.145872+00:00",
"Modified": true
},
{
"AttendTimeId": 1,
"ActivityId": 2,
"StudentId": 3,
"InTime": "2026-01-09T15:23:32.145872+00:00",
"OutTime": "2026-01-09T15:23:32.145872+00:00",
"Modified": true
},
{
"AttendTimeId": 1,
"ActivityId": 2,
"StudentId": 3,
"InTime": "2026-01-09T15:23:32.145872+00:00",
"OutTime": "2026-01-09T15:23:32.145872+00:00",
"Modified": true
}
]
},
{
"ActivityId": 1,
"StudentId": 2,
"MarkId": 3,
"MinsLate": 4,
"Comments": "sample string 5",
"Source": 0,
"UserId": 6,
"DateChange": "2026-01-09T15:23:32.145872+00:00",
"Modified": true,
"NotificationId": 9,
"NotificationMessage": "sample string 10",
"NotificationSent": "sample string 11",
"NotificationModified": true,
"TimesInOut": [
{
"AttendTimeId": 1,
"ActivityId": 2,
"StudentId": 3,
"InTime": "2026-01-09T15:23:32.145872+00:00",
"OutTime": "2026-01-09T15:23:32.145872+00:00",
"Modified": true
},
{
"AttendTimeId": 1,
"ActivityId": 2,
"StudentId": 3,
"InTime": "2026-01-09T15:23:32.145872+00:00",
"OutTime": "2026-01-09T15:23:32.145872+00:00",
"Modified": true
},
{
"AttendTimeId": 1,
"ActivityId": 2,
"StudentId": 3,
"InTime": "2026-01-09T15:23:32.145872+00:00",
"OutTime": "2026-01-09T15:23:32.145872+00:00",
"Modified": true
}
]
}
]
}
application/xml, text/xml
Sample:
<RegisterPoco xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Celcat.Models">
<ActivityId>1</ActivityId>
<CloseOnSave>CucIfNone</CloseOnSave>
<Closed>true</Closed>
<EventId>2</EventId>
<EventNotes>sample string 5</EventNotes>
<Modified>true</Modified>
<RegisterNotes>sample string 4</RegisterNotes>
<StaffId>1</StaffId>
<StaffPresent>true</StaffPresent>
<StudentMarks>
<RegisterStudentMarkPoco>
<ActivityId>1</ActivityId>
<Comments>sample string 5</Comments>
<DateChange>2026-01-09T15:23:32.145872+00:00</DateChange>
<MarkId>3</MarkId>
<MinsLate>4</MinsLate>
<Modified>true</Modified>
<NotificationId>9</NotificationId>
<NotificationMessage>sample string 10</NotificationMessage>
<NotificationModified>true</NotificationModified>
<NotificationSent>sample string 11</NotificationSent>
<Source>CrmsRegister</Source>
<StudentId>2</StudentId>
<TimesInOut>
<RegisterStudentTimesPoco>
<ActivityId>2</ActivityId>
<AttendTimeId>1</AttendTimeId>
<InTime>2026-01-09T15:23:32.145872+00:00</InTime>
<Modified>true</Modified>
<OutTime>2026-01-09T15:23:32.145872+00:00</OutTime>
<StudentId>3</StudentId>
</RegisterStudentTimesPoco>
<RegisterStudentTimesPoco>
<ActivityId>2</ActivityId>
<AttendTimeId>1</AttendTimeId>
<InTime>2026-01-09T15:23:32.145872+00:00</InTime>
<Modified>true</Modified>
<OutTime>2026-01-09T15:23:32.145872+00:00</OutTime>
<StudentId>3</StudentId>
</RegisterStudentTimesPoco>
<RegisterStudentTimesPoco>
<ActivityId>2</ActivityId>
<AttendTimeId>1</AttendTimeId>
<InTime>2026-01-09T15:23:32.145872+00:00</InTime>
<Modified>true</Modified>
<OutTime>2026-01-09T15:23:32.145872+00:00</OutTime>
<StudentId>3</StudentId>
</RegisterStudentTimesPoco>
</TimesInOut>
<UserId>6</UserId>
</RegisterStudentMarkPoco>
<RegisterStudentMarkPoco>
<ActivityId>1</ActivityId>
<Comments>sample string 5</Comments>
<DateChange>2026-01-09T15:23:32.145872+00:00</DateChange>
<MarkId>3</MarkId>
<MinsLate>4</MinsLate>
<Modified>true</Modified>
<NotificationId>9</NotificationId>
<NotificationMessage>sample string 10</NotificationMessage>
<NotificationModified>true</NotificationModified>
<NotificationSent>sample string 11</NotificationSent>
<Source>CrmsRegister</Source>
<StudentId>2</StudentId>
<TimesInOut>
<RegisterStudentTimesPoco>
<ActivityId>2</ActivityId>
<AttendTimeId>1</AttendTimeId>
<InTime>2026-01-09T15:23:32.145872+00:00</InTime>
<Modified>true</Modified>
<OutTime>2026-01-09T15:23:32.145872+00:00</OutTime>
<StudentId>3</StudentId>
</RegisterStudentTimesPoco>
<RegisterStudentTimesPoco>
<ActivityId>2</ActivityId>
<AttendTimeId>1</AttendTimeId>
<InTime>2026-01-09T15:23:32.145872+00:00</InTime>
<Modified>true</Modified>
<OutTime>2026-01-09T15:23:32.145872+00:00</OutTime>
<StudentId>3</StudentId>
</RegisterStudentTimesPoco>
<RegisterStudentTimesPoco>
<ActivityId>2</ActivityId>
<AttendTimeId>1</AttendTimeId>
<InTime>2026-01-09T15:23:32.145872+00:00</InTime>
<Modified>true</Modified>
<OutTime>2026-01-09T15:23:32.145872+00:00</OutTime>
<StudentId>3</StudentId>
</RegisterStudentTimesPoco>
</TimesInOut>
<UserId>6</UserId>
</RegisterStudentMarkPoco>
<RegisterStudentMarkPoco>
<ActivityId>1</ActivityId>
<Comments>sample string 5</Comments>
<DateChange>2026-01-09T15:23:32.145872+00:00</DateChange>
<MarkId>3</MarkId>
<MinsLate>4</MinsLate>
<Modified>true</Modified>
<NotificationId>9</NotificationId>
<NotificationMessage>sample string 10</NotificationMessage>
<NotificationModified>true</NotificationModified>
<NotificationSent>sample string 11</NotificationSent>
<Source>CrmsRegister</Source>
<StudentId>2</StudentId>
<TimesInOut>
<RegisterStudentTimesPoco>
<ActivityId>2</ActivityId>
<AttendTimeId>1</AttendTimeId>
<InTime>2026-01-09T15:23:32.145872+00:00</InTime>
<Modified>true</Modified>
<OutTime>2026-01-09T15:23:32.145872+00:00</OutTime>
<StudentId>3</StudentId>
</RegisterStudentTimesPoco>
<RegisterStudentTimesPoco>
<ActivityId>2</ActivityId>
<AttendTimeId>1</AttendTimeId>
<InTime>2026-01-09T15:23:32.145872+00:00</InTime>
<Modified>true</Modified>
<OutTime>2026-01-09T15:23:32.145872+00:00</OutTime>
<StudentId>3</StudentId>
</RegisterStudentTimesPoco>
<RegisterStudentTimesPoco>
<ActivityId>2</ActivityId>
<AttendTimeId>1</AttendTimeId>
<InTime>2026-01-09T15:23:32.145872+00:00</InTime>
<Modified>true</Modified>
<OutTime>2026-01-09T15:23:32.145872+00:00</OutTime>
<StudentId>3</StudentId>
</RegisterStudentTimesPoco>
</TimesInOut>
<UserId>6</UserId>
</RegisterStudentMarkPoco>
</StudentMarks>
<Week>3</Week>
</RegisterPoco>
Response Information
RegisterPoco object representing an updated register.
Response body formats
application/json, text/json
Sample:
{
"ActivityId": 1,
"EventId": 2,
"Week": 3,
"RegisterNotes": "sample string 4",
"EventNotes": "sample string 5",
"StaffId": 1,
"StaffPresent": true,
"Modified": true,
"Closed": true,
"CloseOnSave": 0,
"StudentMarks": [
{
"ActivityId": 1,
"StudentId": 2,
"MarkId": 3,
"MinsLate": 4,
"Comments": "sample string 5",
"Source": 0,
"UserId": 6,
"DateChange": "2026-01-09T15:23:32.145872+00:00",
"Modified": true,
"NotificationId": 9,
"NotificationMessage": "sample string 10",
"NotificationSent": "sample string 11",
"NotificationModified": true,
"TimesInOut": [
{
"AttendTimeId": 1,
"ActivityId": 2,
"StudentId": 3,
"InTime": "2026-01-09T15:23:32.145872+00:00",
"OutTime": "2026-01-09T15:23:32.145872+00:00",
"Modified": true
},
{
"AttendTimeId": 1,
"ActivityId": 2,
"StudentId": 3,
"InTime": "2026-01-09T15:23:32.145872+00:00",
"OutTime": "2026-01-09T15:23:32.145872+00:00",
"Modified": true
},
{
"AttendTimeId": 1,
"ActivityId": 2,
"StudentId": 3,
"InTime": "2026-01-09T15:23:32.145872+00:00",
"OutTime": "2026-01-09T15:23:32.145872+00:00",
"Modified": true
}
]
},
{
"ActivityId": 1,
"StudentId": 2,
"MarkId": 3,
"MinsLate": 4,
"Comments": "sample string 5",
"Source": 0,
"UserId": 6,
"DateChange": "2026-01-09T15:23:32.145872+00:00",
"Modified": true,
"NotificationId": 9,
"NotificationMessage": "sample string 10",
"NotificationSent": "sample string 11",
"NotificationModified": true,
"TimesInOut": [
{
"AttendTimeId": 1,
"ActivityId": 2,
"StudentId": 3,
"InTime": "2026-01-09T15:23:32.145872+00:00",
"OutTime": "2026-01-09T15:23:32.145872+00:00",
"Modified": true
},
{
"AttendTimeId": 1,
"ActivityId": 2,
"StudentId": 3,
"InTime": "2026-01-09T15:23:32.145872+00:00",
"OutTime": "2026-01-09T15:23:32.145872+00:00",
"Modified": true
},
{
"AttendTimeId": 1,
"ActivityId": 2,
"StudentId": 3,
"InTime": "2026-01-09T15:23:32.145872+00:00",
"OutTime": "2026-01-09T15:23:32.145872+00:00",
"Modified": true
}
]
},
{
"ActivityId": 1,
"StudentId": 2,
"MarkId": 3,
"MinsLate": 4,
"Comments": "sample string 5",
"Source": 0,
"UserId": 6,
"DateChange": "2026-01-09T15:23:32.145872+00:00",
"Modified": true,
"NotificationId": 9,
"NotificationMessage": "sample string 10",
"NotificationSent": "sample string 11",
"NotificationModified": true,
"TimesInOut": [
{
"AttendTimeId": 1,
"ActivityId": 2,
"StudentId": 3,
"InTime": "2026-01-09T15:23:32.145872+00:00",
"OutTime": "2026-01-09T15:23:32.145872+00:00",
"Modified": true
},
{
"AttendTimeId": 1,
"ActivityId": 2,
"StudentId": 3,
"InTime": "2026-01-09T15:23:32.145872+00:00",
"OutTime": "2026-01-09T15:23:32.145872+00:00",
"Modified": true
},
{
"AttendTimeId": 1,
"ActivityId": 2,
"StudentId": 3,
"InTime": "2026-01-09T15:23:32.145872+00:00",
"OutTime": "2026-01-09T15:23:32.145872+00:00",
"Modified": true
}
]
}
]
}
application/xml, text/xml
Sample:
<RegisterPoco xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Celcat.Models">
<ActivityId>1</ActivityId>
<CloseOnSave>CucIfNone</CloseOnSave>
<Closed>true</Closed>
<EventId>2</EventId>
<EventNotes>sample string 5</EventNotes>
<Modified>true</Modified>
<RegisterNotes>sample string 4</RegisterNotes>
<StaffId>1</StaffId>
<StaffPresent>true</StaffPresent>
<StudentMarks>
<RegisterStudentMarkPoco>
<ActivityId>1</ActivityId>
<Comments>sample string 5</Comments>
<DateChange>2026-01-09T15:23:32.145872+00:00</DateChange>
<MarkId>3</MarkId>
<MinsLate>4</MinsLate>
<Modified>true</Modified>
<NotificationId>9</NotificationId>
<NotificationMessage>sample string 10</NotificationMessage>
<NotificationModified>true</NotificationModified>
<NotificationSent>sample string 11</NotificationSent>
<Source>CrmsRegister</Source>
<StudentId>2</StudentId>
<TimesInOut>
<RegisterStudentTimesPoco>
<ActivityId>2</ActivityId>
<AttendTimeId>1</AttendTimeId>
<InTime>2026-01-09T15:23:32.145872+00:00</InTime>
<Modified>true</Modified>
<OutTime>2026-01-09T15:23:32.145872+00:00</OutTime>
<StudentId>3</StudentId>
</RegisterStudentTimesPoco>
<RegisterStudentTimesPoco>
<ActivityId>2</ActivityId>
<AttendTimeId>1</AttendTimeId>
<InTime>2026-01-09T15:23:32.145872+00:00</InTime>
<Modified>true</Modified>
<OutTime>2026-01-09T15:23:32.145872+00:00</OutTime>
<StudentId>3</StudentId>
</RegisterStudentTimesPoco>
<RegisterStudentTimesPoco>
<ActivityId>2</ActivityId>
<AttendTimeId>1</AttendTimeId>
<InTime>2026-01-09T15:23:32.145872+00:00</InTime>
<Modified>true</Modified>
<OutTime>2026-01-09T15:23:32.145872+00:00</OutTime>
<StudentId>3</StudentId>
</RegisterStudentTimesPoco>
</TimesInOut>
<UserId>6</UserId>
</RegisterStudentMarkPoco>
<RegisterStudentMarkPoco>
<ActivityId>1</ActivityId>
<Comments>sample string 5</Comments>
<DateChange>2026-01-09T15:23:32.145872+00:00</DateChange>
<MarkId>3</MarkId>
<MinsLate>4</MinsLate>
<Modified>true</Modified>
<NotificationId>9</NotificationId>
<NotificationMessage>sample string 10</NotificationMessage>
<NotificationModified>true</NotificationModified>
<NotificationSent>sample string 11</NotificationSent>
<Source>CrmsRegister</Source>
<StudentId>2</StudentId>
<TimesInOut>
<RegisterStudentTimesPoco>
<ActivityId>2</ActivityId>
<AttendTimeId>1</AttendTimeId>
<InTime>2026-01-09T15:23:32.145872+00:00</InTime>
<Modified>true</Modified>
<OutTime>2026-01-09T15:23:32.145872+00:00</OutTime>
<StudentId>3</StudentId>
</RegisterStudentTimesPoco>
<RegisterStudentTimesPoco>
<ActivityId>2</ActivityId>
<AttendTimeId>1</AttendTimeId>
<InTime>2026-01-09T15:23:32.145872+00:00</InTime>
<Modified>true</Modified>
<OutTime>2026-01-09T15:23:32.145872+00:00</OutTime>
<StudentId>3</StudentId>
</RegisterStudentTimesPoco>
<RegisterStudentTimesPoco>
<ActivityId>2</ActivityId>
<AttendTimeId>1</AttendTimeId>
<InTime>2026-01-09T15:23:32.145872+00:00</InTime>
<Modified>true</Modified>
<OutTime>2026-01-09T15:23:32.145872+00:00</OutTime>
<StudentId>3</StudentId>
</RegisterStudentTimesPoco>
</TimesInOut>
<UserId>6</UserId>
</RegisterStudentMarkPoco>
<RegisterStudentMarkPoco>
<ActivityId>1</ActivityId>
<Comments>sample string 5</Comments>
<DateChange>2026-01-09T15:23:32.145872+00:00</DateChange>
<MarkId>3</MarkId>
<MinsLate>4</MinsLate>
<Modified>true</Modified>
<NotificationId>9</NotificationId>
<NotificationMessage>sample string 10</NotificationMessage>
<NotificationModified>true</NotificationModified>
<NotificationSent>sample string 11</NotificationSent>
<Source>CrmsRegister</Source>
<StudentId>2</StudentId>
<TimesInOut>
<RegisterStudentTimesPoco>
<ActivityId>2</ActivityId>
<AttendTimeId>1</AttendTimeId>
<InTime>2026-01-09T15:23:32.145872+00:00</InTime>
<Modified>true</Modified>
<OutTime>2026-01-09T15:23:32.145872+00:00</OutTime>
<StudentId>3</StudentId>
</RegisterStudentTimesPoco>
<RegisterStudentTimesPoco>
<ActivityId>2</ActivityId>
<AttendTimeId>1</AttendTimeId>
<InTime>2026-01-09T15:23:32.145872+00:00</InTime>
<Modified>true</Modified>
<OutTime>2026-01-09T15:23:32.145872+00:00</OutTime>
<StudentId>3</StudentId>
</RegisterStudentTimesPoco>
<RegisterStudentTimesPoco>
<ActivityId>2</ActivityId>
<AttendTimeId>1</AttendTimeId>
<InTime>2026-01-09T15:23:32.145872+00:00</InTime>
<Modified>true</Modified>
<OutTime>2026-01-09T15:23:32.145872+00:00</OutTime>
<StudentId>3</StudentId>
</RegisterStudentTimesPoco>
</TimesInOut>
<UserId>6</UserId>
</RegisterStudentMarkPoco>
</StudentMarks>
<Week>3</Week>
</RegisterPoco>