POST api/structure/associatedusers

组织架构关联用户

Request Information

URI Parameters

None.

Body Parameters

用户关系信息

AssociatedUsersDto
NameDescriptionTypeAdditional information
Lus

报名人集合

Collection of UserStructure

None.

Request Formats

application/json, text/json

Sample:
{
  "Lus": [
    {
      "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:
{"Lus":[{"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:
<AssociatedUsersDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BJ.Services">
  <Lus 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>
  </Lus>
</AssociatedUsersDto>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

组织架构关联用户

JsonRtnDtoOfBoolean
NameDescriptionTypeAdditional information
Msg

string

None.

State

RtnState

None.

Data

boolean

None.

Response Formats

application/json, text/json

Sample:
{
  "Msg": "sample string 1",
  "State": 100,
  "Data": true
}

text/html

Sample:
{"Msg":"sample string 1","State":100,"Data":true}

application/xml, text/xml

Sample:
<JsonRtnDtoOfboolean xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BJ.Services">
  <Data>true</Data>
  <Msg>sample string 1</Msg>
  <State>Display</State>
</JsonRtnDtoOfboolean>

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

Sample:
/**/ typeof  === 'function' && ({"Msg":"sample string 1","State":100,"Data":true});