POST school/list
Request Information
URI Parameters
None.
Body Parameters
SchoolVm| Name | Description | Type | Additional information |
|---|---|---|---|
| Logo1 | string |
None. |
|
| Logo2 | string |
None. |
|
| Code | string |
None. |
|
| Name | string |
None. |
|
| Admin | string |
None. |
|
| ContactNumber | string |
None. |
|
| UEN1 | string |
None. |
|
| UEN2 | string |
None. |
|
| QRCode1 | string |
None. |
|
| QRCode2 | string |
None. |
|
| Status | string |
None. |
|
| Remarks | string |
None. |
|
| IsSalesTaxRegistered | boolean |
None. |
|
| SalesTaxId | string |
None. |
|
| ShowSalesTaxOther | boolean |
None. |
|
| SalesTaxOther | string |
None. |
|
| SalesTaxPercentage | string |
None. |
|
| Addresses | Collection of SchoolAddressVm |
None. |
|
| SwiftCode | string |
None. |
|
| AccountNumber | string |
None. |
|
| AccountName | string |
None. |
|
| BankName | string |
None. |
|
| BankAddress | string |
None. |
|
| Token | string |
None. |
|
| Id | string |
None. |
|
| CurrentPage | integer |
None. |
|
| SizePerPage | integer |
None. |
|
| SortBy | string |
None. |
|
| SortDirection | string |
None. |
|
| Date | string |
None. |
|
| SchoolId | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"Logo1": "sample string 1",
"Logo2": "sample string 2",
"Code": "sample string 3",
"Name": "sample string 4",
"Admin": "sample string 5",
"ContactNumber": "sample string 6",
"UEN1": "sample string 7",
"UEN2": "sample string 8",
"QRCode1": "sample string 9",
"QRCode2": "sample string 10",
"Status": "sample string 11",
"Remarks": "sample string 12",
"IsSalesTaxRegistered": true,
"SalesTaxId": "sample string 14",
"ShowSalesTaxOther": true,
"SalesTaxOther": "sample string 16",
"SalesTaxPercentage": "sample string 17",
"Addresses": [
{
"AddressTypeId": "sample string 1",
"AddressTypeName": "sample string 2",
"ShowAddressTypeOther": true,
"AddressTypeOther": "sample string 4",
"Street1": "sample string 5",
"Street2": "sample string 6",
"City": "sample string 7",
"Postcode": "sample string 8",
"CountryId": "sample string 9",
"CountryName": "sample string 10",
"SortOrder": "sample string 11",
"IsSelected": true,
"Token": "sample string 13",
"Id": "sample string 14",
"CurrentPage": 15,
"SizePerPage": 16,
"SortBy": "sample string 17",
"SortDirection": "sample string 18",
"Date": "sample string 19",
"SchoolId": "sample string 20"
},
{
"AddressTypeId": "sample string 1",
"AddressTypeName": "sample string 2",
"ShowAddressTypeOther": true,
"AddressTypeOther": "sample string 4",
"Street1": "sample string 5",
"Street2": "sample string 6",
"City": "sample string 7",
"Postcode": "sample string 8",
"CountryId": "sample string 9",
"CountryName": "sample string 10",
"SortOrder": "sample string 11",
"IsSelected": true,
"Token": "sample string 13",
"Id": "sample string 14",
"CurrentPage": 15,
"SizePerPage": 16,
"SortBy": "sample string 17",
"SortDirection": "sample string 18",
"Date": "sample string 19",
"SchoolId": "sample string 20"
}
],
"SwiftCode": "sample string 18",
"AccountNumber": "sample string 19",
"AccountName": "sample string 20",
"BankName": "sample string 21",
"BankAddress": "sample string 22",
"Token": "sample string 23",
"Id": "sample string 24",
"CurrentPage": 25,
"SizePerPage": 26,
"SortBy": "sample string 27",
"SortDirection": "sample string 28",
"Date": "sample string 29",
"SchoolId": "sample string 30"
}
application/xml, text/xml
Sample:
<SchoolVm xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ClassBookingSystem.ViewModels">
<CurrentPage>25</CurrentPage>
<Date>sample string 29</Date>
<Id>sample string 24</Id>
<SchoolId>sample string 30</SchoolId>
<SizePerPage>26</SizePerPage>
<SortBy>sample string 27</SortBy>
<SortDirection>sample string 28</SortDirection>
<Token>sample string 23</Token>
<AccountName>sample string 20</AccountName>
<AccountNumber>sample string 19</AccountNumber>
<Addresses>
<SchoolAddressVm>
<CurrentPage>15</CurrentPage>
<Date>sample string 19</Date>
<Id>sample string 14</Id>
<SchoolId>sample string 20</SchoolId>
<SizePerPage>16</SizePerPage>
<SortBy>sample string 17</SortBy>
<SortDirection>sample string 18</SortDirection>
<Token>sample string 13</Token>
<AddressTypeId>sample string 1</AddressTypeId>
<AddressTypeName>sample string 2</AddressTypeName>
<AddressTypeOther>sample string 4</AddressTypeOther>
<City>sample string 7</City>
<CountryId>sample string 9</CountryId>
<CountryName>sample string 10</CountryName>
<IsSelected>true</IsSelected>
<Postcode>sample string 8</Postcode>
<ShowAddressTypeOther>true</ShowAddressTypeOther>
<SortOrder>sample string 11</SortOrder>
<Street1>sample string 5</Street1>
<Street2>sample string 6</Street2>
</SchoolAddressVm>
<SchoolAddressVm>
<CurrentPage>15</CurrentPage>
<Date>sample string 19</Date>
<Id>sample string 14</Id>
<SchoolId>sample string 20</SchoolId>
<SizePerPage>16</SizePerPage>
<SortBy>sample string 17</SortBy>
<SortDirection>sample string 18</SortDirection>
<Token>sample string 13</Token>
<AddressTypeId>sample string 1</AddressTypeId>
<AddressTypeName>sample string 2</AddressTypeName>
<AddressTypeOther>sample string 4</AddressTypeOther>
<City>sample string 7</City>
<CountryId>sample string 9</CountryId>
<CountryName>sample string 10</CountryName>
<IsSelected>true</IsSelected>
<Postcode>sample string 8</Postcode>
<ShowAddressTypeOther>true</ShowAddressTypeOther>
<SortOrder>sample string 11</SortOrder>
<Street1>sample string 5</Street1>
<Street2>sample string 6</Street2>
</SchoolAddressVm>
</Addresses>
<Admin>sample string 5</Admin>
<BankAddress>sample string 22</BankAddress>
<BankName>sample string 21</BankName>
<Code>sample string 3</Code>
<ContactNumber>sample string 6</ContactNumber>
<IsSalesTaxRegistered>true</IsSalesTaxRegistered>
<Logo1>sample string 1</Logo1>
<Logo2>sample string 2</Logo2>
<Name>sample string 4</Name>
<QRCode1>sample string 9</QRCode1>
<QRCode2>sample string 10</QRCode2>
<Remarks>sample string 12</Remarks>
<SalesTaxId>sample string 14</SalesTaxId>
<SalesTaxOther>sample string 16</SalesTaxOther>
<SalesTaxPercentage>sample string 17</SalesTaxPercentage>
<ShowSalesTaxOther>true</ShowSalesTaxOther>
<Status>sample string 11</Status>
<SwiftCode>sample string 18</SwiftCode>
<UEN1>sample string 7</UEN1>
<UEN2>sample string 8</UEN2>
</SchoolVm>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
HttpResponseMessage| Name | Description | Type | Additional information |
|---|---|---|---|
| Version | Version |
None. |
|
| Content | HttpContent |
None. |
|
| StatusCode | HttpStatusCode |
None. |
|
| ReasonPhrase | string |
None. |
|
| Headers | Collection of Object |
None. |
|
| RequestMessage | HttpRequestMessage |
None. |
|
| IsSuccessStatusCode | boolean |
None. |