POST api/Admission/insertRecord

Request Information

URI Parameters

None.

Body Parameters

Admissions
NameDescriptionTypeAdditional information
AdmissionId

decimal number

None.

BranchId

decimal number

None.

EnquiryId

decimal number

None.

AdmissionDate

string

None.

AdmissionTime

string

None.

InvoiceNo

string

None.

IdCardNo

string

None.

RegistrationNumber

string

None.

FeesPackageId

decimal number

None.

MediumId

decimal number

None.

SectionId

decimal number

None.

YearId

decimal number

None.

NetTotal

decimal number

None.

Taxes

decimal number

None.

DiscountPer

decimal number

None.

Discount

decimal number

None.

Adjustments

decimal number

None.

GrandTotal

decimal number

None.

EmployeeId

decimal number

None.

TermsId

decimal number

None.

TermsConditions

string

None.

Comments

string

None.

AdmissionRemark

string

None.

StatusId

decimal number

None.

DiscountMethod

integer

None.

TransportFacility

integer

None.

EditReason

string

None.

CreatedBy

decimal number

None.

CreatedDate

date

None.

UpdatedBy

decimal number

None.

UpdatedDate

date

None.

Status

string

None.

General_ShowAdjustment

boolean

None.

Admission_ShowCustomerComments

boolean

None.

Admission_ShowTermsCondition

boolean

None.

JobRequired

integer

None.

CommentsPath

string

None.

OldComments

string

None.

RoyaltyPercentage

decimal number

None.

RoyaltyPayable

decimal number

None.

JoiningDate

string

None.

JoiningTime

string

None.

ExpectedEndDate

string

None.

ExpectedEndTime

string

None.

StatusDate

date

None.

SATS_NO

string

None.

AdmissionFeesType

Collection of AdmissionFeesType

None.

AdmissionGrade

Collection of AdmissionGrade

None.

AdmissionInstallment

Collection of AdmissionInstallment

None.

ItemRowsVals

string

None.

GradeRowsVals

string

None.

InstallmentRowsVals

string

None.

Hide_JoiningDate

integer

None.

