Module Values.RejectAssignmentResponseSource

The RejectAssignment operation rejects the results of a completed assignment. You can include an optional feedback message with the rejection, which the Worker can see in the Status section of the web site. When you include a feedback message with the rejection, it helps the Worker understand why the assignment was rejected, and can improve the quality of the results the Worker submits in the future. Only the Requester who created the HIT can reject an assignment for the HIT.

Sourcetype nonrec t = unit
Sourcetype nonrec error = [
  1. | `RequestError of RequestError.t
  2. | `ServiceFault of ServiceFault.t
  3. | `Unknown_operation_error of string * string option
]
Sourceval make : unit -> unit
Sourceval error_of_json : string -> Yojson.Safe.t -> [> `RequestError of RequestError.t | `ServiceFault of ServiceFault.t | `Unknown_operation_error of string * string option ]
Sourceval error_of_xml : string -> Awso.Xml.t -> [> `RequestError of RequestError.t | `ServiceFault of ServiceFault.t | `Unknown_operation_error of string * string option ]
Sourceval error_to_json : error -> Yojson.Safe.t
Sourceval of_header_and_body : ('a * 'b) -> unit
Sourceval to_value : 'a -> [> `Structure of 'b list ]
Sourceval to_query : 'a -> Awso.Client.Query.t
Sourceval of_xml : 'a -> unit
Sourceval of_string : string -> unit
Sourceval of_json : 'a -> unit
Sourceval to_json : 'a -> Yojson.Safe.t