PUT api/ExamRegister

Request Information

URI Parameters

None.

Body Parameters

ExamRegister
NameDescriptionTypeAdditional information
RecordNo

integer

None.

StudentFK

integer

None.

TitleFK

integer

None.

Title

Title

None.

LastName

string

None.

FirstName

string

None.

MiddleName

string

None.

PhoneNumber

string

None.

EmailAddress

string

None.

HomeAddress

string

None.

DateOfBirth

date

None.

CityFK

integer

None.

City

City

None.

ExamDate

date

None.

ExamTypeFK

integer

None.

ExamType

ExamType

None.

PaymentStatusFK

integer

None.

PaymentStatus

PaymentStatus

None.

IsPaperBased

boolean

None.

IsComputerBased

boolean

None.

ReferenceNumber

string

None.

RegistrationDate

date

None.

CreatedOn

date

None.

UpdatedOn

date

None.

IsDeleted

boolean

None.

ProjectFK

integer

None.

Project

Projects

None.

VirtualClassPlanTypeFK

integer

None.

VirtualClassPlanType

VirtualClassPlanType

None.

FilePath

string

None.

AmountPaid

decimal number

None.

JsonData

string

None.

PaymentId

globally unique identifier

None.

NextEmailSchedule

date

None.

Request Formats

application/json, text/json

Sample:
{
  "RecordNo": 1,
  "StudentFK": 1,
  "TitleFK": 1,
  "Title": {
    "RecordNo": 1,
    "TitleName": "sample string 2",
    "CreatedOn": "2024-04-29T10:00:59.5027265+00:00",
    "UpdatedOn": "2024-04-29T10:00:59.5027265+00:00",
    "IsDeleted": true
  },
  "LastName": "sample string 2",
  "FirstName": "sample string 3",
  "MiddleName": "sample string 4",
  "PhoneNumber": "sample string 5",
  "EmailAddress": "sample string 6",
  "HomeAddress": "sample string 7",
  "DateOfBirth": "2024-04-29T10:00:59.5027265+00:00",
  "CityFK": 1,
  "City": {
    "RecordNo": 1,
    "CityName": "sample string 2",
    "StateFK": 3,
    "State": {
      "RecordNo": 1,
      "StateName": "sample string 2",
      "CountryFK": 3,
      "CreatedOn": "2024-04-29T10:00:59.5027265+00:00",
      "UpdatedOn": "2024-04-29T10:00:59.5027265+00:00",
      "IsDeleted": true
    },
    "CreatedOn": "2024-04-29T10:00:59.5027265+00:00",
    "UpdatedOn": "2024-04-29T10:00:59.5027265+00:00",
    "IsDeleted": true
  },
  "ExamDate": "2024-04-29T10:00:59.5027265+00:00",
  "ExamTypeFK": 1,
  "ExamType": {
    "RecordNo": 1,
    "ExamTypeName": "sample string 2",
    "ParentExamName": "sample string 3",
    "CreatedOn": "2024-04-29T10:00:59.5027265+00:00",
    "UpdatedOn": "2024-04-29T10:00:59.5027265+00:00",
    "IsDeleted": true,
    "PlanAmount": 6.0
  },
  "PaymentStatusFK": 1,
  "PaymentStatus": {
    "RecordNo": 1,
    "PaymentStatusName": "sample string 2",
    "CreatedOn": "2024-04-29T10:00:59.5027265+00:00",
    "UpdatedOn": "2024-04-29T10:00:59.5027265+00:00",
    "IsDeleted": true,
    "IsIncrementedAmt": true,
    "SortOrder": 1
  },
  "IsPaperBased": true,
  "IsComputerBased": true,
  "ReferenceNumber": "sample string 10",
  "RegistrationDate": "2024-04-29T10:00:59.5027265+00:00",
  "CreatedOn": "2024-04-29T10:00:59.5027265+00:00",
  "UpdatedOn": "2024-04-29T10:00:59.5027265+00:00",
  "IsDeleted": true,
  "ProjectFK": 13,
  "Project": {
    "RecordNo": 1,
    "ProjectName": "sample string 2",
    "UpdatedOn": "2024-04-29T10:00:59.5027265+00:00",
    "IsDeleted": true,
    "TestTypes": [
      {
        "RecordNo": 1,
        "TestTypeName": "sample string 2",
        "SortOrder": 3,
        "IsStudent": true,
        "ProjectFK": 1,
        "UpdatedOn": "2024-04-29T10:00:59.5027265+00:00",
        "IsDeleted": true
      },
      {
        "RecordNo": 1,
        "TestTypeName": "sample string 2",
        "SortOrder": 3,
        "IsStudent": true,
        "ProjectFK": 1,
        "UpdatedOn": "2024-04-29T10:00:59.5027265+00:00",
        "IsDeleted": true
      }
    ]
  },
  "VirtualClassPlanTypeFK": 1,
  "VirtualClassPlanType": {
    "RecordNo": 1,
    "VirtualClassPlanTypeName": "sample string 2",
    "Amount": 3.0,
    "AffilateComm": 4.0,
    "CreatedOn": "2024-04-29T10:00:59.5027265+00:00",
    "UpdatedOn": "2024-04-29T10:00:59.5027265+00:00",
    "IsDeleted": true,
    "ParentFK": 1
  },
  "FilePath": "sample string 14",
  "AmountPaid": 15.0,
  "JsonData": "sample string 16",
  "PaymentId": "8c42bb7f-0bd1-44c4-bd82-162d450ae01f",
  "NextEmailSchedule": "2024-04-29T10:00:59.5027265+00:00"
}

application/xml

Sample:

An exception has occurred while using the formatter 'XmlMediaTypeFormatter' to generate sample for media type 'application/xml'. Exception message: Object graph for type 'System.Collections.Generic.List`1[[TrishAcademy.Models.TestType, TrishAcademy, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]' contains cycles and cannot be serialized if reference tracking is disabled.

text/xml

Sample:

An exception has occurred while using the formatter 'XmlMediaTypeFormatter' to generate sample for media type 'text/xml'. Exception message: Object graph for type 'System.Collections.Generic.List`1[[TrishAcademy.Models.TestType, TrishAcademy, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]' contains cycles and cannot be serialized if reference tracking is disabled.

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 'ExamRegister'.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.