Skip to main content
Aria Knowledge Central

get_surcharges_m

Summary

API Name get_surcharges_m
Class administration_services_m
Update Version 6.22

Description

Returns all surcharges for a client

Inputs

Name Type Length Required Description
client_no long 12 Yes

Aria-assigned unique identifier indicating the Aria client providing service to this account.

auth_key string 32 Yes

Aria-assigned unique key to be passed with each method call for authenticating the validity of the requestor.

locale_no long 38 No

Aria-assigned unique identifier of the locale used for translations.

Alternative field: locale_name

locale_name string 32 No

Name of the locale to which the translations belong.

Alternative field: locale_no

include_translations string 5 No

Setting this flag as True will fetch the translated fields in all the locales defined. If not passed it defaults to False.

Allowed values:

Value Description
True Translated fields will be fetched in all the locales defined.
False Translation information will not be fetched.

Outputs

Name Type Length Required Description
error_code long   No

Aria-assigned error identifier. 0 indicates no error

error_msg string   No

Textual description of any error that occurred. "OK" if there was no error.

surcharges object   No

The surcharges associated with this method.

See fields below

surcharges.surcharge_translations fields

Name Type Length Required Description
locale_name string 32 No

Name of the locale to which the translations belong.

Alternative field: locale_no

locale_no long 38 No

Aria-assigned unique identifier of the locale used for translations.

Alternative field: locale_name

surcharge_no long 100 No

Surcharge Number

surcharge_name string 100 No

Surcharge Name

surcharges fields

Name Type Length Required Description
surcharge_no long 100 Yes

Surcharge Number

client_surcharge_id string 100 Yes

Client defined identifier for Surcharge.

surcharge_name string 100 Yes

Surcharge Name

surcharge_type_cd string 1 Yes

Specifies whether the discount is going to be fixed or percentage based..

Allowed values:

Value Description
F Fixed discount
S Standard percentage discount
V Volume percentage discount
currency_cd string 3 Yes

Currency for the surcharge.

scope_label string 100 Yes

Scope for the surcharge

deleteable string 1 Yes

Specifies if surcharge is deleteable or not. Y - Yes, N - No

surcharge_scope int 1 No

Specifies the surcharge application. The value will be available only for EOM Clients.

Allowed values:

Value Description
1 Surcharge can be applied to Account only.
2 Surcharge can be applied to Master plan instance only.
3 Surcharge can be applied to Account & Master plan instance.
installment_surcharge_ind int 1 No

Indicates if the surcharge should be spread over installment period. Applicable only when an item is purchased with installment. Allowable values are: 0 - Surcharge will not be spread over installment period 1 - Surcharge will be spread over installment period.

surcharge_translations object   No

Array that contains all the translated values for a given locale.

See fields below

TOP
  • Was this article helpful?