saveSubsidyType

Create or update a subsidy type.

API user must have the rights to manage Subsidy types.

This API call returns error 1006 if "Price list row subsidy and other fields module" is not enabled on this account.
It is required to add at least one name parameter. It can be either the general "name" parameter or any of the name parameters with a language code (e.g. "nameENG").

To find subsidy types, use the getSubsidyTypes API call.
To delete subsidy types, use the deleteSubsidyType API call.

Input parameters

Parameter name Description Possible value Required
subsidyTypeID Subsidy type ID. If this parameter is present, then the specified type is updated. integer
code Subsidy type code. string
name Subsidy type name. Use either general parameter "name" or one or more of the following parameters if you need to set the names in specific languages. string
nameENG string
nameSPA string
nameGER string
nameSWE string
nameFIN string
nameRUS string
nameEST string
nameLAT string
nameLIT string
nameGRE string

Response

Field name Type Description
subsidyTypeID integer ID of the newly-created item.