POST api/OrganizationAPI/DeleteOrganization
删除组织架构
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": "1d914ebe-a007-4be8-9168-bf1100bd356a", "Tenant_GID": "01ffc291-a003-4270-99dd-ff5f8b5a4d42", "SysCreateDate": "2025-06-21T02:00:16.0262782+08:00", "SysCreateUser": "00000000-0000-0000-0000-000000000000", "SysModifyDate": "2025-06-21T02:00:16.0262782+08:00", "SysModifyUser": "00000000-0000-0000-0000-000000000000", "GID": "7b599eeb-dbe6-4f9c-b6ac-d9e06d06f8dd" }
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">7b599eeb-dbe6-4f9c-b6ac-d9e06d06f8dd</_gid> <SysModifyDate xmlns="http://schemas.datacontract.org/2004/07/JetHR.Core.Model">2025-06-21T02:00:16.0262782+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>1d914ebe-a007-4be8-9168-bf1100bd356a</ParentGID> <Sequence>1</Sequence> <Tenant_GID>01ffc291-a003-4270-99dd-ff5f8b5a4d42</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>