POST UserRole/getUserCorpSubjectList

获取用户或角色的公司主体

Request Information

URI Parameters

None.

Body Parameters

t_DbCorpSubjectUser
NameDescriptionTypeAdditional information
fCorpSubjects

Collection of integer

None.

fType

integer

None.

fObjectId

integer

None.

fName

string

None.

fCorpSbjId

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "fCorpSubjects": [
    1,
    2
  ],
  "fType": 1,
  "fObjectId": 2,
  "fName": "sample string 3",
  "fCorpSbjId": 4
}

application/xml, text/xml

Sample:
<t_DbCorpSubjectUser xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DbFrameModel">
  <fCorpSbjId>4</fCorpSbjId>
  <fCorpSubjects xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:int>1</d2p1:int>
    <d2p1:int>2</d2p1:int>
  </fCorpSubjects>
  <fName>sample string 3</fName>
  <fObjectId>2</fObjectId>
  <fType>1</fType>
</t_DbCorpSubjectUser>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

GetDbCorpSubjectUserModel
NameDescriptionTypeAdditional information
fDefaultValue

integer

None.

list

Collection of t_DbCorpSubjectUser

None.

error

integer

None.

Msg

string

None.

Response Formats

application/json, text/json

Sample:
{
  "fDefaultValue": 1,
  "list": [
    {
      "fCorpSubjects": [
        1,
        2
      ],
      "fType": 1,
      "fObjectId": 2,
      "fName": "sample string 3",
      "fCorpSbjId": 4
    },
    {
      "fCorpSubjects": [
        1,
        2
      ],
      "fType": 1,
      "fObjectId": 2,
      "fName": "sample string 3",
      "fCorpSbjId": 4
    }
  ],
  "error": 2,
  "Msg": "sample string 3"
}

application/xml, text/xml

Sample:
<GetDbCorpSubjectUserModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BLL.VueApi">
  <Msg>sample string 3</Msg>
  <error>2</error>
  <fDefaultValue>1</fDefaultValue>
  <list xmlns:d2p1="http://schemas.datacontract.org/2004/07/DbFrameModel">
    <d2p1:t_DbCorpSubjectUser>
      <d2p1:fCorpSbjId>4</d2p1:fCorpSbjId>
      <d2p1:fCorpSubjects xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
        <d4p1:int>1</d4p1:int>
        <d4p1:int>2</d4p1:int>
      </d2p1:fCorpSubjects>
      <d2p1:fName>sample string 3</d2p1:fName>
      <d2p1:fObjectId>2</d2p1:fObjectId>
      <d2p1:fType>1</d2p1:fType>
    </d2p1:t_DbCorpSubjectUser>
    <d2p1:t_DbCorpSubjectUser>
      <d2p1:fCorpSbjId>4</d2p1:fCorpSbjId>
      <d2p1:fCorpSubjects xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
        <d4p1:int>1</d4p1:int>
        <d4p1:int>2</d4p1:int>
      </d2p1:fCorpSubjects>
      <d2p1:fName>sample string 3</d2p1:fName>
      <d2p1:fObjectId>2</d2p1:fObjectId>
      <d2p1:fType>1</d2p1:fType>
    </d2p1:t_DbCorpSubjectUser>
  </list>
</GetDbCorpSubjectUserModel>