Ariba Sourcing · JSON Structure

External Approval Api Approval Action Request Structure

Request body for submitting an approval action.

Type: object Properties: 4 Required: 3
ApprovalsAuctionsB2BContractsProcurementRFxSAPSourcingSupplier ManagementSupply Chain

ApprovalActionRequest is a JSON Structure definition published by Ariba Sourcing, describing 4 properties, of which 3 are required. It conforms to the https://json-structure.org/meta/core/v0/# meta-schema.

Properties

taskId action userId comment

Meta-schema: https://json-structure.org/meta/core/v0/#

JSON Structure

Raw ↑
{
  "$schema": "https://json-structure.org/meta/core/v0/#",
  "$id": "https://raw.githubusercontent.com/api-evangelist/ariba-sourcing/refs/heads/main/json-structure/external-approval-api-approval-action-request-structure.json",
  "name": "ApprovalActionRequest",
  "description": "Request body for submitting an approval action.",
  "type": "object",
  "properties": {
    "taskId": {
      "type": "string",
      "description": "Task identifier.",
      "example": "TASK-500123"
    },
    "action": {
      "type": "string",
      "description": "Action to take.",
      "enum": [
        "approve",
        "deny"
      ],
      "example": "approve"
    },
    "userId": {
      "type": "string",
      "description": "User ID submitting the action.",
      "example": "jsmith@example.com"
    },
    "comment": {
      "type": "string",
      "description": "Optional comment for the action.",
      "example": "Approved per procurement policy."
    }
  },
  "required": [
    "taskId",
    "action",
    "userId"
  ]
}