POST api/OrganizationAPI/ModifyOrganization
修改组织架构
Request Information
URI Parameters
None.
Body Parameters
OrganizationName | Description | Type | Additional information |
---|---|---|---|
Code | string |
None. |
|
Name | string |
None. |
|
Sequence | integer |
None. |
|
IsValid | boolean |
None. |
|
ParentGID | globally unique identifier |
None. |
|
Tenant_GID | globally unique identifier |
None. |
|
SysCreateDate | date |
None. |
|
SysCreateUser | globally unique identifier |
None. |
|
SysModifyDate | date |
None. |
|
SysModifyUser | globally unique identifier |
None. |
|
GID | globally unique identifier |
None. |
Request Formats
application/json, text/json
Sample:
{ "Code": "sample string 1", "Name": "sample string 2", "Sequence": 1, "IsValid": true, "ParentGID": "501d290b-d50a-4bad-aebf-0f08891aea84", "Tenant_GID": "783f4012-bc7f-4fbd-9e9b-82ecc3a1c03a", "SysCreateDate": "2025-06-21T01:51:05.6415645+08:00", "SysCreateUser": "00000000-0000-0000-0000-000000000000", "SysModifyDate": "2025-06-21T01:51:05.6415645+08:00", "SysModifyUser": "00000000-0000-0000-0000-000000000000", "GID": "157e2bf1-0fb0-4cd6-bb49-e0115824a7a3" }
application/xml, text/xml
Sample:
<Organization xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/JetHR.Personnel.Model"> <_gid xmlns="http://schemas.datacontract.org/2004/07/JetHR.Core.Model">157e2bf1-0fb0-4cd6-bb49-e0115824a7a3</_gid> <SysModifyDate xmlns="http://schemas.datacontract.org/2004/07/JetHR.Core.Model">2025-06-21T01:51:05.6415645+08:00</SysModifyDate> <SysModifyUser xmlns="http://schemas.datacontract.org/2004/07/JetHR.Core.Model">00000000-0000-0000-0000-000000000000</SysModifyUser> <Code>sample string 1</Code> <IsValid>true</IsValid> <Name>sample string 2</Name> <ParentGID>501d290b-d50a-4bad-aebf-0f08891aea84</ParentGID> <Sequence>1</Sequence> <Tenant_GID>783f4012-bc7f-4fbd-9e9b-82ecc3a1c03a</Tenant_GID> </Organization>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
修改组织架构
stringResponse Formats
application/json, text/json
Sample:
"sample string 1"
application/xml, text/xml
Sample:
<string xmlns="http://schemas.microsoft.com/2003/10/Serialization/">sample string 1</string>