POST api/LessonPlan/Add
Request Information
URI Parameters
None.
Body Parameters
LessonPlanDetails| Name | Description | Type | Additional information |
|---|---|---|---|
| LessonPlanId | integer |
None. |
|
| LessonPlanContent | string |
None. |
|
| LessonPlanName | string |
None. |
|
| Days | string |
None. |
|
| ContentArea | string |
None. |
|
| CourseName | string |
None. |
|
| CurriculumId | string |
None. |
|
| UserId | string |
None. |
|
| Teachername | string |
None. |
|
| PrivateLessonPlan | boolean |
None. |
|
| PlanType | string |
None. |
|
| Originator | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"LessonPlanId": 1,
"LessonPlanContent": "sample string 2",
"LessonPlanName": "sample string 3",
"Days": "sample string 4",
"ContentArea": "sample string 5",
"CourseName": "sample string 6",
"CurriculumId": "sample string 7",
"UserId": "sample string 8",
"Teachername": "sample string 9",
"PrivateLessonPlan": true,
"PlanType": "sample string 11",
"Originator": "sample string 12"
}
application/xml, text/xml
Sample:
<LessonPlanDetails xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CurriculumCrafter.Domain"> <ContentArea>sample string 5</ContentArea> <CourseName>sample string 6</CourseName> <CurriculumId>sample string 7</CurriculumId> <Days>sample string 4</Days> <LessonPlanContent>sample string 2</LessonPlanContent> <LessonPlanId>1</LessonPlanId> <LessonPlanName>sample string 3</LessonPlanName> <Originator>sample string 12</Originator> <PlanType>sample string 11</PlanType> <PrivateLessonPlan>true</PrivateLessonPlan> <Teachername>sample string 9</Teachername> <UserId>sample string 8</UserId> </LessonPlanDetails>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
AddLessonPlanResponse| Name | Description | Type | Additional information |
|---|---|---|---|
| successMessage | boolean |
None. |
|
| LessonPlanId | decimal number |
None. |
Response Formats
application/json, text/json
Sample:
{
"successMessage": true,
"LessonPlanId": 2.0
}
application/xml, text/xml
Sample:
<AddLessonPlanResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CurriculumCrafter.Domain"> <LessonPlanId>2</LessonPlanId> <successMessage>true</successMessage> </AddLessonPlanResponse>