POST api/{version}/StudyHub2/SubmitCorporateExtensions

Request Information

URI Parameters

NameDescriptionTypeAdditional information
version

string

None.

Body Parameters

ExtensionRequestDto
NameDescriptionTypeAdditional information
StudentEnrollmentId

integer

None.

MonthsToExtend

integer

None.

Price

decimal number

None.

Request Formats

application/json, text/json

Sample:
{
  "StudentEnrollmentId": 1,
  "MonthsToExtend": 2,
  "Price": 3.0
}

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'ExtensionRequestDto'.

Response Information

Resource Description

JsonResultOfResponse
NameDescriptionTypeAdditional information
Content

Response

None.

SerializerSettings

JsonSerializerSettings

None.

Encoding

Encoding

None.

Request

HttpRequestMessage

None.

Response Formats

application/json, text/json

Sample:

Sample not available.