POST api/AffilationForm/AddAffilationForm

Request Information

URI Parameters

None.

Body Parameters

AffilationForm
NameDescriptionTypeAdditional information
Id

integer

None.

Date

date

None.

Organization

string

None.

YearOfEstablishment

integer

None.

OrganizationType

string

None.

Address

string

None.

City

string

None.

District

string

None.

State

string

None.

Country

string

None.

Pincode

integer

None.

Mobile

string

None.

Fax

boolean

None.

Landline

string

None.

Email

string

None.

PremisesDetails

string

None.

ReadyForOperation

string

None.

CarpetArea

string

None.

TotalSiteArea

string

None.

Internet

string

None.

Infra

Collection of Infrastructure

None.

Facility

Collection of Offers

None.

FacultyList

Collection of Affi_TeachersInfo

None.

DName

string

None.

Designation

string

None.

DGender

string

None.

DExperience

string

None.

DQualification

string

None.

DID

string

None.

Status

string

None.

DMobile

string

None.

CreatedBy

string

None.

CreatedDate

date

None.

UpdatedBy

string

None.

UpdatedDate

date

None.

Amount

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "Date": "2024-12-01T09:35:53.643187+05:30",
  "Organization": "sample string 3",
  "YearOfEstablishment": 4,
  "OrganizationType": "sample string 5",
  "Address": "sample string 6",
  "City": "sample string 7",
  "District": "sample string 8",
  "State": "sample string 9",
  "Country": "sample string 10",
  "Pincode": 11,
  "Mobile": "sample string 12",
  "Fax": true,
  "Landline": "sample string 14",
  "Email": "sample string 15",
  "PremisesDetails": "sample string 16",
  "ReadyForOperation": "sample string 17",
  "CarpetArea": "sample string 18",
  "TotalSiteArea": "sample string 19",
  "Internet": "sample string 20",
  "Infra": [
    {
      "$id": "2",
      "Affi_Id": 1,
      "Facility": "sample string 2",
      "Units": "sample string 3",
      "Area": "sample string 4",
      "SeatingCapacity": "sample string 5",
      "CreatedBy": "sample string 6",
      "CreatedDate": "2024-12-01T09:35:53.643187+05:30",
      "UpdatedBy": "sample string 8",
      "UpdatedDate": "2024-12-01T09:35:53.643187+05:30"
    },
    {
      "$ref": "2"
    }
  ],
  "Facility": [
    {
      "$id": "3",
      "Id": 1,
      "ProCourse": "sample string 2",
      "Admissions": "sample string 3"
    },
    {
      "$ref": "3"
    }
  ],
  "FacultyList": [
    {
      "$id": "4",
      "Id": 1,
      "Affi_Id": 2,
      "Name": "sample string 3",
      "FatherName": "sample string 4",
      "DOB": "sample string 5",
      "Gender": "sample string 6",
      "AcademicQualification": "sample string 7",
      "Prof_Qualification": "sample string 8",
      "Experience": "sample string 9",
      "AssociationLevel": "sample string 10",
      "KeySkills": "sample string 11",
      "Status": "sample string 12",
      "CreatedBy": "sample string 13",
      "CreatedDate": "2024-12-01T09:35:53.6441869+05:30",
      "UpdatedBy": "sample string 15",
      "UpdatedDate": "2024-12-01T09:35:53.6441869+05:30"
    },
    {
      "$ref": "4"
    }
  ],
  "DName": "sample string 21",
  "Designation": "sample string 22",
  "DGender": "sample string 23",
  "DExperience": "sample string 24",
  "DQualification": "sample string 25",
  "DID": "sample string 26",
  "Status": "sample string 27",
  "DMobile": "sample string 28",
  "CreatedBy": "sample string 29",
  "CreatedDate": "2024-12-01T09:35:53.6441869+05:30",
  "UpdatedBy": "sample string 31",
  "UpdatedDate": "2024-12-01T09:35:53.6441869+05:30",
  "Amount": 33
}

application/octet-stream

Sample:
{"$id":"1","Id":1,"Date":"2024-12-01T09:35:53.643187+05:30","Organization":"sample string 3","YearOfEstablishment":4,"OrganizationType":"sample string 5","Address":"sample string 6","City":"sample string 7","District":"sample string 8","State":"sample string 9","Country":"sample string 10","Pincode":11,"Mobile":"sample string 12","Fax":true,"Landline":"sample string 14","Email":"sample string 15","PremisesDetails":"sample string 16","ReadyForOperation":"sample string 17","CarpetArea":"sample string 18","TotalSiteArea":"sample string 19","Internet":"sample string 20","Infra":[{"$id":"2","Affi_Id":1,"Facility":"sample string 2","Units":"sample string 3","Area":"sample string 4","SeatingCapacity":"sample string 5","CreatedBy":"sample string 6","CreatedDate":"2024-12-01T09:35:53.643187+05:30","UpdatedBy":"sample string 8","UpdatedDate":"2024-12-01T09:35:53.643187+05:30"},{"$ref":"2"}],"Facility":[{"$id":"3","Id":1,"ProCourse":"sample string 2","Admissions":"sample string 3"},{"$ref":"3"}],"FacultyList":[{"$id":"4","Id":1,"Affi_Id":2,"Name":"sample string 3","FatherName":"sample string 4","DOB":"sample string 5","Gender":"sample string 6","AcademicQualification":"sample string 7","Prof_Qualification":"sample string 8","Experience":"sample string 9","AssociationLevel":"sample string 10","KeySkills":"sample string 11","Status":"sample string 12","CreatedBy":"sample string 13","CreatedDate":"2024-12-01T09:35:53.6441869+05:30","UpdatedBy":"sample string 15","UpdatedDate":"2024-12-01T09:35:53.6441869+05:30"},{"$ref":"4"}],"DName":"sample string 21","Designation":"sample string 22","DGender":"sample string 23","DExperience":"sample string 24","DQualification":"sample string 25","DID":"sample string 26","Status":"sample string 27","DMobile":"sample string 28","CreatedBy":"sample string 29","CreatedDate":"2024-12-01T09:35:53.6441869+05:30","UpdatedBy":"sample string 31","UpdatedDate":"2024-12-01T09:35:53.6441869+05:30","Amount":33}

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

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.