GET api/SunOA/NegotiationRooms/NegotiationRoomByMainBody?mainBody={mainBody}

根据单位主体获取洽谈室列表

Request Information

URI Parameters

NameDescriptionTypeAdditional information
mainBody

所ID

integer

Required

Body Parameters

None.

Response Information

Resource Description

Collection of NegotiationRoom
NameDescriptionTypeAdditional information
NRID

integer

None.

MainBody

integer

None.

RoomNo

string

None.

OperatingUser

integer

None.

SortIndex

integer

None.

Del

boolean

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "NRID": 1,
    "MainBody": 2,
    "RoomNo": "sample string 3",
    "OperatingUser": 1,
    "SortIndex": 1,
    "Del": true
  },
  {
    "NRID": 1,
    "MainBody": 2,
    "RoomNo": "sample string 3",
    "OperatingUser": 1,
    "SortIndex": 1,
    "Del": true
  }
]

application/xml, text/xml

Sample:
<ArrayOfNegotiationRoom xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SunOAWebAPI.Areas.SunOA.Data">
  <NegotiationRoom>
    <Del>true</Del>
    <MainBody>2</MainBody>
    <NRID>1</NRID>
    <OperatingUser>1</OperatingUser>
    <RoomNo>sample string 3</RoomNo>
    <SortIndex>1</SortIndex>
  </NegotiationRoom>
  <NegotiationRoom>
    <Del>true</Del>
    <MainBody>2</MainBody>
    <NRID>1</NRID>
    <OperatingUser>1</OperatingUser>
    <RoomNo>sample string 3</RoomNo>
    <SortIndex>1</SortIndex>
  </NegotiationRoom>
</ArrayOfNegotiationRoom>