Complete Enrollment

post
Path parameters
idstringRequired
Body
templateall ofOptional
externalIdsall ofOptional
Responses
200
OK
application/json
post
POST /public/v1/program/enrollments/{id}/complete HTTP/1.1
Host: api.platform.softwareone.com
Content-Type: application/json
Accept: */*
Content-Length: 58

{
  "template": {
    "id": "text"
  },
  "externalIds": {
    "vendor": "text"
  }
}
{
  "id": "text",
  "audit": {
    "created": {
      "at": "2025-06-27T08:46:55.341Z",
      "by": "[Circular Reference]"
    },
    "updated": {
      "at": "2025-06-27T08:46:55.341Z",
      "by": "[Circular Reference]"
    },
    "processing": {
      "at": "2025-06-27T08:46:55.341Z",
      "by": "[Circular Reference]"
    },
    "querying": {
      "at": "2025-06-27T08:46:55.341Z",
      "by": "[Circular Reference]"
    },
    "completed": {
      "at": "2025-06-27T08:46:55.341Z",
      "by": "[Circular Reference]"
    },
    "failed": {
      "at": "2025-06-27T08:46:55.341Z",
      "by": "[Circular Reference]"
    }
  },
  "$meta": {
    "omitted": [
      "text"
    ]
  },
  "certificate": {
    "id": "text",
    "name": "text"
  },
  "program": {
    "id": "text",
    "name": "text",
    "status": "None",
    "applicableTo": "Buyer",
    "products": [
      {
        "id": "text",
        "audit": "[Circular Reference]",
        "$meta": {
          "omitted": [
            "text"
          ]
        },
        "name": "text",
        "shortDescription": "text",
        "longDescription": "text",
        "externalIds": {
          "operations": "text"
        },
        "website": "text",
        "icon": "text",
        "status": "text",
        "vendor": {
          "id": "text",
          "icon": "text",
          "type": "Client",
          "status": "Active",
          "name": "text"
        },
        "settings": {
          "productOrdering": true,
          "productRequests": {
            "enabled": true,
            "name": "text",
            "label": "text"
          },
          "itemSelection": true,
          "orderQueueChanges": true,
          "preValidation": {
            "purchaseOrderDraft": true,
            "purchaseOrderQuerying": true,
            "changeOrderDraft": true,
            "configurationOrderDraft": true,
            "terminationOrder": true,
            "productRequest": true
          },
          "splitBilling": {
            "enabled": true,
            "type": "text"
          },
          "subscriptionCessation": {
            "enabled": true,
            "mode": "Termination"
          }
        },
        "statistics": {
          "itemCount": 1,
          "ordersPlacedCount": 1,
          "agreementCount": 1,
          "subscriptionCount": 1,
          "requestCount": 1
        }
      }
    ]
  },
  "applicableTo": "text",
  "type": "text",
  "buyer": {
    "id": "text",
    "icon": "text",
    "name": "text"
  },
  "licensee": {
    "id": "text",
    "icon": "text",
    "name": "text",
    "externalId": "text"
  },
  "eligibility": {
    "client": true,
    "partner": true
  },
  "status": "text",
  "notes": "text",
  "statusNotes": {
    "id": "text",
    "message": "text",
    "parameters": null
  },
  "assignee": {
    "id": "text",
    "icon": "text",
    "name": "text"
  },
  "parameters": {
    "ordering": [
      {
        "id": "text",
        "externalId": "text",
        "name": "text",
        "type": "SingleLineText",
        "phase": "Order",
        "error": {
          "id": "text",
          "message": "text",
          "parameters": null
        },
        "constraints": {
          "hidden": true,
          "readonly": true,
          "required": true
        },
        "displayValue": "text",
        "value": null
      }
    ],
    "fulfillment": [
      {
        "id": "text",
        "externalId": "text",
        "name": "text",
        "type": "SingleLineText",
        "phase": "Order",
        "error": {
          "id": "text",
          "message": "text",
          "parameters": null
        },
        "constraints": {
          "hidden": true,
          "readonly": true,
          "required": true
        },
        "displayValue": "text",
        "value": null
      }
    ]
  },
  "error": {
    "id": "text",
    "message": "text",
    "parameters": null
  },
  "template": {
    "id": "text",
    "name": "text",
    "type": "CertificateActivated"
  }
}

Last updated

Was this helpful?