POST api/Assignment/AddAssignment

No documentation available.

Request Information

Parameters

NameDescriptionAdditional information
entity
No documentation available.

Define this parameter in the request body.

Request body formats

application/json, text/json

Sample:
{
  "classAssignmentId": "e6706306-a5e4-43f1-bc0b-3ab90a9b40e6",
  "delFlg": true,
  "createdOn": "2021-10-18T00:31:50.6438521+05:30",
  "createdBy": "6872cccd-1b0e-475a-8d74-0d5697c99450",
  "updatedOn": "2021-10-18T00:31:50.6438521+05:30",
  "updatedBy": "c4861df5-cb0b-4114-b8d2-80b4d4f52ac7",
  "schoolId": 5,
  "staffId": "c27c96e0-530a-4a47-bf02-89941fec3fe7",
  "classSectionId": "ec9304cc-aac7-4bc2-9f73-c9ee649c506b",
  "title": "sample string 8",
  "content": "sample string 9",
  "dueDate": "2021-10-18T00:31:50.6438521+05:30",
  "attachment": "db5557fa-91ac-41db-8e43-d611acfc5638",
  "StaffName": "sample string 10",
  "ClassSectionName": "sample string 11",
  "onlineSubmission": true,
  "sessionId": "1483914a-7bf3-4132-b0c4-fd20ba0d3c9d",
  "classId": "4dea87f6-4e0d-4b6f-beec-3dce96af7524",
  "Curriculum": "sample string 15",
  "ImageData": "sample string 16",
  "mediaPath": "sample string 17",
  "mediaType": "sample string 18",
  "referenceNumber": 1,
  "referenceNumberCHAR": "sample string 19",
  "caption": "sample string 20",
  "mediaId": "499222cc-e35b-46f5-9b0f-7d8a3067bab1",
  "classSubjectId": "c4a60c36-8777-440c-a51c-f2f2a3026074",
  "classSubject": "sample string 21",
  "Session": "sample string 22",
  "isStaff": true,
  "Class": "sample string 24",
  "ClassdisplaySeq": 25,
  "SectiondisplaySeq": 26,
  "projectAssignment": true,
  "newdocumentName": "sample string 28",
  "status": "sample string 29",
  "documentName": "sample string 30",
  "iconMediaPath": "sample string 31",
  "assignmentAttachment": "sample string 32",
  "messageContent": "sample string 33"
}

application/xml, text/xml

Sample:
<ClassAssignmentsModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SaviSchoolsService.Utility.PresenterModel">
  <Class>sample string 24</Class>
  <ClassSectionName>sample string 11</ClassSectionName>
  <ClassdisplaySeq>25</ClassdisplaySeq>
  <Curriculum>sample string 15</Curriculum>
  <ImageData>sample string 16</ImageData>
  <SectiondisplaySeq>26</SectiondisplaySeq>
  <Session>sample string 22</Session>
  <StaffName>sample string 10</StaffName>
  <assignmentAttachment>sample string 32</assignmentAttachment>
  <attachment>db5557fa-91ac-41db-8e43-d611acfc5638</attachment>
  <caption>sample string 20</caption>
  <classAssignmentId>e6706306-a5e4-43f1-bc0b-3ab90a9b40e6</classAssignmentId>
  <classId>4dea87f6-4e0d-4b6f-beec-3dce96af7524</classId>
  <classSectionId>ec9304cc-aac7-4bc2-9f73-c9ee649c506b</classSectionId>
  <classSubject>sample string 21</classSubject>
  <classSubjectId>c4a60c36-8777-440c-a51c-f2f2a3026074</classSubjectId>
  <content>sample string 9</content>
  <createdBy>6872cccd-1b0e-475a-8d74-0d5697c99450</createdBy>
  <createdOn>2021-10-18T00:31:50.6438521+05:30</createdOn>
  <delFlg>true</delFlg>
  <documentName>sample string 30</documentName>
  <dueDate>2021-10-18T00:31:50.6438521+05:30</dueDate>
  <iconMediaPath>sample string 31</iconMediaPath>
  <isStaff>true</isStaff>
  <mediaId>499222cc-e35b-46f5-9b0f-7d8a3067bab1</mediaId>
  <mediaPath>sample string 17</mediaPath>
  <mediaType>sample string 18</mediaType>
  <messageContent>sample string 33</messageContent>
  <newdocumentName>sample string 28</newdocumentName>
  <onlineSubmission>true</onlineSubmission>
  <projectAssignment>true</projectAssignment>
  <referenceNumber>1</referenceNumber>
  <referenceNumberCHAR>sample string 19</referenceNumberCHAR>
  <schoolId>5</schoolId>
  <sessionId>1483914a-7bf3-4132-b0c4-fd20ba0d3c9d</sessionId>
  <staffId>c27c96e0-530a-4a47-bf02-89941fec3fe7</staffId>
  <status>sample string 29</status>
  <title>sample string 8</title>
  <updatedBy>c4861df5-cb0b-4114-b8d2-80b4d4f52ac7</updatedBy>
  <updatedOn>2021-10-18T00:31:50.6438521+05:30</updatedOn>
</ClassAssignmentsModel>

application/x-www-form-urlencoded

Sample:

Sample not available.