Module Values.AssociateQualificationWithWorkerRequestSource

The AssociateQualificationWithWorker operation gives a Worker a Qualification. AssociateQualificationWithWorker does not require that the Worker submit a Qualification request. It gives the Qualification directly to the Worker. You can only assign a Qualification of a Qualification type that you created (using the CreateQualificationType operation). Note: AssociateQualificationWithWorker does not affect any pending Qualification requests for the Qualification by the Worker. If you assign a Qualification to a Worker, then later grant a Qualification request made by the Worker, the granting of the request may modify the Qualification score. To resolve a pending Qualification request without affecting the Qualification the Worker already has, reject the request with the RejectQualificationRequest operation.

Sourcetype nonrec t = {
  1. qualificationTypeId : EntityId.t;
    (*

    The ID of the Qualification type to use for the assigned Qualification.

    *)
  2. workerId : CustomerId.t;
    (*

    The ID of the Worker to whom the Qualification is being assigned. Worker IDs are included with submitted HIT assignments and Qualification requests.

    *)
  3. integerValue : Integer.t option;
    (*

    The value of the Qualification to assign.

    *)
  4. sendNotification : Boolean.t option;
    (*

    Specifies whether to send a notification email message to the Worker saying that the qualification was assigned to the Worker. Note: this is true by default.

    *)
}
Sourceval context_ : string
Sourceval make : ?integerValue:??? -> ?sendNotification:??? -> qualificationTypeId:EntityId.t -> workerId:CustomerId.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Boolean of Boolean.t | `Integer of Integer.t | `String of EntityId.t ]) list ]
Sourceval to_query : t -> Awso.Client.Query.t
Sourceval of_xml : Awso.Xml.t -> t
Sourceval of_string : string -> t
Sourceval of_json : Yojson.Safe.t -> t
Sourceval to_json : t -> Yojson.Safe.t