POST api/TSPRegistration/Training/{tspRegistrationTrainingId}/Workflow
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
tspRegistrationTrainingId | string |
None. |
Body Parameters
TSPRegistrationTrainingWorkflowUpdateViewModelName | Description | Type | Additional information |
---|---|---|---|
TSPRegistrationTrainingId | globally unique identifier |
None. |
|
Status | string |
None. |
|
CheckedCourseIds | Collection of globally unique identifier |
None. |
|
Remarks | string |
None. |
Request Formats
application/json, text/json
Sample:
{ "TSPRegistrationTrainingId": "7952fd70-f976-4d62-9bfa-46deeb08b466", "Status": "sample string 2", "CheckedCourseIds": [ "c8258569-5b71-48c9-9236-e978d61227d6", "a1973a96-2dbd-4df2-b302-1eeb6a736ae5" ], "Remarks": "sample string 3" }
application/xml, text/xml
Sample:
<TSPRegistrationTrainingWorkflowUpdateViewModel 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>c8258569-5b71-48c9-9236-e978d61227d6</d2p1:guid> <d2p1:guid>a1973a96-2dbd-4df2-b302-1eeb6a736ae5</d2p1:guid> </CheckedCourseIds> <Remarks>sample string 3</Remarks> <Status>sample string 2</Status> <TSPRegistrationTrainingId>7952fd70-f976-4d62-9bfa-46deeb08b466</TSPRegistrationTrainingId> </TSPRegistrationTrainingWorkflowUpdateViewModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
multipart/form-data
Sample:
--MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="TSPRegistrationTrainingId" 7952fd70-f976-4d62-9bfa-46deeb08b466 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="Status" sample string 2 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="CheckedCourseIds[0]" c8258569-5b71-48c9-9236-e978d61227d6 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="CheckedCourseIds[1]" a1973a96-2dbd-4df2-b302-1eeb6a736ae5 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="Remarks" sample string 3 --MultipartDataMediaFormatterBoundary1q2w3e--
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml, multipart/form-data
Sample:
Sample not available.