Breadcrumbs

GetUserQuotas

  • Web Service URL: https://[SERVER_ADDRESS]/QuotasWS/QuotasData.asmx

  • MPS Version: Starting with 5.3.0

Description

Get the total quotas per user

Prerequisites

Environment

NDD Print Portal 360 Server Update

To use the GetUserQuotas call, NDD Print Portal 360 Local must be updated to version 5.65.13.

Scenario

File

Full installer - 5.65.13

For environments where NDD Print Portal 360 Server is not installed


Download

Version update 5.65.12 → 5.65.13

Environments where NDD Print Portal 360 Server version 5.65.12 is installed

Download

Version update 5.65.6 → 5.65.13

Environments where NDD Print Portal 360 Server version 5.65.6 is installed

Download

Syntax

public string GetUserQuotas(
    string enterpriseName, 
    string enterpriseKey, 
    string authDomainName, 
    string authLogonName, 
    string authPassword, 
    string dateTimeStart, 
    int costAccountId, 
    bool filterByCostAccountChildren, 
    bool isCorporative, 
    short orderBy, 
    short classify, 
    string useMaxBalanceTypeBoth, 
    string useMaxBalanceTypeMono, 
    string useMaxBalanceTypeColor, 
    string useMaxBalanceTypeValue)

Parameters

  • EnterpriseName → Company name

  • EnterpriseKey → Company key

  • AuthDomainName → Administrator user domain (ADMIN MASTER)

  • AuthLogonName → Nome de login do usuário administrador (ADMIN MASTER)

  • AuthPassword → Encrypted administrator user password

  • DateTimeStart → Initial date for search (yyyy-MM-dd)

  • CostAccountId → Account ID for filter

  • FilterByCostAccountChildren → Filter by child accounts (true/false)

  • IsCorporative → Filter by corporate or private quota

  • AccountIDOwner → Administrator user ID (same as AuthLogonName)

  • OrderBy → Sorting field

  • Classify → Ascending or descending order

  • UseMaxBalanceTypeBoth → Maximum balance per page (general)

  • UseMaxBalanceTypeMono → Maximum monochrome balance

  • UseMaxBalanceTypeColor → Maximum color balance

  • UseMaxBalanceTypeValue → Maximum balance per currency

Possible values for the OrderBy and Classify parameters

OrderBy:

  • 0 → Users

  • 1 → Accounts

  • 2 → Debits

  • 3 → Credits

  • 4 → Expired credits

  • 5 → Current balance
    (Any other value returns users as default)

Classify:

  • 1 → Descending

  • 2 → Ascending

Return fields

Click here to learn more about working with returns.

Possible errors returned by the server

Click here to check the possible errors that may be returned and learn about their reasons.