POST api/PracticeSession
Request Information
URI Parameters
None.
Body Parameters
PracticeSessionName | Description | Type | Additional information |
---|---|---|---|
RecordNo | integer |
None. |
|
OrganizationFK | integer |
None. |
|
MockTestFK | integer |
None. |
|
CreatedBy | integer |
None. |
|
PracticeDate | date |
None. |
|
PracticeTime | time interval |
None. |
|
CreatedOn | date |
None. |
|
UpdatedOn | date |
None. |
|
IsDeleted | boolean |
None. |
|
PracticeSessionDetails | Collection of PracticeSessionDetails |
None. |
Request Formats
application/json, text/json
Sample:
{ "RecordNo": 1, "OrganizationFK": 2, "MockTestFK": 3, "CreatedBy": 4, "PracticeDate": "2024-12-21T20:19:58.1710819+00:00", "PracticeTime": "00:00:00.1234567", "CreatedOn": "2024-12-21T20:19:58.1710819+00:00", "UpdatedOn": "2024-12-21T20:19:58.1867261+00:00", "IsDeleted": true, "PracticeSessionDetails": [ { "RecordNo": 1, "OrganizationMemberFK": 2, "OrganizationMember": { "RecordNo": 1, "AspNetUserFK": 1, "OrganizationMemberTypeFK": 2, "OrganizationMemberType": { "RecordNo": 1, "OrganizationMemberTypeName": "sample string 2", "CreatedOn": "2024-12-21T20:19:58.1867261+00:00", "UpdatedOn": "2024-12-21T20:19:58.1867261+00:00", "IsDeleted": true }, "OrganizationFK": 3, "Organization": { "RecordNo": 1, "OrganizationName": "sample string 2", "ProjectFK": 1, "Projects": { "RecordNo": 1, "ProjectName": "sample string 2", "UpdatedOn": "2024-12-21T20:19:58.1867261+00:00", "IsDeleted": true, "TestTypes": [ { "RecordNo": 1, "TestTypeName": "sample string 2", "SortOrder": 3, "IsStudent": true, "ProjectFK": 1, "UpdatedOn": "2024-12-21T20:19:58.1867261+00:00", "IsDeleted": true }, { "RecordNo": 1, "TestTypeName": "sample string 2", "SortOrder": 3, "IsStudent": true, "ProjectFK": 1, "UpdatedOn": "2024-12-21T20:19:58.1867261+00:00", "IsDeleted": true } ] }, "CreatedOn": "2024-12-21T20:19:58.1867261+00:00", "UpdatedOn": "2024-12-21T20:19:58.1867261+00:00", "IsDeleted": true, "organizationPlans": [ { "RecordNo": 1, "OrganizationFK": 2, "OrganizationPlanTypeFK": 3, "OrganizationPlanType": { "RecordNo": 1, "OrganizationPlanName": "sample string 2", "MaxCountStudent": 3, "MinCountStudent": 4, "Cost": 5.0, "ExpireDays": 6, "CreatedOn": "2024-12-21T20:19:58.1867261+00:00", "UpdatedOn": "2024-12-21T20:19:58.1867261+00:00", "IsDeleted": true }, "CreatedBy": 4, "CancelledBy": 1, "CancellationReasonFK": 1, "CancellationReason": { "RecordNo": 1, "CancellationReasonName": "sample string 2", "IsOrgnizationPlan": true, "IsUserPlan": true, "CreatedOn": "2024-12-21T20:19:58.1867261+00:00", "UpdatedOn": "2024-12-21T20:19:58.1867261+00:00", "IsDeleted": true }, "CancellationReasonNote": "sample string 5", "CancellationDate": "2024-12-21T20:19:58.1867261+00:00", "Amount": 6.0, "StartDate": "2024-12-21T20:19:58.1867261+00:00", "EndDate": "2024-12-21T20:19:58.1867261+00:00", "CreatedOn": "2024-12-21T20:19:58.1867261+00:00", "UpdatedOn": "2024-12-21T20:19:58.1867261+00:00", "IsDeleted": true }, { "RecordNo": 1, "OrganizationFK": 2, "OrganizationPlanTypeFK": 3, "OrganizationPlanType": { "RecordNo": 1, "OrganizationPlanName": "sample string 2", "MaxCountStudent": 3, "MinCountStudent": 4, "Cost": 5.0, "ExpireDays": 6, "CreatedOn": "2024-12-21T20:19:58.1867261+00:00", "UpdatedOn": "2024-12-21T20:19:58.1867261+00:00", "IsDeleted": true }, "CreatedBy": 4, "CancelledBy": 1, "CancellationReasonFK": 1, "CancellationReason": { "RecordNo": 1, "CancellationReasonName": "sample string 2", "IsOrgnizationPlan": true, "IsUserPlan": true, "CreatedOn": "2024-12-21T20:19:58.1867261+00:00", "UpdatedOn": "2024-12-21T20:19:58.1867261+00:00", "IsDeleted": true }, "CancellationReasonNote": "sample string 5", "CancellationDate": "2024-12-21T20:19:58.1867261+00:00", "Amount": 6.0, "StartDate": "2024-12-21T20:19:58.1867261+00:00", "EndDate": "2024-12-21T20:19:58.1867261+00:00", "CreatedOn": "2024-12-21T20:19:58.1867261+00:00", "UpdatedOn": "2024-12-21T20:19:58.1867261+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": "2024-12-21T20:19:58.1867261+00:00", "EndDate": "2024-12-21T20:19:58.1867261+00:00", "CreatedOn": "2024-12-21T20:19:58.1867261+00:00", "UpdatedOn": "2024-12-21T20:19:58.1867261+00:00", "IsDeleted": true, "OrganizationMemberPermissions": [ { "RecordNo": 1, "OrganizationMemberFK": 2, "OrganizationRoleFK": 3, "CreatedOn": "2024-12-21T20:19:58.1867261+00:00", "UpdatedOn": "2024-12-21T20:19:58.1867261+00:00", "IsDeleted": true }, { "RecordNo": 1, "OrganizationMemberFK": 2, "OrganizationRoleFK": 3, "CreatedOn": "2024-12-21T20:19:58.1867261+00:00", "UpdatedOn": "2024-12-21T20:19:58.1867261+00:00", "IsDeleted": true } ] }, "PracticeSessionFK": 3, "CreatedOn": "2024-12-21T20:19:58.1867261+00:00", "UpdatedOn": "2024-12-21T20:19:58.1867261+00:00", "IsDeleted": true }, { "RecordNo": 1, "OrganizationMemberFK": 2, "OrganizationMember": { "RecordNo": 1, "AspNetUserFK": 1, "OrganizationMemberTypeFK": 2, "OrganizationMemberType": { "RecordNo": 1, "OrganizationMemberTypeName": "sample string 2", "CreatedOn": "2024-12-21T20:19:58.1867261+00:00", "UpdatedOn": "2024-12-21T20:19:58.1867261+00:00", "IsDeleted": true }, "OrganizationFK": 3, "Organization": { "RecordNo": 1, "OrganizationName": "sample string 2", "ProjectFK": 1, "Projects": { "RecordNo": 1, "ProjectName": "sample string 2", "UpdatedOn": "2024-12-21T20:19:58.1867261+00:00", "IsDeleted": true, "TestTypes": [ { "RecordNo": 1, "TestTypeName": "sample string 2", "SortOrder": 3, "IsStudent": true, "ProjectFK": 1, "UpdatedOn": "2024-12-21T20:19:58.1867261+00:00", "IsDeleted": true }, { "RecordNo": 1, "TestTypeName": "sample string 2", "SortOrder": 3, "IsStudent": true, "ProjectFK": 1, "UpdatedOn": "2024-12-21T20:19:58.1867261+00:00", "IsDeleted": true } ] }, "CreatedOn": "2024-12-21T20:19:58.1867261+00:00", "UpdatedOn": "2024-12-21T20:19:58.1867261+00:00", "IsDeleted": true, "organizationPlans": [ { "RecordNo": 1, "OrganizationFK": 2, "OrganizationPlanTypeFK": 3, "OrganizationPlanType": { "RecordNo": 1, "OrganizationPlanName": "sample string 2", "MaxCountStudent": 3, "MinCountStudent": 4, "Cost": 5.0, "ExpireDays": 6, "CreatedOn": "2024-12-21T20:19:58.1867261+00:00", "UpdatedOn": "2024-12-21T20:19:58.1867261+00:00", "IsDeleted": true }, "CreatedBy": 4, "CancelledBy": 1, "CancellationReasonFK": 1, "CancellationReason": { "RecordNo": 1, "CancellationReasonName": "sample string 2", "IsOrgnizationPlan": true, "IsUserPlan": true, "CreatedOn": "2024-12-21T20:19:58.1867261+00:00", "UpdatedOn": "2024-12-21T20:19:58.1867261+00:00", "IsDeleted": true }, "CancellationReasonNote": "sample string 5", "CancellationDate": "2024-12-21T20:19:58.1867261+00:00", "Amount": 6.0, "StartDate": "2024-12-21T20:19:58.1867261+00:00", "EndDate": "2024-12-21T20:19:58.1867261+00:00", "CreatedOn": "2024-12-21T20:19:58.1867261+00:00", "UpdatedOn": "2024-12-21T20:19:58.1867261+00:00", "IsDeleted": true }, { "RecordNo": 1, "OrganizationFK": 2, "OrganizationPlanTypeFK": 3, "OrganizationPlanType": { "RecordNo": 1, "OrganizationPlanName": "sample string 2", "MaxCountStudent": 3, "MinCountStudent": 4, "Cost": 5.0, "ExpireDays": 6, "CreatedOn": "2024-12-21T20:19:58.1867261+00:00", "UpdatedOn": "2024-12-21T20:19:58.1867261+00:00", "IsDeleted": true }, "CreatedBy": 4, "CancelledBy": 1, "CancellationReasonFK": 1, "CancellationReason": { "RecordNo": 1, "CancellationReasonName": "sample string 2", "IsOrgnizationPlan": true, "IsUserPlan": true, "CreatedOn": "2024-12-21T20:19:58.1867261+00:00", "UpdatedOn": "2024-12-21T20:19:58.1867261+00:00", "IsDeleted": true }, "CancellationReasonNote": "sample string 5", "CancellationDate": "2024-12-21T20:19:58.1867261+00:00", "Amount": 6.0, "StartDate": "2024-12-21T20:19:58.1867261+00:00", "EndDate": "2024-12-21T20:19:58.1867261+00:00", "CreatedOn": "2024-12-21T20:19:58.1867261+00:00", "UpdatedOn": "2024-12-21T20:19:58.1867261+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": "2024-12-21T20:19:58.1867261+00:00", "EndDate": "2024-12-21T20:19:58.1867261+00:00", "CreatedOn": "2024-12-21T20:19:58.1867261+00:00", "UpdatedOn": "2024-12-21T20:19:58.1867261+00:00", "IsDeleted": true, "OrganizationMemberPermissions": [ { "RecordNo": 1, "OrganizationMemberFK": 2, "OrganizationRoleFK": 3, "CreatedOn": "2024-12-21T20:19:58.1867261+00:00", "UpdatedOn": "2024-12-21T20:19:58.1867261+00:00", "IsDeleted": true }, { "RecordNo": 1, "OrganizationMemberFK": 2, "OrganizationRoleFK": 3, "CreatedOn": "2024-12-21T20:19:58.1867261+00:00", "UpdatedOn": "2024-12-21T20:19:58.1867261+00:00", "IsDeleted": true } ] }, "PracticeSessionFK": 3, "CreatedOn": "2024-12-21T20:19:58.1867261+00:00", "UpdatedOn": "2024-12-21T20:19:58.1867261+00:00", "IsDeleted": true } ] }
application/xml
Sample:
text/xml
Sample:
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.