POST api/TSP/Training/{tspTrainingId}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
tspTrainingId

string

None.

Body Parameters

TSPTrainingCreateUpdateViewModel
NameDescriptionTypeAdditional information
Id

globally unique identifier

None.

TSPInformationId

globally unique identifier

None.

CourseCategoryId

globally unique identifier

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": "aba827bf-2790-470d-8fb3-969aa4bf54d9",
  "TSPInformationId": "57cd8120-0f34-4b45-a9c4-93d66adb97ea",
  "CourseCategoryId": "6ee798f3-de1e-4db4-8e60-b7f8e3c5c134"
}

application/xml, text/xml

Sample:
<TSPTrainingCreateUpdateViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/iP.Products.MySDS.WebAPI.Areas.TSP.ViewModels">
  <CourseCategoryId>6ee798f3-de1e-4db4-8e60-b7f8e3c5c134</CourseCategoryId>
  <Id>aba827bf-2790-470d-8fb3-969aa4bf54d9</Id>
  <TSPInformationId>57cd8120-0f34-4b45-a9c4-93d66adb97ea</TSPInformationId>
</TSPTrainingCreateUpdateViewModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

multipart/form-data

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

aba827bf-2790-470d-8fb3-969aa4bf54d9
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="TSPInformationId"

57cd8120-0f34-4b45-a9c4-93d66adb97ea
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="CourseCategoryId"

6ee798f3-de1e-4db4-8e60-b7f8e3c5c134
--MultipartDataMediaFormatterBoundary1q2w3e--

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.