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

根据资源Id获取用户关联

Request Information

URI Parameters

NameDescriptionTypeAdditional information
ResourceId

资源Id

globally unique identifier

Required

Body Parameters

None.

Response Information

Resource Description

根据资源Id获取用户关联

JsonRtnDtoOfListOfResourceUser
NameDescriptionTypeAdditional information
Msg

string

None.

State

RtnState

None.

Data

Collection of ResourceUser

None.

Response Formats

application/json, text/json

Sample:
{
  "Msg": "sample string 1",
  "State": 100,
  "Data": [
    {
      "ResourceId": "8b5a10a1-d3d2-49f9-8a6b-6ba9675c3cb1",
      "UserId": 2
    },
    {
      "ResourceId": "8b5a10a1-d3d2-49f9-8a6b-6ba9675c3cb1",
      "UserId": 2
    }
  ]
}

text/html

Sample:
{"Msg":"sample string 1","State":100,"Data":[{"ResourceId":"8b5a10a1-d3d2-49f9-8a6b-6ba9675c3cb1","UserId":2},{"ResourceId":"8b5a10a1-d3d2-49f9-8a6b-6ba9675c3cb1","UserId":2}]}

application/xml, text/xml

Sample:
<JsonRtnDtoOfArrayOfResourceUsermEDjlcEG 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:ResourceUser>
      <d2p1:ResourceId>8b5a10a1-d3d2-49f9-8a6b-6ba9675c3cb1</d2p1:ResourceId>
      <d2p1:UserId>2</d2p1:UserId>
    </d2p1:ResourceUser>
    <d2p1:ResourceUser>
      <d2p1:ResourceId>8b5a10a1-d3d2-49f9-8a6b-6ba9675c3cb1</d2p1:ResourceId>
      <d2p1:UserId>2</d2p1:UserId>
    </d2p1:ResourceUser>
  </Data>
  <Msg>sample string 1</Msg>
  <State>Display</State>
</JsonRtnDtoOfArrayOfResourceUsermEDjlcEG>

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

Sample:
/**/ typeof  === 'function' && ({"Msg":"sample string 1","State":100,"Data":[{"ResourceId":"8b5a10a1-d3d2-49f9-8a6b-6ba9675c3cb1","UserId":2},{"ResourceId":"8b5a10a1-d3d2-49f9-8a6b-6ba9675c3cb1","UserId":2}]});