PUT api/Activity/WordQuest

Sets the activity status, at the end of an activity it can be set as complete or incomplete. Saves a session count for each student if a student already has a session for the days activities then no session will be updated.

Request Information

URI Parameters

None.

Body Parameters

The input.

ActivityStatusInputModel
NameDescriptionTypeAdditional information
TeamId

integer

Required

Complete

boolean

Required

LastIndex

integer

None.

MasteryPoints

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "TeamId": 1,
  "Complete": true,
  "LastIndex": 1,
  "MasteryPoints": 1
}

application/xml, text/xml

Sample:
<ActivityStatusInputModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/LS_API.Models.WordModels.InputModels">
  <Complete>true</Complete>
  <LastIndex>1</LastIndex>
  <MasteryPoints>1</MasteryPoints>
  <TeamId>1</TeamId>
</ActivityStatusInputModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.