POST api/TSP/Training/{tspTrainingId}/Workflow
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
tspTrainingId | string |
None. |
Body Parameters
TSPTrainingWorkflowUpdateViewModelName | Description | Type | Additional information |
---|---|---|---|
TSPTrainingId | globally unique identifier |
None. |
|
Status | string |
None. |
|
PreviousStatus | string |
None. |
|
CheckedCourseIds | Collection of globally unique identifier |
None. |
|
Remarks | string |
None. |
Request Formats
application/json, text/json
Sample:
{ "TSPTrainingId": "ce2db759-55ee-4f18-9e89-af47e4db08b9", "Status": "sample string 2", "PreviousStatus": "sample string 3", "CheckedCourseIds": [ "65247e9e-01fe-4cae-bf06-59ec09369275", "89379a7c-fd51-4c5a-8514-61baf96e1eab" ], "Remarks": "sample string 4" }
application/xml, text/xml
Sample:
<TSPTrainingWorkflowUpdateViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/iP.Products.MySDS.WebAPI.Areas.TSP.ViewModels"> <CheckedCourseIds xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d2p1:guid>65247e9e-01fe-4cae-bf06-59ec09369275</d2p1:guid> <d2p1:guid>89379a7c-fd51-4c5a-8514-61baf96e1eab</d2p1:guid> </CheckedCourseIds> <PreviousStatus>sample string 3</PreviousStatus> <Remarks>sample string 4</Remarks> <Status>sample string 2</Status> <TSPTrainingId>ce2db759-55ee-4f18-9e89-af47e4db08b9</TSPTrainingId> </TSPTrainingWorkflowUpdateViewModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
multipart/form-data
Sample:
--MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="TSPTrainingId" ce2db759-55ee-4f18-9e89-af47e4db08b9 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="Status" sample string 2 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="PreviousStatus" sample string 3 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="CheckedCourseIds[0]" 65247e9e-01fe-4cae-bf06-59ec09369275 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="CheckedCourseIds[1]" 89379a7c-fd51-4c5a-8514-61baf96e1eab --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="Remarks" sample string 4 --MultipartDataMediaFormatterBoundary1q2w3e--
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml, multipart/form-data
Sample:
Sample not available.