POST api/TSPRegistration/Training/{tspRegistrationTrainingId}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
tspRegistrationTrainingId | string |
None. |
Body Parameters
TSPRegistrationTrainingCreateUpdateViewModelName | Description | Type | Additional information |
---|---|---|---|
Id | globally unique identifier |
None. |
|
TSPRegistrationId | globally unique identifier |
None. |
|
CourseCategoryId | globally unique identifier |
None. |
|
PAContractorId | globally unique identifier |
None. |
Request Formats
application/json, text/json
Sample:
{ "Id": "b500c85b-ebf0-4d74-93cc-107d9fa8cfec", "TSPRegistrationId": "33a588a3-0369-415f-b3ae-a1db333244c6", "CourseCategoryId": "164dc223-a1e0-4b52-ab08-0231df6b4bb8", "PAContractorId": "59c3db81-c7d3-4e6a-94c8-a4c4f2465913" }
application/xml, text/xml
Sample:
<TSPRegistrationTrainingCreateUpdateViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/iP.Products.MySDS.WebAPI.Areas.TSP.ViewModels"> <CourseCategoryId>164dc223-a1e0-4b52-ab08-0231df6b4bb8</CourseCategoryId> <Id>b500c85b-ebf0-4d74-93cc-107d9fa8cfec</Id> <PAContractorId>59c3db81-c7d3-4e6a-94c8-a4c4f2465913</PAContractorId> <TSPRegistrationId>33a588a3-0369-415f-b3ae-a1db333244c6</TSPRegistrationId> </TSPRegistrationTrainingCreateUpdateViewModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
multipart/form-data
Sample:
--MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="Id" b500c85b-ebf0-4d74-93cc-107d9fa8cfec --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="TSPRegistrationId" 33a588a3-0369-415f-b3ae-a1db333244c6 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="CourseCategoryId" 164dc223-a1e0-4b52-ab08-0231df6b4bb8 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="PAContractorId" 59c3db81-c7d3-4e6a-94c8-a4c4f2465913 --MultipartDataMediaFormatterBoundary1q2w3e--
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml, multipart/form-data
Sample:
Sample not available.