GET api/GetTutorEarns?tid={tid}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
tid

integer

Required

Body Parameters

None.

Response Information

Resource Description

Collection of TutorEarnedmodel
NameDescriptionTypeAdditional information
CourseName

string

None.

Amount

string

None.

Count

integer

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "CourseName": "sample string 1",
    "Amount": "sample string 2",
    "Count": 1
  },
  {
    "CourseName": "sample string 1",
    "Amount": "sample string 2",
    "Count": 1
  }
]

application/xml, text/xml

Sample:
<ArrayOfTutorEarnedmodel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/VullamAPIProject.Models">
  <TutorEarnedmodel>
    <Amount>sample string 2</Amount>
    <Count>1</Count>
    <CourseName>sample string 1</CourseName>
  </TutorEarnedmodel>
  <TutorEarnedmodel>
    <Amount>sample string 2</Amount>
    <Count>1</Count>
    <CourseName>sample string 1</CourseName>
  </TutorEarnedmodel>
</ArrayOfTutorEarnedmodel>