POST api/SecurityLog
Request Information
URI Parameters
None.
Body Parameters
SecurityLog| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | integer |
None. |
|
| BlockReason | string |
None. |
|
| BlockReasonCode | string |
None. |
|
| DeviceName | string |
None. |
|
| StudentId | integer |
None. |
|
| IpAddress | string |
None. |
|
| MacAddress | string |
None. |
|
| CreationDate | date |
None. |
Request Formats
application/json, text/json
Sample:
{
"Id": 1,
"BlockReason": "sample string 2",
"BlockReasonCode": "sample string 3",
"DeviceName": "sample string 4",
"StudentId": 1,
"IpAddress": "sample string 5",
"MacAddress": "sample string 6",
"CreationDate": "2025-12-11T18:53:46.7272077+00:00"
}
application/xml, text/xml
Sample:
<SecurityLog xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DataAccess.Entities"> <BlockReason>sample string 2</BlockReason> <BlockReasonCode>sample string 3</BlockReasonCode> <CreationDate>2025-12-11T18:53:46.7272077+00:00</CreationDate> <DeviceName>sample string 4</DeviceName> <Id>1</Id> <IpAddress>sample string 5</IpAddress> <MacAddress>sample string 6</MacAddress> <StudentId>1</StudentId> </SecurityLog>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
HttpResponseMessage| Name | Description | Type | Additional information |
|---|---|---|---|
| Version | Version |
None. |
|
| Content | HttpContent |
None. |
|
| StatusCode | HttpStatusCode |
None. |
|
| ReasonPhrase | string |
None. |
|
| Headers | Collection of Object |
None. |
|
| RequestMessage | HttpRequestMessage |
None. |
|
| IsSuccessStatusCode | boolean |
None. |