GET api/resource/GetResourceClassList?ResourceId={ResourceId}

根据资源id获取班级关联

Request Information

URI Parameters

NameDescriptionTypeAdditional information
ResourceId

资源id

globally unique identifier

Required

Body Parameters

None.

Response Information

Resource Description

根据资源id获取班级关联

JsonRtnDtoOfListOfResourceClass
NameDescriptionTypeAdditional information
Msg

string

None.

State

RtnState

None.

Data

Collection of ResourceClass

None.

Response Formats

application/json, text/json

Sample:
{
  "Msg": "sample string 1",
  "State": 100,
  "Data": [
    {
      "ResourceId": "fca34758-8ceb-4db5-9c62-737380dca360",
      "ClassId": "16e98689-1d27-4747-b5af-df12e197c009"
    },
    {
      "ResourceId": "fca34758-8ceb-4db5-9c62-737380dca360",
      "ClassId": "16e98689-1d27-4747-b5af-df12e197c009"
    }
  ]
}

text/html

Sample:
{"Msg":"sample string 1","State":100,"Data":[{"ResourceId":"fca34758-8ceb-4db5-9c62-737380dca360","ClassId":"16e98689-1d27-4747-b5af-df12e197c009"},{"ResourceId":"fca34758-8ceb-4db5-9c62-737380dca360","ClassId":"16e98689-1d27-4747-b5af-df12e197c009"}]}

application/xml, text/xml

Sample:
<JsonRtnDtoOfArrayOfResourceClassmEDjlcEG 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:ResourceClass>
      <d2p1:ClassId>16e98689-1d27-4747-b5af-df12e197c009</d2p1:ClassId>
      <d2p1:ResourceId>fca34758-8ceb-4db5-9c62-737380dca360</d2p1:ResourceId>
    </d2p1:ResourceClass>
    <d2p1:ResourceClass>
      <d2p1:ClassId>16e98689-1d27-4747-b5af-df12e197c009</d2p1:ClassId>
      <d2p1:ResourceId>fca34758-8ceb-4db5-9c62-737380dca360</d2p1:ResourceId>
    </d2p1:ResourceClass>
  </Data>
  <Msg>sample string 1</Msg>
  <State>Display</State>
</JsonRtnDtoOfArrayOfResourceClassmEDjlcEG>

text/javascript, application/javascript, application/json-p

Sample:
/**/ typeof  === 'function' && ({"Msg":"sample string 1","State":100,"Data":[{"ResourceId":"fca34758-8ceb-4db5-9c62-737380dca360","ClassId":"16e98689-1d27-4747-b5af-df12e197c009"},{"ResourceId":"fca34758-8ceb-4db5-9c62-737380dca360","ClassId":"16e98689-1d27-4747-b5af-df12e197c009"}]});