POST api/resourcegroup/createresourcegroup

Request Information

URI Parameters

None.

Body Parameters

DTOSecurityGroup
NameDescriptionTypeAdditional information
SecurityGroupID

integer

None.

SecurityGroupName

string

None.

Description

string

None.

FlagIsLDAP

boolean

None.

LDAPName

string

None.

TenantID

integer

None.

ParentID

integer

None.

SecurityGroupSupervisorID

integer

None.

IsSystem

boolean

None.

Inactive

boolean

None.

FlagDeleted

boolean

None.

WorkUnit

integer

None.

TimePerUnit

integer

None.

Cost

decimal number

None.

SYSTenantID

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "SecurityGroupID": 1,
  "SecurityGroupName": "sample string 2",
  "Description": "sample string 3",
  "FlagIsLDAP": true,
  "LDAPName": "sample string 5",
  "TenantID": 6,
  "ParentID": 7,
  "SecurityGroupSupervisorID": 8,
  "IsSystem": true,
  "Inactive": true,
  "FlagDeleted": true,
  "WorkUnit": 12,
  "TimePerUnit": 13,
  "Cost": 14.1,
  "SYSTenantID": 15
}

application/xml, text/xml

Sample:
<DTOSecurityGroup xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PTI.AF.DTO">
  <Cost>14.1</Cost>
  <Description>sample string 3</Description>
  <FlagDeleted>true</FlagDeleted>
  <FlagIsLDAP>true</FlagIsLDAP>
  <Inactive>true</Inactive>
  <IsSystem>true</IsSystem>
  <LDAPName>sample string 5</LDAPName>
  <ParentID>7</ParentID>
  <SYSTenantID>15</SYSTenantID>
  <SecurityGroupID>1</SecurityGroupID>
  <SecurityGroupName>sample string 2</SecurityGroupName>
  <SecurityGroupSupervisorID>8</SecurityGroupSupervisorID>
  <TenantID>6</TenantID>
  <TimePerUnit>13</TimePerUnit>
  <WorkUnit>12</WorkUnit>
</DTOSecurityGroup>

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

Response Information

Resource Description

DTOSecurityGroup
NameDescriptionTypeAdditional information
SecurityGroupID

integer

None.

SecurityGroupName

string

None.

Description

string

None.

FlagIsLDAP

boolean

None.

LDAPName

string

None.

TenantID

integer

None.

ParentID

integer

None.

SecurityGroupSupervisorID

integer

None.

IsSystem

boolean

None.

Inactive

boolean

None.

FlagDeleted

boolean

None.

WorkUnit

integer

None.

TimePerUnit

integer

None.

Cost

decimal number

None.

SYSTenantID

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "SecurityGroupID": 1,
  "SecurityGroupName": "sample string 2",
  "Description": "sample string 3",
  "FlagIsLDAP": true,
  "LDAPName": "sample string 5",
  "TenantID": 6,
  "ParentID": 7,
  "SecurityGroupSupervisorID": 8,
  "IsSystem": true,
  "Inactive": true,
  "FlagDeleted": true,
  "WorkUnit": 12,
  "TimePerUnit": 13,
  "Cost": 14.1,
  "SYSTenantID": 15
}

application/xml, text/xml

Sample:
<DTOSecurityGroup xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PTI.AF.DTO">
  <Cost>14.1</Cost>
  <Description>sample string 3</Description>
  <FlagDeleted>true</FlagDeleted>
  <FlagIsLDAP>true</FlagIsLDAP>
  <Inactive>true</Inactive>
  <IsSystem>true</IsSystem>
  <LDAPName>sample string 5</LDAPName>
  <ParentID>7</ParentID>
  <SYSTenantID>15</SYSTenantID>
  <SecurityGroupID>1</SecurityGroupID>
  <SecurityGroupName>sample string 2</SecurityGroupName>
  <SecurityGroupSupervisorID>8</SecurityGroupSupervisorID>
  <TenantID>6</TenantID>
  <TimePerUnit>13</TimePerUnit>
  <WorkUnit>12</WorkUnit>
</DTOSecurityGroup>