Description: Retrieve networks for account
URL: http://{your-server-url}/api/v1/core/accounts/{accountid}/networks
Method: GET
Token Required: True
content-type: application/json or content-type: application/xml
token: {token}
Portal Administrator, Account Administrator, Account Owner
Type: Nexus.AppSpace.Service.Contract.Model.Enums.Rights.Rights
Right | Require |
---|---|
Network_Management | Yes |
Parameter | Type | Nullable | Description |
---|---|---|---|
name | string | True | name |
rpp | int | True | records per page, default = 50, max = 500 |
page | int | True | page number |
includesubnetwork | boolean | True | include sub networks |
networkids | int[] | True | comma separated values, eg. networkids=1,2,3 |
Example: http://{your-server-url}/api/v1/core/accounts/{accountid}/networks?name=string&rpp=100&page=100
Type: Nexus.AppSpace.Service.Contract.Messages.AppSpaceIntegration.v1.Account.AccountResponse
Parameter | Type |
---|---|
Response.Networks | Nexus.AppSpace.Service.Contract.Model.DTO.AppSpaceIntegration.v1.Networks.Network[] |
<AccountResponse xmlns="http://schemas.datacontract.org/2004/07/Nexus.AppSpace.Service.Contract.Messages.AppSpaceIntegration.v1.Account" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"> <DebugMessage xmlns="http://schemas.datacontract.org/2004/07/Nexus.AppSpace.Service.Contract.Messages">String</DebugMessage> <Errors xmlns="http://schemas.datacontract.org/2004/07/Nexus.AppSpace.Service.Contract.Messages"> <Error> <Code>String</Code> <Message>String</Message> <StackTrace>String</StackTrace> </Error> </Errors> <Status xmlns="http://schemas.datacontract.org/2004/07/Nexus.AppSpace.Service.Contract.Messages">Success</Status> <Networks xmlns:a="http://schemas.datacontract.org/2004/07/Nexus.AppSpace.Service.Contract.Model.DTO.AppSpaceIntegration.v1.Networks"> <a:Network> <a:AccountId>123</a:AccountId> <a:Guid>11111111-1111-1111-1111-111111111111</a:Guid> <a:Id>123</a:Id> <a:LastUpdate>2015-01-05T14:45:30.4020646Z</a:LastUpdate> <a:Name>String</a:Name> <a:ParentId>123</a:ParentId> </a:Network> </Networks> </AccountResponse>
{ "DebugMessage":"String", "Errors":[ { "Code":"String", "Message":"String", "StackTrace":"String" } ], "Status":1, "Networks":[ { "AccountId":123, "Guid":"11111111-1111-1111-1111-111111111111", "Id":123, "LastUpdate":"\/Date(1420469130402)\/", "Name":"String", "ParentId":123 } ] }