PUT api/PracticeSessionDetails

Request Information

URI Parameters

None.

Body Parameters

PracticeSessionDetails
NameDescriptionTypeAdditional information
RecordNo

integer

None.

StudentFK

integer

None.

OrganizationMember

OrganizationMember

None.

PracticeSessionFK

integer

None.

PracticeSession

PracticeSession

None.

CreatedOn

date

None.

UpdatedOn

date

None.

IsDeleted

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "RecordNo": 1,
  "StudentFK": 2,
  "OrganizationMember": {
    "RecordNo": 1,
    "AspNetUserFK": 1,
    "OrganizationMemberTypeFK": 2,
    "OrganizationMemberType": {
      "RecordNo": 1,
      "OrganizationMemberTypeName": "sample string 2",
      "CreatedOn": "2022-05-21T19:37:23.7710736+00:00",
      "UpdatedOn": "2022-05-21T19:37:23.7710736+00:00",
      "IsDeleted": true
    },
    "OrganizationFK": 3,
    "Organization": {
      "RecordNo": 1,
      "OrganizationName": "sample string 2",
      "CreatedOn": "2022-05-21T19:37:23.7710736+00:00",
      "UpdatedOn": "2022-05-21T19:37:23.7710736+00:00",
      "IsDeleted": true
    },
    "RegisterBy": 4,
    "EmailHash": "sample string 5",
    "FirstName": "sample string 6",
    "LastName": "sample string 7",
    "EmailAddress": "sample string 8",
    "PhoneNumber": "sample string 9",
    "StartDate": "2022-05-21T19:37:23.7710736+00:00",
    "EndDate": "2022-05-21T19:37:23.7710736+00:00",
    "CreatedOn": "2022-05-21T19:37:23.7710736+00:00",
    "UpdatedOn": "2022-05-21T19:37:23.7710736+00:00",
    "IsDeleted": true
  },
  "PracticeSessionFK": 3,
  "PracticeSession": {
    "RecordNo": 1,
    "MockTestFK": 2,
    "PracticeDate": "2022-05-21T19:37:23.7710736+00:00",
    "PracticeTime": "00:00:00.1234567",
    "CreatedOn": "2022-05-21T19:37:23.7710736+00:00",
    "UpdatedOn": "2022-05-21T19:37:23.7710736+00:00",
    "IsDeleted": true
  },
  "CreatedOn": "2022-05-21T19:37:23.7710736+00:00",
  "UpdatedOn": "2022-05-21T19:37:23.7710736+00:00",
  "IsDeleted": true
}

application/xml, text/xml

Sample:
<PracticeSessionDetails xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TrishAcademy.Models">
  <CreatedOn>2022-05-21T19:37:23.7710736+00:00</CreatedOn>
  <IsDeleted>true</IsDeleted>
  <OrganizationMember>
    <AspNetUserFK>1</AspNetUserFK>
    <CreatedOn>2022-05-21T19:37:23.7710736+00:00</CreatedOn>
    <EmailAddress>sample string 8</EmailAddress>
    <EmailHash>sample string 5</EmailHash>
    <EndDate>2022-05-21T19:37:23.7710736+00:00</EndDate>
    <FirstName>sample string 6</FirstName>
    <IsDeleted>true</IsDeleted>
    <LastName>sample string 7</LastName>
    <Organization>
      <CreatedOn>2022-05-21T19:37:23.7710736+00:00</CreatedOn>
      <IsDeleted>true</IsDeleted>
      <OrganizationName>sample string 2</OrganizationName>
      <RecordNo>1</RecordNo>
      <UpdatedOn>2022-05-21T19:37:23.7710736+00:00</UpdatedOn>
    </Organization>
    <OrganizationFK>3</OrganizationFK>
    <OrganizationMemberType>
      <CreatedOn>2022-05-21T19:37:23.7710736+00:00</CreatedOn>
      <IsDeleted>true</IsDeleted>
      <OrganizationMemberTypeName>sample string 2</OrganizationMemberTypeName>
      <RecordNo>1</RecordNo>
      <UpdatedOn>2022-05-21T19:37:23.7710736+00:00</UpdatedOn>
    </OrganizationMemberType>
    <OrganizationMemberTypeFK>2</OrganizationMemberTypeFK>
    <PhoneNumber>sample string 9</PhoneNumber>
    <RecordNo>1</RecordNo>
    <RegisterBy>4</RegisterBy>
    <StartDate>2022-05-21T19:37:23.7710736+00:00</StartDate>
    <UpdatedOn>2022-05-21T19:37:23.7710736+00:00</UpdatedOn>
  </OrganizationMember>
  <PracticeSession>
    <CreatedOn>2022-05-21T19:37:23.7710736+00:00</CreatedOn>
    <IsDeleted>true</IsDeleted>
    <MockTestFK>2</MockTestFK>
    <PracticeDate>2022-05-21T19:37:23.7710736+00:00</PracticeDate>
    <PracticeTime>PT0.1234567S</PracticeTime>
    <RecordNo>1</RecordNo>
    <UpdatedOn>2022-05-21T19:37:23.7710736+00:00</UpdatedOn>
  </PracticeSession>
  <PracticeSessionFK>3</PracticeSessionFK>
  <RecordNo>1</RecordNo>
  <StudentFK>2</StudentFK>
  <UpdatedOn>2022-05-21T19:37:23.7710736+00:00</UpdatedOn>
</PracticeSessionDetails>

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

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.