Hide_ExpectedEndDate

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "AdmissionId": 1.0,
  "BranchId": 2.0,
  "EnquiryId": 3.0,
  "AdmissionDate": "sample string 4",
  "AdmissionTime": "sample string 5",
  "InvoiceNo": "sample string 6",
  "IdCardNo": "sample string 7",
  "RegistrationNumber": "sample string 8",
  "FeesPackageId": 9.0,
  "MediumId": 10.0,
  "SectionId": 11.0,
  "YearId": 12.0,
  "NetTotal": 13.1,
  "Taxes": 14.1,
  "DiscountPer": 15.1,
  "Discount": 16.1,
  "Adjustments": 17.1,
  "GrandTotal": 18.1,
  "EmployeeId": 19.0,
  "TermsId": 20.0,
  "TermsConditions": "sample string 21",
  "Comments": "sample string 22",
  "AdmissionRemark": "sample string 23",
  "StatusId": 24.0,
  "DiscountMethod": 25,
  "TransportFacility": 26,
  "EditReason": "sample string 27",
  "CreatedBy": 28.0,
  "CreatedDate": "2022-10-06T08:58:35.9283343+05:30",
  "UpdatedBy": 30.0,
  "UpdatedDate": "2022-10-06T08:58:35.9283343+05:30",
  "Status": "sample string 32",
  "General_ShowAdjustment": true,
  "Admission_ShowCustomerComments": true,
  "Admission_ShowTermsCondition": true,
  "JobRequired": 36,
  "CommentsPath": "sample string 37",
  "OldComments": "sample string 38",
  "RoyaltyPercentage": 39.1,
  "RoyaltyPayable": 40.1,
  "JoiningDate": "sample string 41",
  "JoiningTime": "sample string 42",
  "ExpectedEndDate": "sample string 43",
  "ExpectedEndTime": "sample string 44",
  "StatusDate": "2022-10-06T08:58:35.9283343+05:30",
  "SATS_NO": "sample string 46",
  "AdmissionFeesType": [
    {
      "AdmissionFeesTypeId": 1.0,
      "BreakUpDate": "2022-10-06T08:58:35.9283343+05:30",
      "AdmissionId": 3.0,
      "FeesId": 4.0,
      "AccountId": 5.0,
      "Amount": 6.1,
      "Qty": 7.1,
      "Cost": 8.1,
      "TotalCost": 9.1,
      "DiscountRate": 10.1,
      "DiscountType": "sample string 11",
      "AdmissionTax": [
        {
          "TaxId": 1.0,
          "TaxRate": 1.1
        },
        {
          "TaxId": 1.0,
          "TaxRate": 1.1
        }
      ],
      "IsRoyaltyFees": 12.0
    },
    {
      "AdmissionFeesTypeId": 1.0,
      "BreakUpDate": "2022-10-06T08:58:35.9283343+05:30",
      "AdmissionId": 3.0,
      "FeesId": 4.0,
      "AccountId": 5.0,
      "Amount": 6.1,
      "Qty": 7.1,
      "Cost": 8.1,
      "TotalCost": 9.1,
      "DiscountRate": 10.1,
      "DiscountType": "sample string 11",
      "AdmissionTax": [
        {
          "TaxId": 1.0,
          "TaxRate": 1.1
        },
        {
          "TaxId": 1.0,
          "TaxRate": 1.1
        }
      ],
      "IsRoyaltyFees": 12.0
    }
  ],
  "AdmissionGrade": [
    {
      "AdmissionGradeId": 1.0,
      "AdmissionId": 2.0,
      "GradeId": 3.0,
      "YearId": 1.0,
      "SectionId": 1.0,
      "AdmissionGradeSubjectVals": [
        {
          "AdmissionGradeSubjectId": 1.0,
          "AdmissionGradeId": 2.0,
          "SubjectId": 3.0,
          "BatchScheduleId": 4.0,
          "FromDate": "2022-10-06T08:58:35.9283343+05:30",
          "ToDate": "2022-10-06T08:58:35.9283343+05:30"
        },
        {
          "AdmissionGradeSubjectId": 1.0,
          "AdmissionGradeId": 2.0,
          "SubjectId": 3.0,
          "BatchScheduleId": 4.0,
          "FromDate": "2022-10-06T08:58:35.9283343+05:30",
          "ToDate": "2022-10-06T08:58:35.9283343+05:30"
        }
      ]
    },
    {
      "AdmissionGradeId": 1.0,
      "AdmissionId": 2.0,
      "GradeId": 3.0,
      "YearId": 1.0,
      "SectionId": 1.0,
      "AdmissionGradeSubjectVals": [
        {
          "AdmissionGradeSubjectId": 1.0,
          "AdmissionGradeId": 2.0,
          "SubjectId": 3.0,
          "BatchScheduleId": 4.0,
          "FromDate": "2022-10-06T08:58:35.9283343+05:30",
          "ToDate": "2022-10-06T08:58:35.9283343+05:30"
        },
        {
          "AdmissionGradeSubjectId": 1.0,
          "AdmissionGradeId": 2.0,
          "SubjectId": 3.0,
          "BatchScheduleId": 4.0,
          "FromDate": "2022-10-06T08:58:35.9283343+05:30",
          "ToDate": "2022-10-06T08:58:35.9283343+05:30"
        }
      ]
    }
  ],
  "AdmissionInstallment": [
    {
      "InstallmentId": 1.0,
      "AdmissionId": 2.0,
      "InstallmentDueDate": "2022-10-06T08:58:35.9283343+05:30",
      "Amount": 4.1,
      "FeesId": 5.0,
      "Next_FollowUp_Date": "2022-10-06T08:58:35.9283343+05:30",
      "RoyaltyPayable": 7.1
    },
    {
      "InstallmentId": 1.0,
      "AdmissionId": 2.0,
      "InstallmentDueDate": "2022-10-06T08:58:35.9283343+05:30",
      "Amount": 4.1,
      "FeesId": 5.0,
      "Next_FollowUp_Date": "2022-10-06T08:58:35.9283343+05:30",
      "RoyaltyPayable": 7.1
    }
  ],
  "ItemRowsVals": "sample string 47",
  "GradeRowsVals": "sample string 48",
  "InstallmentRowsVals": "sample string 49",
  "Hide_JoiningDate": 50,
  "Hide_ExpectedEndDate": 51
}

application/xml, text/xml

