GET api/v1/general/{operatorId}/schools

Request Information

URI Parameters

NameDescriptionTypeAdditional information
operatorId

integer

Required

Body Parameters

None.

Response Information

Resource Description

Collection of GetAllSchoolsModel
NameDescriptionTypeAdditional information
Id

integer

Required

OperatorId

integer

Required

Name

string

Required

Max length: 50

Address

string

None.

Contact

string

Max length: 50

Phone

string

Max length: 20

Email

string

Max length: 100

IsDeleted

boolean

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "Id": 1,
    "OperatorId": 2,
    "Name": "sample string 3",
    "Address": "sample string 4",
    "Contact": "sample string 5",
    "Phone": "sample string 6",
    "Email": "sample string 7",
    "IsDeleted": true
  },
  {
    "Id": 1,
    "OperatorId": 2,
    "Name": "sample string 3",
    "Address": "sample string 4",
    "Contact": "sample string 5",
    "Phone": "sample string 6",
    "Email": "sample string 7",
    "IsDeleted": true
  }
]

application/xml, text/xml

Sample:
<ArrayOfGetAllSchoolsModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Emalogic.Conservatory.Common.Models">
  <GetAllSchoolsModel>
    <Address>sample string 4</Address>
    <Contact>sample string 5</Contact>
    <Email>sample string 7</Email>
    <Id>1</Id>
    <IsDeleted>true</IsDeleted>
    <Name>sample string 3</Name>
    <OperatorId>2</OperatorId>
    <Phone>sample string 6</Phone>
  </GetAllSchoolsModel>
  <GetAllSchoolsModel>
    <Address>sample string 4</Address>
    <Contact>sample string 5</Contact>
    <Email>sample string 7</Email>
    <Id>1</Id>
    <IsDeleted>true</IsDeleted>
    <Name>sample string 3</Name>
    <OperatorId>2</OperatorId>
    <Phone>sample string 6</Phone>
  </GetAllSchoolsModel>
</ArrayOfGetAllSchoolsModel>