POST api/OrganizationAPI/DeleteOrganization

删除组织架构

Request Information

URI Parameters

None.

Body Parameters

Organization
NameDescriptionTypeAdditional 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": "f1770086-5046-4034-a4d1-22b7f061acf4",
  "Tenant_GID": "a724ec73-ccfc-4744-8c72-d260e44a1c19",
  "SysCreateDate": "2025-05-04T15:27:29.022908+08:00",
  "SysCreateUser": "00000000-0000-0000-0000-000000000000",
  "SysModifyDate": "2025-05-04T15:27:29.022908+08:00",
  "SysModifyUser": "00000000-0000-0000-0000-000000000000",
  "GID": "34aeeb39-4b8f-4696-9a4e-4da727afc520"
}

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">34aeeb39-4b8f-4696-9a4e-4da727afc520</_gid>
  <SysModifyDate xmlns="http://schemas.datacontract.org/2004/07/JetHR.Core.Model">2025-05-04T15:27:29.022908+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>f1770086-5046-4034-a4d1-22b7f061acf4</ParentGID>
  <Sequence>1</Sequence>
  <Tenant_GID>a724ec73-ccfc-4744-8c72-d260e44a1c19</Tenant_GID>
</Organization>

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 'Organization'.

Response Information

Resource Description

删除组织架构

string

Response 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>