GET api/structure/loadassociatedusers?struId={struId}
加载已经关联的学生
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
struId |
组织架构编号 |
integer |
Required |
Body Parameters
None.
Response Information
Resource Description
加载已经关联的学生
JsonRtnDtoOfListOfUserStructureName | Description | Type | Additional information |
---|---|---|---|
Msg | string |
None. |
|
State | RtnState |
None. |
|
Data | Collection of UserStructure |
None. |
Response Formats
application/json, text/json
Sample:
{ "Msg": "sample string 1", "State": 100, "Data": [ { "StructureId": 1, "MemberId": "sample string 2", "MemberType": 3, "Path": "sample string 4" }, { "StructureId": 1, "MemberId": "sample string 2", "MemberType": 3, "Path": "sample string 4" } ] }
text/html
Sample:
{"Msg":"sample string 1","State":100,"Data":[{"StructureId":1,"MemberId":"sample string 2","MemberType":3,"Path":"sample string 4"},{"StructureId":1,"MemberId":"sample string 2","MemberType":3,"Path":"sample string 4"}]}
application/xml, text/xml
Sample:
<JsonRtnDtoOfArrayOfUserStructuremEDjlcEG 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:UserStructure> <d2p1:MemberId>sample string 2</d2p1:MemberId> <d2p1:MemberType>3</d2p1:MemberType> <d2p1:Path>sample string 4</d2p1:Path> <d2p1:StructureId>1</d2p1:StructureId> </d2p1:UserStructure> <d2p1:UserStructure> <d2p1:MemberId>sample string 2</d2p1:MemberId> <d2p1:MemberType>3</d2p1:MemberType> <d2p1:Path>sample string 4</d2p1:Path> <d2p1:StructureId>1</d2p1:StructureId> </d2p1:UserStructure> </Data> <Msg>sample string 1</Msg> <State>Display</State> </JsonRtnDtoOfArrayOfUserStructuremEDjlcEG>
text/javascript, application/javascript, application/json-p
Sample:
/**/ typeof === 'function' && ({"Msg":"sample string 1","State":100,"Data":[{"StructureId":1,"MemberId":"sample string 2","MemberType":3,"Path":"sample string 4"},{"StructureId":1,"MemberId":"sample string 2","MemberType":3,"Path":"sample string 4"}]});