Module Values.ApproveAssignmentResponseSource

The ApproveAssignment operation approves the results of a completed assignment. Approving an assignment initiates two payments from the Requester's Amazon.com account The Worker who submitted the results is paid the reward specified in the HIT. Amazon Mechanical Turk fees are debited. If the Requester's account does not have adequate funds for these payments, the call to ApproveAssignment returns an exception, and the approval is not processed. You can include an optional feedback message with the approval, which the Worker can see in the Status section of the web site. You can also call this operation for assignments that were previous rejected and approve them by explicitly overriding the previous rejection. This only works on rejected assignments that were submitted within the previous 30 days and only if the assignment's related HIT has not been deleted.

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