POST SecurityGroups/Insert

Request Information

URI Parameters

None.

Body Parameters

Collection of SecurityGroupDTO
NameDescriptionTypeAdditional information
Name

Name

string

Required

Path

Path

string

None.

OwnerID

Gets or sets the ID of the owner

globally unique identifier

None.

Owner

Owner

string

None.

ParentSecurityGroupID

Gets or sets the ID of Parent Security Group

globally unique identifier

None.

ParentSecurityGroup

Parent SecurityGroup

string

None.

Kind

Security Groups kinds

SecurityGroupKinds

None.

Type

Security Groups Types

SecurityGroupTypes

None.

ID

globally unique identifier

None.

Timestamp

Collection of byte

None.

Request Formats

application/json, text/json

Sample:
{
  "results": [
    {
      "Name": "sample string 1",
      "Path": "sample string 2",
      "OwnerID": "5ea1ce3d-043b-4a75-98f4-363cd36aa198",
      "Owner": "sample string 4",
      "ParentSecurityGroupID": "0148c655-0846-471b-a7e5-d9d414b3495d",
      "ParentSecurityGroup": "sample string 5",
      "Kind": 0,
      "Type": 1,
      "ID": "49e81be7-9983-4d02-b61f-e9eeacf1b0ec",
      "Timestamp": "QEA="
    },
    {
      "Name": "sample string 1",
      "Path": "sample string 2",
      "OwnerID": "5ea1ce3d-043b-4a75-98f4-363cd36aa198",
      "Owner": "sample string 4",
      "ParentSecurityGroupID": "0148c655-0846-471b-a7e5-d9d414b3495d",
      "ParentSecurityGroup": "sample string 5",
      "Kind": 0,
      "Type": 1,
      "ID": "49e81be7-9983-4d02-b61f-e9eeacf1b0ec",
      "Timestamp": "QEA="
    }
  ]
}

text/javascript

Sample:
{"results":[{"Name":"sample string 1","Path":"sample string 2","OwnerID":"5ea1ce3d-043b-4a75-98f4-363cd36aa198","Owner":"sample string 4","ParentSecurityGroupID":"0148c655-0846-471b-a7e5-d9d414b3495d","ParentSecurityGroup":"sample string 5","Kind":0,"Type":1,"ID":"49e81be7-9983-4d02-b61f-e9eeacf1b0ec","Timestamp":"QEA="},{"Name":"sample string 1","Path":"sample string 2","OwnerID":"5ea1ce3d-043b-4a75-98f4-363cd36aa198","Owner":"sample string 4","ParentSecurityGroupID":"0148c655-0846-471b-a7e5-d9d414b3495d","ParentSecurityGroup":"sample string 5","Kind":0,"Type":1,"ID":"49e81be7-9983-4d02-b61f-e9eeacf1b0ec","Timestamp":"QEA="}]}

application/bson

Sample:
Binary JSON content. See http://bsonspec.org for details.

application/xml, text/xml

Sample:
<ArrayOfSecurityGroupDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Lpp.Dns.DTO">
  <SecurityGroupDTO>
    <ID xmlns="http://schemas.datacontract.org/2004/07/Lpp.Objects">49e81be7-9983-4d02-b61f-e9eeacf1b0ec</ID>
    <Timestamp xmlns="http://schemas.datacontract.org/2004/07/Lpp.Objects">QEA=</Timestamp>
    <Kind>Custom</Kind>
    <Name>sample string 1</Name>
    <Owner>sample string 4</Owner>
    <OwnerID>5ea1ce3d-043b-4a75-98f4-363cd36aa198</OwnerID>
    <ParentSecurityGroup>sample string 5</ParentSecurityGroup>
    <ParentSecurityGroupID>0148c655-0846-471b-a7e5-d9d414b3495d</ParentSecurityGroupID>
    <Path>sample string 2</Path>
    <Type>Organization</Type>
  </SecurityGroupDTO>
  <SecurityGroupDTO>
    <ID xmlns="http://schemas.datacontract.org/2004/07/Lpp.Objects">49e81be7-9983-4d02-b61f-e9eeacf1b0ec</ID>
    <Timestamp xmlns="http://schemas.datacontract.org/2004/07/Lpp.Objects">QEA=</Timestamp>
    <Kind>Custom</Kind>
    <Name>sample string 1</Name>
    <Owner>sample string 4</Owner>
    <OwnerID>5ea1ce3d-043b-4a75-98f4-363cd36aa198</OwnerID>
    <ParentSecurityGroup>sample string 5</ParentSecurityGroup>
    <ParentSecurityGroupID>0148c655-0846-471b-a7e5-d9d414b3495d</ParentSecurityGroupID>
    <Path>sample string 2</Path>
    <Type>Organization</Type>
  </SecurityGroupDTO>
