PUT api/HallTicket/UpdateHallTicket

Request Information

URI Parameters

None.

Body Parameters

HallTicket
NameDescriptionTypeAdditional information
Id

integer

None.

ApplicationForm

ApplicationForm

None.

Exam

Exam

None.

Center

Center

None.

ExamDates

Collection of ExamDates

None.

SchoolName

string

None.

Etype

string

None.

Medium

string

None.

SeatNo

string

None.

CreatedBy

string

None.

CreatedDate

date

None.

UpdatedBy

string

None.

UpdatedDate

date

None.

MaxMarks

integer

None.

ObtainMarks

integer

None.

EnrollNo

string

None.

RollNo

string

None.

Photo

string

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "ApplicationForm": {
    "$id": "2",
    "Id": 1,
    "AdmissionFormId": 2,
    "AdharCardNo": "sample string 3",
    "Name": "sample string 4",
    "FatherName": "sample string 5",
    "MotherName": "sample string 6",
    "Address": "sample string 7",
    "City": "sample string 8",
    "District": "sample string 9",
    "State": "sample string 10",
    "Pincode": "sample string 11",
    "Mobile": "sample string 12",
    "Email": "sample string 13",
    "DOB": "sample string 14",
    "Age": "sample string 15",
    "Category": "sample string 16",
    "Nationality": "sample string 17",
    "Sex": "sample string 18",
    "Fees": "sample string 19",
    "Center": {
      "$id": "3",
      "CenterId": 1,
      "CenterName": "sample string 2",
      "CreatedBy": "sample string 3",
      "CreatedDate": "2024-12-01T09:23:50.3330201+05:30",
      "UpdatedBy": "sample string 5",
      "UpdatedDate": "2024-12-01T09:23:50.3330201+05:30"
    },
    "Class": {
      "$id": "4",
      "ClassId": 1,
      "ClassName": "sample string 2",
      "Course": {
        "$id": "5",
        "CourseId": 1,
        "Name": "sample string 2",
        "Description": "sample string 3",
        "CourseType": "sample string 4",
        "Fees": "sample string 5",
        "CreatedBy": "sample string 6",
        "CreatedDate": "sample string 7",
        "UpdatedBy": "sample string 8",
        "UpdatedDate": "sample string 9"
      }
    },
    "Batch": {
      "$id": "6",
      "Id": 1,
      "Name": "sample string 2",
      "Time": "sample string 3",
      "CenterId": 4,
      "ClassId": 5,
      "CourseId": 6,
      "CourseName": "sample string 7",
      "ClassName": "sample string 8",
      "CenterName": "sample string 9",
      "CreatedBy": "sample string 10",
      "CreatedDate": "sample string 11",
      "UpdatedBy": "sample string 12",
      "UpdatedDate": "sample string 13"
    },
    "RollNo": "sample string 20",
    "CreatedBy": "sample string 21",
    "CreatedDate": "2024-12-01T09:23:50.3330201+05:30",
    "UpdatedBy": "sample string 23",
    "UpdatedDate": "2024-12-01T09:23:50.3330201+05:30",
    "Educations": [
      {
        "$id": "7",
        "StudentId": 1,
        "Examination": "sample string 2",
        "Board": "sample string 3",
        "Year": "sample string 4",
        "Marks": "sample string 5",
        "Subject": "sample string 6"
      },
      {
        "$ref": "7"
      }
    ]
  },
  "Exam": {
    "$id": "8",
    "Id": 1,
    "Class": {
      "$ref": "4"
    },
    "Subject": {
      "$id": "9",
      "Id": 1,
      "CourseId": 2,
      "ClassId": 3,
      "SectionId": 4,
      "Title": "sample string 5",
      "SubjectTypeId": 6,
      "SubjectType": "sample string 7",
      "Marks": "sample string 8",
      "SubjectCode": "sample string 9",
      "CreatedBy": "sample string 10",
      "CreatedDate": "2024-12-01T09:23:50.3330201+05:30",
      "UpdatedBy": "sample string 12",
      "UpdatedDate": "2024-12-01T09:23:50.3330201+05:30"
    },
    "Title": "sample string 2",
    "Time": "sample string 3",
    "Date": "sample string 4",
    "CreatedBy": "sample string 5"
  },
  "Center": {
    "$ref": "3"
  },
  "ExamDates": [
    {
      "$id": "10",
      "Id": 1,
      "HallTicketId": 2,
      "Subject": {
        "$ref": "9"
      },
      "TelDate": "sample string 3",
      "MaxMarks": 4,
      "ObtainMarks": 5
    },
    {
      "$ref": "10"
    }
  ],
  "SchoolName": "sample string 2",
  "Etype": "sample string 3",
  "Medium": "sample string 4",
  "SeatNo": "sample string 5",
  "CreatedBy": "sample string 6",
  "CreatedDate": "2024-12-01T09:23:50.3330201+05:30",
  "UpdatedBy": "sample string 8",
  "UpdatedDate": "2024-12-01T09:23:50.3330201+05:30",
  "MaxMarks": 10,
  "ObtainMarks": 11,
  "EnrollNo": "sample string 12",
  "RollNo": "sample string 13",
  "Photo": "sample string 14"
}

