createMethod(itcoa_segments, primary_segment, amount, amount_type, order)

This API creates an allocation method with the specified values for the segments, the amount, and the amount type.

Table 1. Parameters
Name Type Description
itcoa_segments string The values for the segments defined in the IT Chart of Accounts.
primary_segment string The primary segment to which the expense is allocated.
amount number The percentage or the fixed amount for this method.
amount_type string The way the amount is broken down: percentage or fixed.
order number The order number for the method. Each method must have a unique order number.
Table 2. Returns
Type Description
Gliderecord The newly created record for the cost allocation method.