POST api/Course/RequestCourseCopy
Request Information
URI Parameters
None.
Body Parameters
RequestCourseCopy| Name | Description | Type | Additional information |
|---|---|---|---|
| OcpId | string |
None. |
|
| NewCourseName | string |
None. |
|
| StartDate | date |
None. |
|
| EmailBody | string |
None. |
|
| CopyCount | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"OcpId": "sample string 1",
"NewCourseName": "sample string 2",
"StartDate": "2026-02-03T21:42:29.0693394-05:00",
"EmailBody": "sample string 4",
"CopyCount": 5
}
application/xml, text/xml
Sample:
<RequestCourseCopy xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/A2.Jbl.Api.Models"> <CopyCount>5</CopyCount> <EmailBody>sample string 4</EmailBody> <NewCourseName>sample string 2</NewCourseName> <OcpId>sample string 1</OcpId> <StartDate>2026-02-03T21:42:29.0693394-05:00</StartDate> </RequestCourseCopy>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
ResultOfBoolean| Name | Description | Type | Additional information |
|---|---|---|---|
| Error | boolean |
None. |
|
| Ok | boolean |
None. |
|
| Errors | Collection of Error |
None. |
|
| Data | boolean |
None. |
Response Formats
application/json, text/json
Sample:
{
"Error": false,
"Ok": true,
"Errors": [
{
"Id": "sample string 1",
"Entity": "sample string 2",
"Message": "sample string 3"
},
{
"Id": "sample string 1",
"Entity": "sample string 2",
"Message": "sample string 3"
}
],
"Data": true
}
application/xml, text/xml
Sample:
<ResultOfboolean xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/A2.Jbl.Api.Models">
<Data>true</Data>
<Error>false</Error>
<Errors>
<Error>
<Entity>sample string 2</Entity>
<Id>sample string 1</Id>
<Message>sample string 3</Message>
</Error>
<Error>
<Entity>sample string 2</Entity>
<Id>sample string 1</Id>
<Message>sample string 3</Message>
</Error>
</Errors>
<Ok>true</Ok>
</ResultOfboolean>