'upload_weights' Request

The 'upload_weights' request must specify:

  • label and language of the catalog to which weights are to be uploaded

  • labels of the items for which weights are to be uploaded

  • weight labels and values

The following table describes the ‘upload_weights' request parameters.

'upload_weights' request parameters

Name

Required

Type

Description

user

Yes

struct

'user' node

label

Yes

string

technical name of the catalog to which weights are to be uploaded

language

Yes

string

language of the catalog to which weights are to be uploaded

name

Yes

string

name of the catalog to be displayed in GUI

weights

Yes

array

array of 'weight' elements, each of which contains weight to be uploaded for the specified item