POST SecurityGroups/InsertOrUpdate
Request Information
URI Parameters
None.
Body Parameters
Collection of SecurityGroupDTOName | Description | Type | Additional 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": "09ab598b-13b1-4aa9-a9b0-4b09b606b445", "Owner": "sample string 4", "ParentSecurityGroupID": "967c678c-d5c7-4c42-9ae6-1ac7acc78791", "ParentSecurityGroup": "sample string 5", "Kind": 0, "Type": 1, "ID": "2eb81150-a202-4f0b-83fc-2eeab404b417", "Timestamp": "QEA=" }, { "Name": "sample string 1", "Path": "sample string 2", "OwnerID": "09ab598b-13b1-4aa9-a9b0-4b09b606b445", "Owner": "sample string 4", "ParentSecurityGroupID": "967c678c-d5c7-4c42-9ae6-1ac7acc78791", "ParentSecurityGroup": "sample string 5", "Kind": 0, "Type": 1, "ID": "2eb81150-a202-4f0b-83fc-2eeab404b417", "Timestamp": "QEA=" } ] }
text/javascript
Sample:
{"results":[{"Name":"sample string 1","Path":"sample string 2","OwnerID":"09ab598b-13b1-4aa9-a9b0-4b09b606b445","Owner":"sample string 4","ParentSecurityGroupID":"967c678c-d5c7-4c42-9ae6-1ac7acc78791","ParentSecurityGroup":"sample string 5","Kind":0,"Type":1,"ID":"2eb81150-a202-4f0b-83fc-2eeab404b417","Timestamp":"QEA="},{"Name":"sample string 1","Path":"sample string 2","OwnerID":"09ab598b-13b1-4aa9-a9b0-4b09b606b445","Owner":"sample string 4","ParentSecurityGroupID":"967c678c-d5c7-4c42-9ae6-1ac7acc78791","ParentSecurityGroup":"sample string 5","Kind":0,"Type":1,"ID":"2eb81150-a202-4f0b-83fc-2eeab404b417","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">2eb81150-a202-4f0b-83fc-2eeab404b417</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>09ab598b-13b1-4aa9-a9b0-4b09b606b445</OwnerID> <ParentSecurityGroup>sample string 5</ParentSecurityGroup> <ParentSecurityGroupID>967c678c-d5c7-4c42-9ae6-1ac7acc78791</ParentSecurityGroupID> <Path>sample string 2</Path> <Type>Organization</Type> </SecurityGroupDTO> <SecurityGroupDTO> <ID xmlns="http://schemas.datacontract.org/2004/07/Lpp.Objects">2eb81150-a202-4f0b-83fc-2eeab404b417</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>09ab598b-13b1-4aa9-a9b0-4b09b606b445</OwnerID> <ParentSecurityGroup>sample string 5</ParentSecurityGroup> <ParentSecurityGroupID>967c678c-d5c7-4c42-9ae6-1ac7acc78791</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 SecurityGroupDTOName | Description | Type | Additional 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": "9c35ef70-edbc-4e6a-8d66-e28548d92193", "Owner": "sample string 4", "ParentSecurityGroupID": "991267d1-7529-48c4-b0c9-3a70c723a9d7", "ParentSecurityGroup": "sample string 5", "Kind": 0, "Type": 1, "ID": "3a33f527-824a-463f-9605-e68ac119366d", "Timestamp": "QEA=" }, { "Name": "sample string 1", "Path": "sample string 2", "OwnerID": "9c35ef70-edbc-4e6a-8d66-e28548d92193", "Owner": "sample string 4", "ParentSecurityGroupID": "991267d1-7529-48c4-b0c9-3a70c723a9d7", "ParentSecurityGroup": "sample string 5", "Kind": 0, "Type": 1, "ID": "3a33f527-824a-463f-9605-e68ac119366d", "Timestamp": "QEA=" } ] }
text/javascript
Sample:
{"results":[{"Name":"sample string 1","Path":"sample string 2","OwnerID":"9c35ef70-edbc-4e6a-8d66-e28548d92193","Owner":"sample string 4","ParentSecurityGroupID":"991267d1-7529-48c4-b0c9-3a70c723a9d7","ParentSecurityGroup":"sample string 5","Kind":0,"Type":1,"ID":"3a33f527-824a-463f-9605-e68ac119366d","Timestamp":"QEA="},{"Name":"sample string 1","Path":"sample string 2","OwnerID":"9c35ef70-edbc-4e6a-8d66-e28548d92193","Owner":"sample string 4","ParentSecurityGroupID":"991267d1-7529-48c4-b0c9-3a70c723a9d7","ParentSecurityGroup":"sample string 5","Kind":0,"Type":1,"ID":"3a33f527-824a-463f-9605-e68ac119366d","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">3a33f527-824a-463f-9605-e68ac119366d</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>9c35ef70-edbc-4e6a-8d66-e28548d92193</OwnerID> <ParentSecurityGroup>sample string 5</ParentSecurityGroup> <ParentSecurityGroupID>991267d1-7529-48c4-b0c9-3a70c723a9d7</ParentSecurityGroupID> <Path>sample string 2</Path> <Type>Organization</Type> </SecurityGroupDTO> <SecurityGroupDTO> <ID xmlns="http://schemas.datacontract.org/2004/07/Lpp.Objects">3a33f527-824a-463f-9605-e68ac119366d</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>9c35ef70-edbc-4e6a-8d66-e28548d92193</OwnerID> <ParentSecurityGroup>sample string 5</ParentSecurityGroup> <ParentSecurityGroupID>991267d1-7529-48c4-b0c9-3a70c723a9d7</ParentSecurityGroupID> <Path>sample string 2</Path> <Type>Organization</Type> </SecurityGroupDTO> </ArrayOfSecurityGroupDTO>