POST api/Course/InsertOrUpdateUserFavorites

Request Information

URI Parameters

None.

Body Parameters

UserFavorites
NameDescriptionTypeAdditional information
UserFavoriteID

integer

None.

UserNTID

string

None.

CourseID

integer

None.

AddedOn

integer

None.

AddRemove

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "UserFavoriteID": 1,
  "UserNTID": "sample string 2",
  "CourseID": 3,
  "AddedOn": 4,
  "AddRemove": 5
}

text/html

Sample:
{"UserFavoriteID":1,"UserNTID":"sample string 2","CourseID":3,"AddedOn":4,"AddRemove":5}

application/xml, text/xml

Sample:
<UserFavorites xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TammaBusinessObjects">
  <AddRemove>5</AddRemove>
  <AddedOn>4</AddedOn>
  <CourseID>3</CourseID>
  <UserFavoriteID>1</UserFavoriteID>
  <UserNTID>sample string 2</UserNTID>
</UserFavorites>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

string

Response Formats

application/json, text/json, text/html

Sample:
"sample string 1"

application/xml, text/xml

Sample:
<string xmlns="http://schemas.microsoft.com/2003/10/Serialization/">sample string 1</string>