POST api/Logs/SaveActivityLog

Request Information

URI Parameters

None.

Body Parameters

ActivityLogRequest
NameDescriptionTypeAdditional information
ActivityName

string

None.

ActivityDisplayName

string

None.

DeviceId

string

None.

MobileNumber

string

None.

ClassSectionInstituteYearId

string

None.

StudentId

string

None.

Request Formats

application/json, text/json

Sample:
{
  "ActivityName": "sample string 1",
  "ActivityDisplayName": "sample string 2",
  "DeviceId": "sample string 3",
  "MobileNumber": "sample string 4",
  "ClassSectionInstituteYearId": "sample string 5",
  "StudentId": "sample string 6"
}

text/html

Sample:
{"ActivityName":"sample string 1","ActivityDisplayName":"sample string 2","DeviceId":"sample string 3","MobileNumber":"sample string 4","ClassSectionInstituteYearId":"sample string 5","StudentId":"sample string 6"}

application/xml, text/xml

Sample:
<ActivityLogRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SmartInstituteSoftware.Models">
  <ActivityDisplayName>sample string 2</ActivityDisplayName>
  <ActivityName>sample string 1</ActivityName>
  <ClassSectionInstituteYearId>sample string 5</ClassSectionInstituteYearId>
  <DeviceId>sample string 3</DeviceId>
  <MobileNumber>sample string 4</MobileNumber>
  <StudentId>sample string 6</StudentId>
</ActivityLogRequest>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

ActivityLogResponse
NameDescriptionTypeAdditional information
Message

string

None.

ResultFlag

string

None.

Response Formats

application/json, text/json

Sample:
{
  "Message": "sample string 1",
  "ResultFlag": "sample string 2"
}

text/html

Sample:
{"Message":"sample string 1","ResultFlag":"sample string 2"}

application/xml, text/xml

Sample:
<ActivityLogResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SmartInstituteSoftware.Models">
  <Message>sample string 1</Message>
  <ResultFlag>sample string 2</ResultFlag>
</ActivityLogResponse>