Description: Get media zone allocations total count
URL: http://{your-server-url}/api/v1/core/datasources/mediazones/allocations/count
Method: GET
Token Required: True
currentaccountid: {accountid - optional and default value is user's own account}
content-type: application/json or content-type: application/xml
token: {token}
Parameter | Type | Nullable | Description |
---|---|---|---|
appids | int[] | True | comma separated values, eg. appids=1,2,3 |
mediazoneids | int[] | True | comma separated values, eg. mediazoneids=1,2,3 |
ugids | int[] | True | user group ids, comma separated values, eg. mediazoneids=1,2,3 |
Example: http://{your-server-url}/api/v1/core/datasources/mediazones/allocations/count?appids=1,2,3&mediazoneids=1,2,3&ugids=1,2,3
Type: Nexus.AppSpace.Service.Contract.Messages.AppSpaceIntegration.v1.Datasource.DatasourceResponse
Parameter | Type |
---|---|
Response.Count | int |
<DatasourceResponse xmlns="http://schemas.datacontract.org/2004/07/Nexus.AppSpace.Service.Contract.Messages.AppSpaceIntegration.v1.Datasource" 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> <Count>123</Count> </DatasourceResponse>
{ "DebugMessage":"String", "Errors":[ { "Code":"String", "Message":"String", "StackTrace":"String" } ], "Status":1, "Count":123 }