Skip to main content

MGCEarmarkApproveClaimService.approveClaimWire

The JSON service operation approveClaim: answers the call and counts it.

  • HTTP method: POST
  • Route: /api/services/MGCEarmarkServiceGroup/MGCEarmarkApproveClaimService/approveClaim
  • Service class: MGCEarmarkApproveClaimService

Parameters​

NameTypeOptionalDescription
_requestMGCEarmarkApproveClaimWireRequestNoThe wire request.

Returns​

MGCEarmarkApproveClaimWireResult

The wire result: what happened, or the verdicts that prevented it.

Security​

  • Requires privilege MGCEarmarkClaimApprovePriv

Data contracts​

The data contracts this operation takes and returns, with their members. A member whose type is another data contract links to that contract below.

MGCEarmarkApproveClaimWireRequest​

The JSON request of the Conduit operation approveClaim.

MemberTypeListDescription
CompanystrNoGets or sets the legal entity the claim belongs to; blank means the session company.
ClaimIdstrNoGets or sets the claim id; the first half of the idempotency key.
WorkflowInstanceIdstrNoGets or sets the workflow instance id as GUID text; the second half of the idempotency key.
CommentstrNoGets or sets the approver's comment, carried onto the claim's timeline.

MGCEarmarkApproveClaimWireResult​

The JSON result of the Conduit operation approveClaim.

MemberTypeListDescription
ApprovedbooleanNoGets or sets whether the claim is approved after this call.
AlreadyApprovedbooleanNoGets or sets whether the claim was approved before this call; nothing was posted by it.
CreditedbooleanNoGets or sets whether the customer credit has posted.
ClaimIdstrNoGets or sets the claim id the call named.
WorkflowInstanceIdstrNoGets or sets the workflow instance id the call named, as GUID text without braces.
VerdictsList of MGCEarmarkWireVerdictYesGets or sets the verdicts, in the order they were stated.

MGCEarmarkWireVerdict​

One verdict as the Conduit JSON services carry it: Id, Type and Message.

MemberTypeListDescription
IdstrNoGets or sets the verdict's label id: the stable key a caller branches on.
TypestrNoGets or sets the disposition: Blocking or Informational.
MessagestrNoGets or sets the rendered sentence.