POST api/Admin/addPartnerPractice

Request Information

URI Parameters

None.

Body Parameters

NewPartnerPracticeInputModel
NameDescriptionTypeAdditional information
TeamName

string

None.

Email

string

None.

UserName

string

None.

Password

string

None.

StoryNumber

integer

None.

Students

Collection of PartnerPracticeStudentModel

None.

ClassroomAssignmentId

integer

None.

StaffId

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "TeamName": "sample string 1",
  "Email": "sample string 2",
  "UserName": "sample string 3",
  "Password": "sample string 4",
  "StoryNumber": 5,
  "Students": [
    {
      "FirstName": "sample string 1",
      "LastName": "sample string 2",
      "Grade": 3,
      "StudentId": 4
    },
    {
      "FirstName": "sample string 1",
      "LastName": "sample string 2",
      "Grade": 3,
      "StudentId": 4
    }
  ],
  "ClassroomAssignmentId": 6,
  "StaffId": 7
}

application/xml, text/xml

Sample:
<NewPartnerPracticeInputModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/LS_API.Models.AdministrationModels.input">
  <ClassroomAssignmentId>6</ClassroomAssignmentId>
  <Email>sample string 2</Email>
  <Password>sample string 4</Password>
  <StaffId>7</StaffId>
  <StoryNumber>5</StoryNumber>
  <Students>
    <PartnerPracticeStudentModel>
      <FirstName>sample string 1</FirstName>
      <Grade>3</Grade>
      <LastName>sample string 2</LastName>
      <StudentId>4</StudentId>
    </PartnerPracticeStudentModel>
    <PartnerPracticeStudentModel>
      <FirstName>sample string 1</FirstName>
      <Grade>3</Grade>
      <LastName>sample string 2</LastName>
      <StudentId>4</StudentId>
    </PartnerPracticeStudentModel>
  </Students>
  <TeamName>sample string 1</TeamName>
  <UserName>sample string 3</UserName>
</NewPartnerPracticeInputModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

PpReturnModel
NameDescriptionTypeAdditional information
UserName

string

None.

TeamId

integer

None.

DSId

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "UserName": "sample string 1",
  "TeamId": 2,
  "DSId": 3
}

application/xml, text/xml

Sample:
<AdministrationController.PpReturnModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/LS_API.Controllers">
  <DSId>3</DSId>
  <TeamId>2</TeamId>
  <UserName>sample string 1</UserName>
</AdministrationController.PpReturnModel>