POST api/Major/GetMajor

Request Information

URI Parameters

None.

Body Parameters

SearchCriteriaDTO
NameDescriptionTypeAdditional information
sectionId

integer

None.

facultyId

integer

None.

majorId

integer

None.

categoryId

integer

None.

coursesId

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "sectionId": 1,
  "facultyId": 2,
  "majorId": 3,
  "categoryId": 4,
  "coursesId": 5
}

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

Collection of MajorDTO
NameDescriptionTypeAdditional information
Id

integer

None.

FacultyId

integer

None.

Title

string

None.

CreatedDate

date

None.

CreatedByUserId

integer

None.

IsActive

boolean

None.

Description

string

None.

Notes

string

None.

base64

string

None.

imageName

string

None.

abbreviation

string

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "Id": 1,
    "FacultyId": 2,
    "Title": "sample string 3",
    "CreatedDate": "2025-01-22T11:08:50.7450341-07:00",
    "CreatedByUserId": 5,
    "IsActive": true,
    "Description": "sample string 7",
    "Notes": "sample string 8",
    "base64": "sample string 9",
    "imageName": "sample string 10",
    "abbreviation": "sample string 11"
  },
  {
    "Id": 1,
    "FacultyId": 2,
    "Title": "sample string 3",
    "CreatedDate": "2025-01-22T11:08:50.7450341-07:00",
    "CreatedByUserId": 5,
    "IsActive": true,
    "Description": "sample string 7",
    "Notes": "sample string 8",
    "base64": "sample string 9",
    "imageName": "sample string 10",
    "abbreviation": "sample string 11"
  }
]