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": "f8c7ad17-47eb-4ea2-b31b-a1bb1567ffd1", "Owner": "sample string 4", "ParentSecurityGroupID": "2861fbf8-0ba1-4880-8e87-ce7d14c5679d", "ParentSecurityGroup": "sample string 5", "Kind": 0, "Type": 1, "ID": "a8d1276e-d7e5-490c-9c55-ced2e4583a5c", "Timestamp": "QEA=" }, { "Name": "sample string 1", "Path": "sample string 2", "OwnerID": "f8c7ad17-47eb-4ea2-b31b-a1bb1567ffd1", "Owner": "sample string 4", "ParentSecurityGroupID": "2861fbf8-0ba1-4880-8e87-ce7d14c5679d", "ParentSecurityGroup": "sample string 5", "Kind": 0, "Type": 1, "ID": "a8d1276e-d7e5-490c-9c55-ced2e4583a5c", "Timestamp": "QEA=" } ] }
text/javascript
Sample:
{"results":[{"Name":"sample string 1","Path":"sample string 2","OwnerID":"f8c7ad17-47eb-4ea2-b31b-a1bb1567ffd1","Owner":"sample string 4","ParentSecurityGroupID":"2861fbf8-0ba1-4880-8e87-ce7d14c5679d","ParentSecurityGroup":"sample string 5","Kind":0,"Type":1,"ID":"a8d1276e-d7e5-490c-9c55-ced2e4583a5c","Timestamp":"QEA="},{"Name":"sample string 1","Path":"sample string 2","OwnerID":"f8c7ad17-47eb-4ea2-b31b-a1bb1567ffd1","Owner":"sample string 4","ParentSecurityGroupID":"2861fbf8-0ba1-4880-8e87-ce7d14c5679d","ParentSecurityGroup":"sample string 5","Kind":0,"Type":1,"ID":"a8d1276e-d7e5-490c-9c55-ced2e4583a5c","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">a8d1276e-d7e5-490c-9c55-ced2e4583a5c</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>f8c7ad17-47eb-4ea2-b31b-a1bb1567ffd1</OwnerID> <ParentSecurityGroup>sample string 5</ParentSecurityGroup> <ParentSecurityGroupID>2861fbf8-0ba1-4880-8e87-ce7d14c5679d</ParentSecurityGroupID> <Path>sample string 2</Path> <Type>Organization</Type> </SecurityGroupDTO> <SecurityGroupDTO> <ID xmlns="http://schemas.datacontract.org/2004/07/Lpp.Objects">a8d1276e-d7e5-490c-9c55-ced2e4583a5c</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>f8c7ad17-47eb-4ea2-b31b-a1bb1567ffd1</OwnerID> <ParentSecurityGroup>sample string 5</ParentSecurityGroup> <ParentSecurityGroupID>2861fbf8-0ba1-4880-8e87-ce7d14c5679d</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": "965d902e-dbd4-414c-900e-b263267392f0", "Owner": "sample string 4", "ParentSecurityGroupID": "c7d22f4b-293d-43a7-b342-f1c5ef5b80fa", "ParentSecurityGroup": "sample string 5", "Kind": 0, "Type": 1, "ID": "23b9362c-23d0-4c91-a6d5-3a5be0599271", "Timestamp": "QEA=" }, { "Name": "sample string 1", "Path": "sample string 2", "OwnerID": "965d902e-dbd4-414c-900e-b263267392f0", "Owner": "sample string 4", "ParentSecurityGroupID": "c7d22f4b-293d-43a7-b342-f1c5ef5b80fa", "ParentSecurityGroup": "sample string 5", "Kind": 0, "Type": 1, "ID": "23b9362c-23d0-4c91-a6d5-3a5be0599271", "Timestamp": "QEA=" } ] }
text/javascript
Sample:
{"results":[{"Name":"sample string 1","Path":"sample string 2","OwnerID":"965d902e-dbd4-414c-900e-b263267392f0","Owner":"sample string 4","ParentSecurityGroupID":"c7d22f4b-293d-43a7-b342-f1c5ef5b80fa","ParentSecurityGroup":"sample string 5","Kind":0,"Type":1,"ID":"23b9362c-23d0-4c91-a6d5-3a5be0599271","Timestamp":"QEA="},{"Name":"sample string 1","Path":"sample string 2","OwnerID":"965d902e-dbd4-414c-900e-b263267392f0","Owner":"sample string 4","ParentSecurityGroupID":"c7d22f4b-293d-43a7-b342-f1c5ef5b80fa","ParentSecurityGroup":"sample string 5","Kind":0,"Type":1,"ID":"23b9362c-23d0-4c91-a6d5-3a5be0599271","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">23b9362c-23d0-4c91-a6d5-3a5be0599271</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>965d902e-dbd4-414c-900e-b263267392f0</OwnerID> <ParentSecurityGroup>sample string 5</ParentSecurityGroup> <ParentSecurityGroupID>c7d22f4b-293d-43a7-b342-f1c5ef5b80fa</ParentSecurityGroupID> <Path>sample string 2</Path> <Type>Organization</Type> </SecurityGroupDTO> <SecurityGroupDTO> <ID xmlns="http://schemas.datacontract.org/2004/07/Lpp.Objects">23b9362c-23d0-4c91-a6d5-3a5be0599271</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>965d902e-dbd4-414c-900e-b263267392f0</OwnerID> <ParentSecurityGroup>sample string 5</ParentSecurityGroup> <ParentSecurityGroupID>c7d22f4b-293d-43a7-b342-f1c5ef5b80fa</ParentSecurityGroupID> <Path>sample string 2</Path> <Type>Organization</Type> </SecurityGroupDTO> </ArrayOfSecurityGroupDTO>