Form Type REST Endpoint

Last modified 13 Mar 2024 13:32 +01:00

Description

Here we are describing the Form object type in relation to midPoints REST API. The Form objects are a part of the REST API web resources.

Endpoint
forms/

Operations And Examples

The Form Type endpoint operations and examples.

In our examples we are authenticating with the credentials, name "administrator" and password "y0uR_P455woR*d" on a localhost instance running on port 8080.

For some help regarding the REST examples please see this link:

Create Form Type Object

Get Form Type Objects

Get operation for fetching a single specific object.

Search for Form Type Objects

Search operation usable for fetching the full list of objects or a list based on filter.

Show data source example for "Search for all" | GitHub
{
  "query" : ""
}

The response is an HTTP 200 code in case of success with a response body containing the queried items.

Example Output is a list of objects.
{
  "@ns" : "http://prism.evolveum.com/xml/ns/public/types-3",
  "object" : {
    "@type" : "http://midpoint.evolveum.com/xml/ns/public/common/api-types-3#ObjectListType",
    "object" : [ {
      "@type" : "",
      "oid" : "",
      "version" : "",
      "name" : "",
      "metadata" : {},
      "operationExecution": {},
      "indestructible": ,
      "iteration" : ,
      "iterationToken" : "",
      "archetypeRef": {},
      "roleMembershipRef": {},
      "activation": {}
    }, {
      "@type" : "",
      "oid" : "",
      "version" : "",
      "name" : "",
      "metadata" : {},
      "operationExecution": {},
      "indestructible": ,
      "iteration" : ,
      "iterationToken" : "",
      "archetypeRef": {},
      "roleMembershipRef": {},
      "activation": {}
    } ]
  }
}

Modify Form Type Objects

Delete Form Type Objects

Generate and Validate Operations for Form Type Objects

Operations to generate or validate values.

JSON Example

Example output of information regarding a specific Form object. Metadata is usually a part of the output, yet it was removed for the purpose of the example.

Show JSON Example
{
	"form": {
		"oid": "68d62d41-9170-4997-89ca-c5c455548fa1",
		"version": "1",
		"name": "Registration form",
		"metadata": {},
		"operationExecution": {},
		"iteration": 0,
		"iterationToken": "",
		"formDefinition": {}
	}
}
Was this page helpful?
YES NO
Thanks for your feedback