application/octet-stream

Sample:
{"$id":"1","Id":1,"ApplicationForm":{"$id":"2","Id":1,"AdmissionFormId":2,"AdharCardNo":"sample string 3","Name":"sample string 4","FatherName":"sample string 5","MotherName":"sample string 6","Address":"sample string 7","City":"sample string 8","District":"sample string 9","State":"sample string 10","Pincode":"sample string 11","Mobile":"sample string 12","Email":"sample string 13","DOB":"sample string 14","Age":"sample string 15","Category":"sample string 16","Nationality":"sample string 17","Sex":"sample string 18","Fees":"sample string 19","Center":{"$id":"3","CenterId":1,"CenterName":"sample string 2","CreatedBy":"sample string 3","CreatedDate":"2024-12-01T09:23:50.3330201+05:30","UpdatedBy":"sample string 5","UpdatedDate":"2024-12-01T09:23:50.3330201+05:30"},"Class":{"$id":"4","ClassId":1,"ClassName":"sample string 2","Course":{"$id":"5","CourseId":1,"Name":"sample string 2","Description":"sample string 3","CourseType":"sample string 4","Fees":"sample string 5","CreatedBy":"sample string 6","CreatedDate":"sample string 7","UpdatedBy":"sample string 8","UpdatedDate":"sample string 9"}},"Batch":{"$id":"6","Id":1,"Name":"sample string 2","Time":"sample string 3","CenterId":4,"ClassId":5,"CourseId":6,"CourseName":"sample string 7","ClassName":"sample string 8","CenterName":"sample string 9","CreatedBy":"sample string 10","CreatedDate":"sample string 11","UpdatedBy":"sample string 12","UpdatedDate":"sample string 13"},"RollNo":"sample string 20","CreatedBy":"sample string 21","CreatedDate":"2024-12-01T09:23:50.3330201+05:30","UpdatedBy":"sample string 23","UpdatedDate":"2024-12-01T09:23:50.3330201+05:30","Educations":[{"$id":"7","StudentId":1,"Examination":"sample string 2","Board":"sample string 3","Year":"sample string 4","Marks":"sample string 5","Subject":"sample string 6"},{"$ref":"7"}]},"Exam":{"$id":"8","Id":1,"Class":{"$ref":"4"},"Subject":{"$id":"9","Id":1,"CourseId":2,"ClassId":3,"SectionId":4,"Title":"sample string 5","SubjectTypeId":6,"SubjectType":"sample string 7","Marks":"sample string 8","SubjectCode":"sample string 9","CreatedBy":"sample string 10","CreatedDate":"2024-12-01T09:23:50.3330201+05:30","UpdatedBy":"sample string 12","UpdatedDate":"2024-12-01T09:23:50.3330201+05:30"},"Title":"sample string 2","Time":"sample string 3","Date":"sample string 4","CreatedBy":"sample string 5"},"Center":{"$ref":"3"},"ExamDates":[{"$id":"10","Id":1,"HallTicketId":2,"Subject":{"$ref":"9"},"TelDate":"sample string 3","MaxMarks":4,"ObtainMarks":5},{"$ref":"10"}],"SchoolName":"sample string 2","Etype":"sample string 3","Medium":"sample string 4","SeatNo":"sample string 5","CreatedBy":"sample string 6","CreatedDate":"2024-12-01T09:23:50.3330201+05:30","UpdatedBy":"sample string 8","UpdatedDate":"2024-12-01T09:23:50.3330201+05:30","MaxMarks":10,"ObtainMarks":11,"EnrollNo":"sample string 12","RollNo":"sample string 13","Photo":"sample string 14"}

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'HallTicket'.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/octet-stream

Sample:

Sample not available.