Search

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 nameDescriptionPossible valueRequired
subsidyTypeIDSubsidy type ID. If this parameter is present, then the specified type is updated.Integer
codeSubsidy type code.String
nameSubsidy 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
nameESTString
nameENGString
nameLATString
nameFINString
nameRUSString
nameGREString

Response

Field nameTypeDescription
subsidyTypeIDIntegerID of the newly-created item.