POST api/OrgOrganization/EditOrgOrganizationSubmit

编辑组织机构信息

Request Information

URI Parameters

None.

Body Parameters

OrgOrganizationDTO
NameDescriptionTypeAdditional information
Id

ID

integer

None.

OrgCode

机构代码

string

String length: inclusive between 0 and 64

Pid

Pid

string

String length: inclusive between 0 and 2000

OrgName

机构名称

string

String length: inclusive between 0 and 128

OrgType

机构类型

string

String length: inclusive between 0 and 128

OrgAddress

机构地址

string

String length: inclusive between 0 and 150

NodeCode

节点代码

string

String length: inclusive between 0 and 64

NodeName

节点名称

string

String length: inclusive between 0 and 64

ParentCode

机构父代码

string

String length: inclusive between 0 and 64

IsObsoleted

是否逻辑删除

boolean

None.

CreatedBy

创建者ID

integer

None.

CreatedOn

创建时间

date

None.

SysCode

系统代码

string

String length: inclusive between 0 and 20

FullPathName

全路径名称

string

String length: inclusive between 0 and 2000

FullPathCode

全路径代码

string

String length: inclusive between 0 and 2000

OrgBusCode

机构代码

string

String length: inclusive between 0 and 10

OrgCodeOrgLev1

一级分行代码

string

String length: inclusive between 0 and 64

OrgCodeDept

部门代码

string

String length: inclusive between 0 and 64

OrgCodeRoom

科室代码

string

String length: inclusive between 0 and 64

OrderNum

排序

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "OrgCode": "sample string 2",
  "Pid": "sample string 3",
  "OrgName": "sample string 4",
  "OrgType": "sample string 5",
  "OrgAddress": "sample string 6",
  "NodeCode": "sample string 7",
  "NodeName": "sample string 8",
  "ParentCode": "sample string 9",
  "IsObsoleted": true,
  "CreatedBy": 11,
  "CreatedOn": "2018-12-12T03:27:12.9658619+08:00",
  "SysCode": "sample string 13",
  "FullPathName": "sample string 14",
  "FullPathCode": "sample string 15",
  "OrgBusCode": "sample string 16",
  "OrgCodeOrgLev1": "sample string 17",
  "OrgCodeDept": "sample string 18",
  "OrgCodeRoom": "sample string 19",
  "OrderNum": 20
}

application/xml, text/xml

Sample:
<OrgOrganizationDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DTO">
  <CreatedBy>11</CreatedBy>
  <CreatedOn>2018-12-12T03:27:12.9658619+08:00</CreatedOn>
  <FullPathCode>sample string 15</FullPathCode>
  <FullPathName>sample string 14</FullPathName>
  <Id>1</Id>
  <IsObsoleted>true</IsObsoleted>
  <NodeCode>sample string 7</NodeCode>
  <NodeName>sample string 8</NodeName>
  <OrderNum>20</OrderNum>
  <OrgAddress>sample string 6</OrgAddress>
  <OrgBusCode>sample string 16</OrgBusCode>
  <OrgCode>sample string 2</OrgCode>
  <OrgCodeDept>sample string 18</OrgCodeDept>
  <OrgCodeOrgLev1>sample string 17</OrgCodeOrgLev1>
  <OrgCodeRoom>sample string 19</OrgCodeRoom>
  <OrgName>sample string 4</OrgName>
  <OrgType>sample string 5</OrgType>
  <ParentCode>sample string 9</ParentCode>
  <Pid>sample string 3</Pid>
  <SysCode>sample string 13</SysCode>
</OrgOrganizationDTO>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'OrgOrganizationDTO'.

Response Information

Resource Description

编辑组织机构信息

StatusDTO
NameDescriptionTypeAdditional information
Status

状态

integer

None.

StatusMessage

消息

string

None.

Response Formats

application/json, text/json

Sample:
{
  "Status": 1,
  "StatusMessage": "sample string 1"
}

application/xml, text/xml

Sample:
<StatusDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DTO">
  <Status>1</Status>
  <StatusMessage>sample string 1</StatusMessage>
</StatusDTO>