POST api/Common/CourseCategory/CreateUpdate
Request Information
URI Parameters
None.
Body Parameters
CourseCategoryViewModelName | Description | Type | Additional information |
---|---|---|---|
Id | globally unique identifier |
None. |
|
Code | string |
None. |
|
Title | string |
None. |
|
ReviewerId | globally unique identifier |
None. |
|
ApproverId | globally unique identifier |
None. |
|
IsActive | boolean |
None. |
Request Formats
application/json, text/json
Sample:
{ "Id": "59b50861-7493-4374-8d98-75937a66e024", "Code": "sample string 2", "Title": "sample string 3", "ReviewerId": "e3fc2a23-3007-4b88-9bd3-974711f10510", "ApproverId": "63d8bbff-2ddb-4d75-b704-60f61aaa7fc2", "IsActive": true }
application/xml, text/xml
Sample:
<CourseCategoryViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/iP.Products.MySDS.WebAPI.Areas.Common"> <ApproverId>63d8bbff-2ddb-4d75-b704-60f61aaa7fc2</ApproverId> <Code>sample string 2</Code> <Id>59b50861-7493-4374-8d98-75937a66e024</Id> <IsActive>true</IsActive> <ReviewerId>e3fc2a23-3007-4b88-9bd3-974711f10510</ReviewerId> <Title>sample string 3</Title> </CourseCategoryViewModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
multipart/form-data
Sample:
--MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="Id" 59b50861-7493-4374-8d98-75937a66e024 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="Code" sample string 2 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="Title" sample string 3 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="ReviewerId" e3fc2a23-3007-4b88-9bd3-974711f10510 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="ApproverId" 63d8bbff-2ddb-4d75-b704-60f61aaa7fc2 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="IsActive" True --MultipartDataMediaFormatterBoundary1q2w3e--
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml, multipart/form-data
Sample:
Sample not available.