POST api/TSPRegistration/Course/{tspRegistrationCourseId}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
tspRegistrationCourseId

string

None.

Body Parameters

TSPRegistrationCourseCreateUpdateViewModel
NameDescriptionTypeAdditional information
Id

globally unique identifier

None.

CourseId

globally unique identifier

None.

TSPRegistrationTrainingId

globally unique identifier

None.

OtherCourseTitle

string

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": "3d7b44cc-eece-4692-8c18-dd0ab4d6d39c",
  "CourseId": "d0299ce1-c42e-4533-bc18-cdfc2d3c3f47",
  "TSPRegistrationTrainingId": "1b347ab6-37a9-442e-b90a-33317ae0496a",
  "OtherCourseTitle": "sample string 4"
}

application/xml, text/xml

Sample:
<TSPRegistrationCourseCreateUpdateViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/iP.Products.MySDS.WebAPI.Areas.TSP.ViewModels">
  <CourseId>d0299ce1-c42e-4533-bc18-cdfc2d3c3f47</CourseId>
  <Id>3d7b44cc-eece-4692-8c18-dd0ab4d6d39c</Id>
  <OtherCourseTitle>sample string 4</OtherCourseTitle>
  <TSPRegistrationTrainingId>1b347ab6-37a9-442e-b90a-33317ae0496a</TSPRegistrationTrainingId>
</TSPRegistrationCourseCreateUpdateViewModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

multipart/form-data

Sample:
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="Id"

3d7b44cc-eece-4692-8c18-dd0ab4d6d39c
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="CourseId"

d0299ce1-c42e-4533-bc18-cdfc2d3c3f47
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="TSPRegistrationTrainingId"

1b347ab6-37a9-442e-b90a-33317ae0496a
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="OtherCourseTitle"

sample string 4
--MultipartDataMediaFormatterBoundary1q2w3e--

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml, multipart/form-data

Sample:

Sample not available.