POST api/College/Update

Request Information

URI Parameters

None.

Body Parameters

UpdateCollegeModel
NameDescriptionTypeAdditional information
CollegeId

integer

None.

CollegeCategoryId

integer

None.

YearEstablished

integer

None.

UniversityId

integer

None.

AffiliationCode

string

None.

Phone

string

None.

AlternateEmail

string

None.

WebSite

string

None.

Link

string

None.

Highlights

string

None.

Description

string

None.

IsSheetAvailable

boolean

None.

Address

string

None.

Request Formats

application/json, text/json

Sample:
{
  "CollegeId": 1,
  "CollegeCategoryId": 2,
  "YearEstablished": 3,
  "UniversityId": 4,
  "AffiliationCode": "sample string 5",
  "Phone": "sample string 6",
  "AlternateEmail": "sample string 7",
  "WebSite": "sample string 8",
  "Link": "sample string 9",
  "Highlights": "sample string 10",
  "Description": "sample string 11",
  "IsSheetAvailable": true,
  "Address": "sample string 13"
}

application/xml, text/xml

Sample:
<UpdateCollegeModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CareerKinApi.Models">
  <Address>sample string 13</Address>
  <AffiliationCode>sample string 5</AffiliationCode>
  <AlternateEmail>sample string 7</AlternateEmail>
  <CollegeCategoryId>2</CollegeCategoryId>
  <CollegeId>1</CollegeId>
  <Description>sample string 11</Description>
  <Highlights>sample string 10</Highlights>
  <IsSheetAvailable>true</IsSheetAvailable>
  <Link>sample string 9</Link>
  <Phone>sample string 6</Phone>
  <UniversityId>4</UniversityId>
  <WebSite>sample string 8</WebSite>
  <YearEstablished>3</YearEstablished>
</UpdateCollegeModel>

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.