POST UnitsandContentsInsertorUpdateFor101/{courseUniqueId}
insert or update Units and contents for 101 courses
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
courseUniqueId |
Required |
Body Parameters
Name | Description | Type | Additional information |
---|---|---|---|
UnitName |
None. |
||
Topics |
None. |
Request Formats
application/json, text/json
Sample:
[ { "UnitName": "sample string 1", "Topics": [ { "TopicName": "sample string 1", "SourceLink": "sample string 2", "VideoType": "sample string 3", "DurationHour": 4, "DurationMins": 5, "DurationSeconds": 6 }, { "TopicName": "sample string 1", "SourceLink": "sample string 2", "VideoType": "sample string 3", "DurationHour": 4, "DurationMins": 5, "DurationSeconds": 6 } ] }, { "UnitName": "sample string 1", "Topics": [ { "TopicName": "sample string 1", "SourceLink": "sample string 2", "VideoType": "sample string 3", "DurationHour": 4, "DurationMins": 5, "DurationSeconds": 6 }, { "TopicName": "sample string 1", "SourceLink": "sample string 2", "VideoType": "sample string 3", "DurationHour": 4, "DurationMins": 5, "DurationSeconds": 6 } ] } ]
application/xml, text/xml
Sample:
<ArrayOfUnit101 xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SkillPortal.Data.Models"> <Unit101> <Topics> <Topic101> <DurationHour>4</DurationHour> <DurationMins>5</DurationMins> <DurationSeconds>6</DurationSeconds> <SourceLink>sample string 2</SourceLink> <TopicName>sample string 1</TopicName> <VideoType>sample string 3</VideoType> </Topic101> <Topic101> <DurationHour>4</DurationHour> <DurationMins>5</DurationMins> <DurationSeconds>6</DurationSeconds> <SourceLink>sample string 2</SourceLink> <TopicName>sample string 1</TopicName> <VideoType>sample string 3</VideoType> </Topic101> </Topics> <UnitName>sample string 1</UnitName> </Unit101> <Unit101> <Topics> <Topic101> <DurationHour>4</DurationHour> <DurationMins>5</DurationMins> <DurationSeconds>6</DurationSeconds> <SourceLink>sample string 2</SourceLink> <TopicName>sample string 1</TopicName> <VideoType>sample string 3</VideoType> </Topic101> <Topic101> <DurationHour>4</DurationHour> <DurationMins>5</DurationMins> <DurationSeconds>6</DurationSeconds> <SourceLink>sample string 2</SourceLink> <TopicName>sample string 1</TopicName> <VideoType>sample string 3</VideoType> </Topic101> </Topics> <UnitName>sample string 1</UnitName> </Unit101> </ArrayOfUnit101>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
Name | Description | Type | Additional information |
---|---|---|---|
Version |
None. |
||
Content |
None. |
||
StatusCode |
None. |
||
ReasonPhrase |
None. |
||
Headers |
None. |
||
RequestMessage |
None. |
||
IsSuccessStatusCode |
None. |