POST api/external/expaper/post
Request Information
URI Parameters
None.
Body Parameters
CreateExternalPaperRequestName | Description | Type | Additional information |
---|---|---|---|
Title | string |
Required String length: inclusive between 0 and 256 |
|
PublishDate | string |
String length: inclusive between 0 and 8 |
|
TeacherName | string |
String length: inclusive between 0 and 64 |
|
GroupName | string |
String length: inclusive between 0 and 64 |
|
StudentName | string |
String length: inclusive between 0 and 64 |
|
Answer | boolean |
None. |
|
Explanation | boolean |
None. |
|
Difficulty | boolean |
None. |
|
Source | string |
None. |
|
QrCode | string |
None. |
|
NumberSize | string |
None. |
|
NumberColor | string |
None. |
|
Spacing | string |
None. |
|
DefaultFont | string |
None. |
|
Logo | string |
None. |
|
PageLogo | string |
None. |
|
Questions | Collection of QuestionRequest |
None. |
Request Formats
application/json, text/json
Sample:
{ "title": "sample string 1", "publishDate": "sample string 2", "teacherName": "sample string 3", "groupName": "sample string 4", "studentName": "sample string 5", "answer": true, "explanation": true, "difficulty": true, "source": "sample string 9", "qrCode": "sample string 10", "numberSize": "sample string 11", "numberColor": "sample string 12", "spacing": "sample string 13", "defaultFont": "sample string 14", "logo": "sample string 15", "pageLogo": "sample string 16", "questions": [ { "questionId": 1, "explanationId": 1, "source": "sample string 2", "url": "sample string 3" }, { "questionId": 1, "explanationId": 1, "source": "sample string 2", "url": "sample string 3" } ] }
text/xml
Sample:
<CreateExternalPaperRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BusinessEntities.Request.ExternalPaper"> <Answer>true</Answer> <DefaultFont>sample string 14</DefaultFont> <Difficulty>true</Difficulty> <Explanation>true</Explanation> <GroupName>sample string 4</GroupName> <Logo>sample string 15</Logo> <NumberColor>sample string 12</NumberColor> <NumberSize>sample string 11</NumberSize> <PageLogo>sample string 16</PageLogo> <PublishDate>sample string 2</PublishDate> <QrCode>sample string 10</QrCode> <Questions> <CreateExternalPaperRequest.QuestionRequest> <ExplanationId>1</ExplanationId> <QuestionId>1</QuestionId> <Source>sample string 2</Source> <Url>sample string 3</Url> </CreateExternalPaperRequest.QuestionRequest> <CreateExternalPaperRequest.QuestionRequest> <ExplanationId>1</ExplanationId> <QuestionId>1</QuestionId> <Source>sample string 2</Source> <Url>sample string 3</Url> </CreateExternalPaperRequest.QuestionRequest> </Questions> <Source>sample string 9</Source> <Spacing>sample string 13</Spacing> <StudentName>sample string 5</StudentName> <TeacherName>sample string 3</TeacherName> <Title>sample string 1</Title> </CreateExternalPaperRequest>
multipart/form-data
Sample:
<CreateExternalPaperRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BusinessEntities.Request.ExternalPaper"><Answer>true</Answer><DefaultFont>sample string 14</DefaultFont><Difficulty>true</Difficulty><Explanation>true</Explanation><GroupName>sample string 4</GroupName><Logo>sample string 15</Logo><NumberColor>sample string 12</NumberColor><NumberSize>sample string 11</NumberSize><PageLogo>sample string 16</PageLogo><PublishDate>sample string 2</PublishDate><QrCode>sample string 10</QrCode><Questions><CreateExternalPaperRequest.QuestionRequest><ExplanationId>1</ExplanationId><QuestionId>1</QuestionId><Source>sample string 2</Source><Url>sample string 3</Url></CreateExternalPaperRequest.QuestionRequest><CreateExternalPaperRequest.QuestionRequest><ExplanationId>1</ExplanationId><QuestionId>1</QuestionId><Source>sample string 2</Source><Url>sample string 3</Url></CreateExternalPaperRequest.QuestionRequest></Questions><Source>sample string 9</Source><Spacing>sample string 13</Spacing><StudentName>sample string 5</StudentName><TeacherName>sample string 3</TeacherName><Title>sample string 1</Title></CreateExternalPaperRequest>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
HttpResponseMessageName | Description | Type | Additional information |
---|---|---|---|
Version | Version |
None. |
|
Content | HttpContent |
None. |
|
StatusCode | HttpStatusCode |
None. |
|
ReasonPhrase | string |
None. |
|
Headers | Collection of Object |
None. |
|
RequestMessage | HttpRequestMessage |
None. |
|
IsSuccessStatusCode | boolean |
None. |