POST api/StudentMarketings/PostStudentMarketing

Post many to many studentmarketing

Request Information

URI Parameters

None.

Body Parameters

BO.Models.StudentMarketing
NameDescriptionTypeAdditional information
StudentMarketingId

integer

None.

MarketingId

integer

Required

StudentId

integer

Required

MarketingComment

string

None.

Request Formats

application/json, text/json

Sample:
{
  "StudentMarketingId": 1,
  "MarketingId": 2,
  "StudentId": 3,
  "MarketingComment": "sample string 4"
}

application/xml, text/xml

Sample:
<StudentMarketing xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BO.Models">
  <MarketingComment>sample string 4</MarketingComment>
  <MarketingId>2</MarketingId>
  <StudentId>3</StudentId>
  <StudentMarketingId>1</StudentMarketingId>
</StudentMarketing>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

StudentMarketing

BO.Models.StudentMarketing
NameDescriptionTypeAdditional information
StudentMarketingId

integer

None.

MarketingId

integer

Required

StudentId

integer

Required

MarketingComment

string

None.

Response Formats

application/json, text/json

Sample:
{
  "StudentMarketingId": 1,
  "MarketingId": 2,
  "StudentId": 3,
  "MarketingComment": "sample string 4"
}

application/xml, text/xml

Sample:
<StudentMarketing xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BO.Models">
  <MarketingComment>sample string 4</MarketingComment>
  <MarketingId>2</MarketingId>
  <StudentId>3</StudentId>
  <StudentMarketingId>1</StudentMarketingId>
</StudentMarketing>