</ArrayOfSecurityGroupDTO>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

Collection of SecurityGroupDTO
NameDescriptionTypeAdditional information
Name

Name

string

Required

Path

Path

string

None.

OwnerID

Gets or sets the ID of the owner

globally unique identifier

None.

Owner

Owner

string

None.

ParentSecurityGroupID

Gets or sets the ID of Parent Security Group

globally unique identifier

None.

ParentSecurityGroup

Parent SecurityGroup

string

None.

Kind

Security Groups kinds

SecurityGroupKinds

None.

Type

Security Groups Types

SecurityGroupTypes

None.

ID

globally unique identifier

None.

Timestamp

Collection of byte

None.

Response Formats

application/json, text/json

Sample:
{
  "results": [
    {
      "Name": "sample string 1",
      "Path": "sample string 2",
      "OwnerID": "5d045e07-e184-4eca-a030-facd3b19e53b",
      "Owner": "sample string 4",
      "ParentSecurityGroupID": "a00f670b-1edc-40fd-982a-eba0a70f971b",
      "ParentSecurityGroup": "sample string 5",
      "Kind": 0,
      "Type": 1,
      "ID": "4c960b00-a9e7-4cb6-8251-0509bc70b895",
      "Timestamp": "QEA="
    },
    {
      "Name": "sample string 1",
      "Path": "sample string 2",
      "OwnerID": "5d045e07-e184-4eca-a030-facd3b19e53b",
      "Owner": "sample string 4",
      "ParentSecurityGroupID": "a00f670b-1edc-40fd-982a-eba0a70f971b",
      "ParentSecurityGroup": "sample string 5",
      "Kind": 0,
      "Type": 1,
      "ID": "4c960b00-a9e7-4cb6-8251-0509bc70b895",
      "Timestamp": "QEA="
    }
  ]
}

text/javascript

Sample:
{"results":[{"Name":"sample string 1","Path":"sample string 2","OwnerID":"5d045e07-e184-4eca-a030-facd3b19e53b","Owner":"sample string 4","ParentSecurityGroupID":"a00f670b-1edc-40fd-982a-eba0a70f971b","ParentSecurityGroup":"sample string 5","Kind":0,"Type":1,"ID":"4c960b00-a9e7-4cb6-8251-0509bc70b895","Timestamp":"QEA="},{"Name":"sample string 1","Path":"sample string 2","OwnerID":"5d045e07-e184-4eca-a030-facd3b19e53b","Owner":"sample string 4","ParentSecurityGroupID":"a00f670b-1edc-40fd-982a-eba0a70f971b","ParentSecurityGroup":"sample string 5","Kind":0,"Type":1,"ID":"4c960b00-a9e7-4cb6-8251-0509bc70b895","Timestamp":"QEA="}]}

application/bson

Sample:
Binary JSON content. See http://bsonspec.org for details.

application/xml, text/xml

Sample:
<ArrayOfSecurityGroupDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Lpp.Dns.DTO">
  <SecurityGroupDTO>
    <ID xmlns="http://schemas.datacontract.org/2004/07/Lpp.Objects">4c960b00-a9e7-4cb6-8251-0509bc70b895</ID>
    <Timestamp xmlns="http://schemas.datacontract.org/2004/07/Lpp.Objects">QEA=</Timestamp>
    <Kind>Custom</Kind>
    <Name>sample string 1</Name>
    <Owner>sample string 4</Owner>
    <OwnerID>5d045e07-e184-4eca-a030-facd3b19e53b</OwnerID>
    <ParentSecurityGroup>sample string 5</ParentSecurityGroup>
    <ParentSecurityGroupID>a00f670b-1edc-40fd-982a-eba0a70f971b</ParentSecurityGroupID>
    <Path>sample string 2</Path>
    <Type>Organization</Type>
  </SecurityGroupDTO>
  <SecurityGroupDTO>
    <ID xmlns="http://schemas.datacontract.org/2004/07/Lpp.Objects">4c960b00-a9e7-4cb6-8251-0509bc70b895</ID>
    <Timestamp xmlns="http://schemas.datacontract.org/2004/07/Lpp.Objects">QEA=</Timestamp>
    <Kind>Custom</Kind>
    <Name>sample string 1</Name>
    <Owner>sample string 4</Owner>
    <OwnerID>5d045e07-e184-4eca-a030-facd3b19e53b</OwnerID>
    <ParentSecurityGroup>sample string 5</ParentSecurityGroup>
    <ParentSecurityGroupID>a00f670b-1edc-40fd-982a-eba0a70f971b</ParentSecurityGroupID>
    <Path>sample string 2</Path>
    <Type>Organization</Type>
  </SecurityGroupDTO>
</ArrayOfSecurityGroupDTO>