POST api/College/Amenities/Update?CollegeId={CollegeId}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
CollegeId

integer

Required

Body Parameters

Collection of UpdateAmenitiesModel
NameDescriptionTypeAdditional information
AmenityId

integer

None.

IsEnabled

boolean

None.

Value

string

None.

Request Formats

application/json, text/json

Sample:
[
  {
    "AmenityId": 1,
    "IsEnabled": true,
    "Value": "sample string 3"
  },
  {
    "AmenityId": 1,
    "IsEnabled": true,
    "Value": "sample string 3"
  }
]

application/xml, text/xml

Sample:
<ArrayOfUpdateAmenitiesModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CareerKinApi.Models">
  <UpdateAmenitiesModel>
    <AmenityId>1</AmenityId>
    <IsEnabled>true</IsEnabled>
    <Value>sample string 3</Value>
  </UpdateAmenitiesModel>
  <UpdateAmenitiesModel>
    <AmenityId>1</AmenityId>
    <IsEnabled>true</IsEnabled>
    <Value>sample string 3</Value>
  </UpdateAmenitiesModel>
</ArrayOfUpdateAmenitiesModel>

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.