POST api/TSP/Course/{tspCourseId}/Workflow

Request Information

URI Parameters

NameDescriptionTypeAdditional information
tspCourseId

string

None.

Body Parameters

TSPCourseWorkflowUpdateViewModel
NameDescriptionTypeAdditional information
TSPCourseId

globally unique identifier

None.

Status

string

None.

Request Formats

application/json, text/json

Sample:
{
  "TSPCourseId": "04a58a15-8da3-4c29-88f6-edaa07d670df",
  "Status": "sample string 2"
}

application/xml, text/xml

Sample:
<TSPCourseWorkflowUpdateViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/iP.Products.MySDS.WebAPI.Areas.TSP.ViewModels">
  <Status>sample string 2</Status>
  <TSPCourseId>04a58a15-8da3-4c29-88f6-edaa07d670df</TSPCourseId>
</TSPCourseWorkflowUpdateViewModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

multipart/form-data

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

04a58a15-8da3-4c29-88f6-edaa07d670df
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="Status"

sample string 2
--MultipartDataMediaFormatterBoundary1q2w3e--

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.