PUT universities/university?id={id}

Request Information

URI Parameters

Name Description Type Additional information
id

integer (Int32)

Required

Body Parameters

languageModel
Name Description Type Additional information
id

integer (Int32)

None.

name

string

Required

Max length: 64

isActive

boolean

Required

createdInfo

string

None.

updatedInfo

string

None.

Request Formats

application/json, text/json

Sample:
{
  "id": 1,
  "name": "sample string 2",
  "isActive": true,
  "createdInfo": "sample string 4",
  "updatedInfo": "sample string 5"
}

application/xml, text/xml

Sample:
<languageModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/api.Models">
  <createdInfo>sample string 4</createdInfo>
  <id>1</id>
  <isActive>true</isActive>
  <name>sample string 2</name>
  <updatedInfo>sample string 5</updatedInfo>
</languageModel>

multipart/form-data

Sample:
<languageModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/api.Models"><createdInfo>sample string 4</createdInfo><id>1</id><isActive>true</isActive><name>sample string 2</name><updatedInfo>sample string 5</updatedInfo></languageModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

None.