GET api/app/getschoolurlmodel?Id={Id}
根据ID获取学校信息
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
Id |
主键ID |
globally unique identifier |
Required |
Body Parameters
None.
Response Information
Resource Description
根据ID获取学校信息
JsonRtnDtoOfSchoolUrlName | Description | Type | Additional information |
---|---|---|---|
Msg | string |
None. |
|
State | RtnState |
None. |
|
Data | SchoolUrl |
None. |
Response Formats
application/json, text/json
Sample:
{ "Msg": "sample string 1", "State": 100, "Data": { "Id": "5cf9491e-9ae0-4964-b560-38748d86451c", "SchoolName": "sample string 2", "Url": "sample string 3", "IsDeleted": true } }
text/html
Sample:
{"Msg":"sample string 1","State":100,"Data":{"Id":"5cf9491e-9ae0-4964-b560-38748d86451c","SchoolName":"sample string 2","Url":"sample string 3","IsDeleted":true}}
application/xml, text/xml
Sample:
<JsonRtnDtoOfSchoolUrlmEDjlcEG xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BJ.Services"> <Data xmlns:d2p1="http://schemas.datacontract.org/2004/07/BJ.Data"> <d2p1:Id>5cf9491e-9ae0-4964-b560-38748d86451c</d2p1:Id> <d2p1:IsDeleted>true</d2p1:IsDeleted> <d2p1:SchoolName>sample string 2</d2p1:SchoolName> <d2p1:Url>sample string 3</d2p1:Url> </Data> <Msg>sample string 1</Msg> <State>Display</State> </JsonRtnDtoOfSchoolUrlmEDjlcEG>
text/javascript, application/javascript, application/json-p
Sample:
/**/ typeof === 'function' && ({"Msg":"sample string 1","State":100,"Data":{"Id":"5cf9491e-9ae0-4964-b560-38748d86451c","SchoolName":"sample string 2","Url":"sample string 3","IsDeleted":true}});