POST api/school/saveschoolcoursmedia

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:
{
  "mediaList": [
    {
      "courseMediaId": 1,
      "delFlg": true,
      "createdOn": "2021-10-27T19:10:12.3173962+05:30",
      "createdBy": "f5dc89cc-1624-4311-8c55-6a64379645ad",
      "updatedOn": "2021-10-27T19:10:12.3173962+05:30",
      "updatedBy": "f0ea7b49-5554-4124-916b-e2a940abeef4",
      "schoolId": 1,
      "mediaCategory": "sample string 5",
      "mediaType": "sample string 6",
      "mediaPath": "sample string 7",
      "caption": "sample string 8",
      "remarks": "sample string 9",
      "mediaBase64": "sample string 10",
      "mediaExtension": "sample string 11",
      "schoolCourseId": 1
    },
    {
      "courseMediaId": 1,
      "delFlg": true,
      "createdOn": "2021-10-27T19:10:12.3173962+05:30",
      "createdBy": "f5dc89cc-1624-4311-8c55-6a64379645ad",
      "updatedOn": "2021-10-27T19:10:12.3173962+05:30",
      "updatedBy": "f0ea7b49-5554-4124-916b-e2a940abeef4",
      "schoolId": 1,
      "mediaCategory": "sample string 5",
      "mediaType": "sample string 6",
      "mediaPath": "sample string 7",
      "caption": "sample string 8",
      "remarks": "sample string 9",
      "mediaBase64": "sample string 10",
      "mediaExtension": "sample string 11",
      "schoolCourseId": 1
    },
    {
      "courseMediaId": 1,
      "delFlg": true,
      "createdOn": "2021-10-27T19:10:12.3173962+05:30",
      "createdBy": "f5dc89cc-1624-4311-8c55-6a64379645ad",
      "updatedOn": "2021-10-27T19:10:12.3173962+05:30",
      "updatedBy": "f0ea7b49-5554-4124-916b-e2a940abeef4",
      "schoolId": 1,
      "mediaCategory": "sample string 5",
      "mediaType": "sample string 6",
      "mediaPath": "sample string 7",
      "caption": "sample string 8",
      "remarks": "sample string 9",
      "mediaBase64": "sample string 10",
      "mediaExtension": "sample string 11",
      "schoolCourseId": 1
    }
  ],
  "schoolId": 1,
  "schoolCourseId": 2,
  "categoryId": 3,
  "subCategoryId": 4,
  "category": "sample string 5",
  "subCategory": "sample string 6",
  "classId": "1b669521-68c3-4d54-b071-0b28eb0e61bb",
  "createdBy": "168947ce-ab81-484c-a77f-dd30b64a38ed"
}

application/xml, text/xml

Sample:
<SchoolCouresMediaModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SaviSchoolsService.Utility.PresenterModel">
  <category>sample string 5</category>
  <categoryId>3</categoryId>
  <classId>1b669521-68c3-4d54-b071-0b28eb0e61bb</classId>
  <createdBy>168947ce-ab81-484c-a77f-dd30b64a38ed</createdBy>
  <mediaList>
    <schoolCoursesMediaModel>
      <caption>sample string 8</caption>
      <courseMediaId>1</courseMediaId>
      <createdBy>f5dc89cc-1624-4311-8c55-6a64379645ad</createdBy>
      <createdOn>2021-10-27T19:10:12.3173962+05:30</createdOn>
      <delFlg>true</delFlg>
      <mediaBase64>sample string 10</mediaBase64>
      <mediaCategory>sample string 5</mediaCategory>
      <mediaExtension>sample string 11</mediaExtension>
      <mediaPath>sample string 7</mediaPath>
      <mediaType>sample string 6</mediaType>
      <remarks>sample string 9</remarks>
      <schoolCourseId>1</schoolCourseId>
      <schoolId>1</schoolId>
      <updatedBy>f0ea7b49-5554-4124-916b-e2a940abeef4</updatedBy>
      <updatedOn>2021-10-27T19:10:12.3173962+05:30</updatedOn>
    </schoolCoursesMediaModel>
    <schoolCoursesMediaModel>
      <caption>sample string 8</caption>
      <courseMediaId>1</courseMediaId>
      <createdBy>f5dc89cc-1624-4311-8c55-6a64379645ad</createdBy>
      <createdOn>2021-10-27T19:10:12.3173962+05:30</createdOn>
      <delFlg>true</delFlg>
      <mediaBase64>sample string 10</mediaBase64>
      <mediaCategory>sample string 5</mediaCategory>
      <mediaExtension>sample string 11</mediaExtension>
      <mediaPath>sample string 7</mediaPath>
      <mediaType>sample string 6</mediaType>
      <remarks>sample string 9</remarks>
      <schoolCourseId>1</schoolCourseId>
      <schoolId>1</schoolId>
      <updatedBy>f0ea7b49-5554-4124-916b-e2a940abeef4</updatedBy>
      <updatedOn>2021-10-27T19:10:12.3173962+05:30</updatedOn>
    </schoolCoursesMediaModel>
    <schoolCoursesMediaModel>
      <caption>sample string 8</caption>
      <courseMediaId>1</courseMediaId>
      <createdBy>f5dc89cc-1624-4311-8c55-6a64379645ad</createdBy>
      <createdOn>2021-10-27T19:10:12.3173962+05:30</createdOn>
      <delFlg>true</delFlg>
      <mediaBase64>sample string 10</mediaBase64>
      <mediaCategory>sample string 5</mediaCategory>
      <mediaExtension>sample string 11</mediaExtension>
      <mediaPath>sample string 7</mediaPath>
      <mediaType>sample string 6</mediaType>
      <remarks>sample string 9</remarks>
      <schoolCourseId>1</schoolCourseId>
      <schoolId>1</schoolId>
      <updatedBy>f0ea7b49-5554-4124-916b-e2a940abeef4</updatedBy>
      <updatedOn>2021-10-27T19:10:12.3173962+05:30</updatedOn>
    </schoolCoursesMediaModel>
  </mediaList>
  <schoolCourseId>2</schoolCourseId>
  <schoolId>1</schoolId>
  <subCategory>sample string 6</subCategory>
  <subCategoryId>4</subCategoryId>
</SchoolCouresMediaModel>

application/x-www-form-urlencoded

Sample:

Sample not available.