Sample:
<Admissions xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ZenoxERP.API.Models.Extensions">
  <Adjustments>17.1</Adjustments>
  <AdmissionDate>sample string 4</AdmissionDate>
  <AdmissionFeesType>
    <AdmissionFeesType>
      <AccountId>5</AccountId>
      <AdmissionFeesTypeId>1</AdmissionFeesTypeId>
      <AdmissionId>3</AdmissionId>
      <AdmissionTax>
        <AdmissionTax>
          <TaxId>1</TaxId>
          <TaxRate>1.1</TaxRate>
        </AdmissionTax>
        <AdmissionTax>
          <TaxId>1</TaxId>
          <TaxRate>1.1</TaxRate>
        </AdmissionTax>
      </AdmissionTax>
      <Amount>6.1</Amount>
      <BreakUpDate>2022-10-06T08:58:35.9283343+05:30</BreakUpDate>
      <Cost>8.1</Cost>
      <DiscountRate>10.1</DiscountRate>
      <DiscountType>sample string 11</DiscountType>
      <FeesId>4</FeesId>
      <IsRoyaltyFees>12</IsRoyaltyFees>
      <Qty>7.1</Qty>
      <TotalCost>9.1</TotalCost>
    </AdmissionFeesType>
    <AdmissionFeesType>
      <AccountId>5</AccountId>
      <AdmissionFeesTypeId>1</AdmissionFeesTypeId>
      <AdmissionId>3</AdmissionId>
      <AdmissionTax>
        <AdmissionTax>
          <TaxId>1</TaxId>
          <TaxRate>1.1</TaxRate>
        </AdmissionTax>
        <AdmissionTax>
          <TaxId>1</TaxId>
          <TaxRate>1.1</TaxRate>
        </AdmissionTax>
      </AdmissionTax>
      <Amount>6.1</Amount>
      <BreakUpDate>2022-10-06T08:58:35.9283343+05:30</BreakUpDate>
      <Cost>8.1</Cost>
      <DiscountRate>10.1</DiscountRate>
      <DiscountType>sample string 11</DiscountType>
      <FeesId>4</FeesId>
      <IsRoyaltyFees>12</IsRoyaltyFees>
      <Qty>7.1</Qty>
      <TotalCost>9.1</TotalCost>
    </AdmissionFeesType>
  </AdmissionFeesType>
  <AdmissionGrade>
    <AdmissionGrade>
      <AdmissionGradeId>1</AdmissionGradeId>
      <AdmissionGradeSubjectVals>
        <AdmissionGradeSubject>
          <AdmissionGradeId>2</AdmissionGradeId>
          <AdmissionGradeSubjectId>1</AdmissionGradeSubjectId>
          <BatchScheduleId>4</BatchScheduleId>
          <FromDate>2022-10-06T08:58:35.9283343+05:30</FromDate>
          <SubjectId>3</SubjectId>
          <ToDate>2022-10-06T08:58:35.9283343+05:30</ToDate>
        </AdmissionGradeSubject>
        <AdmissionGradeSubject>
          <AdmissionGradeId>2</AdmissionGradeId>
          <AdmissionGradeSubjectId>1</AdmissionGradeSubjectId>
          <BatchScheduleId>4</BatchScheduleId>
          <FromDate>2022-10-06T08:58:35.9283343+05:30</FromDate>
          <SubjectId>3</SubjectId>
          <ToDate>2022-10-06T08:58:35.9283343+05:30</ToDate>
        </AdmissionGradeSubject>
      </AdmissionGradeSubjectVals>
      <AdmissionId>2</AdmissionId>
      <GradeId>3</GradeId>
      <SectionId>1</SectionId>
      <YearId>1</YearId>
    </AdmissionGrade>
    <AdmissionGrade>
      <AdmissionGradeId>1</AdmissionGradeId>
      <AdmissionGradeSubjectVals>
        <AdmissionGradeSubject>
          <AdmissionGradeId>2</AdmissionGradeId>
          <AdmissionGradeSubjectId>1</AdmissionGradeSubjectId>
          <BatchScheduleId>4</BatchScheduleId>
          <FromDate>2022-10-06T08:58:35.9283343+05:30</FromDate>
          <SubjectId>3</SubjectId>
          <ToDate>2022-10-06T08:58:35.9283343+05:30</ToDate>
        </AdmissionGradeSubject>
        <AdmissionGradeSubject>
          <AdmissionGradeId>2</AdmissionGradeId>
          <AdmissionGradeSubjectId>1</AdmissionGradeSubjectId>
          <BatchScheduleId>4</BatchScheduleId>
          <FromDate>2022-10-06T08:58:35.9283343+05:30</FromDate>
          <SubjectId>3</SubjectId>
          <ToDate>2022-10-06T08:58:35.9283343+05:30</ToDate>
        </AdmissionGradeSubject>
      </AdmissionGradeSubjectVals>
      <AdmissionId>2</AdmissionId>
      <GradeId>3</GradeId>
      <SectionId>1</SectionId>
      <YearId>1</YearId>
    </AdmissionGrade>
  </AdmissionGrade>
  <AdmissionId>1</AdmissionId>
  <AdmissionInstallment>
    <AdmissionInstallment>
      <AdmissionId>2</AdmissionId>
      <Amount>4.1</Amount>
      <FeesId>5</FeesId>
      <InstallmentDueDate>2022-10-06T08:58:35.9283343+05:30</InstallmentDueDate>
      <InstallmentId>1</InstallmentId>
      <Next_FollowUp_Date>2022-10-06T08:58:35.9283343+05:30</Next_FollowUp_Date>
      <RoyaltyPayable>7.1</RoyaltyPayable>
    </AdmissionInstallment>
    <AdmissionInstallment>
      <AdmissionId>2</AdmissionId>
      <Amount>4.1</Amount>
      <FeesId>5</FeesId>
      <InstallmentDueDate>2022-10-06T08:58:35.9283343+05:30</InstallmentDueDate>
      <InstallmentId>1</InstallmentId>
      <Next_FollowUp_Date>2022-10-06T08:58:35.9283343+05:30</Next_FollowUp_Date>
      <RoyaltyPayable>7.1</RoyaltyPayable>
    </AdmissionInstallment>
  </AdmissionInstallment>
  <AdmissionRemark>sample string 23</AdmissionRemark>
  <AdmissionTime>sample string 5</AdmissionTime>
  <Admission_ShowCustomerComments>true</Admission_ShowCustomerComments>
  <Admission_ShowTermsCondition>true</Admission_ShowTermsCondition>
  <BranchId>2</BranchId>
  <Comments>sample string 22</Comments>
  <CommentsPath>sample string 37</CommentsPath>
  <CreatedBy>28</CreatedBy>
  <CreatedDate>2022-10-06T08:58:35.9283343+05:30</CreatedDate>
  <Discount>16.1</Discount>
  <DiscountMethod>25</DiscountMethod>
  <DiscountPer>15.1</DiscountPer>
  <EditReason>sample string 27</EditReason>
  <EmployeeId>19</EmployeeId>
  <EnquiryId>3</EnquiryId>
  <ExpectedEndDate>sample string 43</ExpectedEndDate>
  <ExpectedEndTime>sample string 44</ExpectedEndTime>
  <FeesPackageId>9</FeesPackageId>
  <General_ShowAdjustment>true</General_ShowAdjustment>
  <GradeRowsVals>sample string 48</GradeRowsVals>
  <GrandTotal>18.1</GrandTotal>
  <Hide_ExpectedEndDate>51</Hide_ExpectedEndDate>
  <Hide_JoiningDate>50</Hide_JoiningDate>
  <IdCardNo>sample string 7</IdCardNo>
  <InstallmentRowsVals>sample string 49</InstallmentRowsVals>
  <InvoiceNo>sample string 6</InvoiceNo>
  <ItemRowsVals>sample string 47</ItemRowsVals>
  <JobRequired>36</JobRequired>
  <JoiningDate>sample string 41</JoiningDate>
  <JoiningTime>sample string 42</JoiningTime>
  <MediumId>10</MediumId>
  <NetTotal>13.1</NetTotal>
  <OldComments>sample string 38</OldComments>
  <RegistrationNumber>sample string 8</RegistrationNumber>
  <RoyaltyPayable>40.1</RoyaltyPayable>
  <RoyaltyPercentage>39.1</RoyaltyPercentage>
  <SATS_NO>sample string 46</SATS_NO>
  <SectionId>11</SectionId>
  <Status>sample string 32</Status>
  <StatusDate>2022-10-06T08:58:35.9283343+05:30</StatusDate>
  <StatusId>24</StatusId>
  <Taxes>14.1</Taxes>
  <TermsConditions>sample string 21</TermsConditions>
  <TermsId>20</TermsId>
  <TransportFacility>26</TransportFacility>
  <UpdatedBy>30</UpdatedBy>
  <UpdatedDate>2022-10-06T08:58:35.9283343+05:30</UpdatedDate>
  <YearId>12</YearId>
</Admissions>

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

Response Information

Resource Description

integer

Response Formats

application/json, text/json

Sample:
1

application/xml, text/xml

Sample:
<int xmlns="http://schemas.microsoft.com/2003/10/Serialization/">1</int>