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
| Name | Type | Optional | Description |
|---|---|---|---|
_request | MGCEarmarkApproveClaimWireRequest | No | The 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.
| Member | Type | List | Description |
|---|---|---|---|
Company | str | No | Gets or sets the legal entity the claim belongs to; blank means the session company. |
ClaimId | str | No | Gets or sets the claim id; the first half of the idempotency key. |
WorkflowInstanceId | str | No | Gets or sets the workflow instance id as GUID text; the second half of the idempotency key. |
Comment | str | No | Gets or sets the approver's comment, carried onto the claim's timeline. |
MGCEarmarkApproveClaimWireResult
The JSON result of the Conduit operation approveClaim.
| Member | Type | List | Description |
|---|---|---|---|
Approved | boolean | No | Gets or sets whether the claim is approved after this call. |
AlreadyApproved | boolean | No | Gets or sets whether the claim was approved before this call; nothing was posted by it. |
Credited | boolean | No | Gets or sets whether the customer credit has posted. |
ClaimId | str | No | Gets or sets the claim id the call named. |
WorkflowInstanceId | str | No | Gets or sets the workflow instance id the call named, as GUID text without braces. |
Verdicts | List of MGCEarmarkWireVerdict | Yes | Gets or sets the verdicts, in the order they were stated. |
MGCEarmarkWireVerdict
One verdict as the Conduit JSON services carry it: Id, Type and Message.
| Member | Type | List | Description |
|---|---|---|---|
Id | str | No | Gets or sets the verdict's label id: the stable key a caller branches on. |
Type | str | No | Gets or sets the disposition: Blocking or Informational. |
Message | str | No | Gets or sets the rendered sentence. |