Retrieve A form.
Retrieve a form.
Request
URI
GET
https://{api_host}/approval-service/api/cafe-forms/forms/{formId}/{instanceId}
COPY
Path Parameters
string
formId
Required
The form id
string
instanceId
Required
The instance id
Query Parameters
object
Responses
200
successful operation
Returns form of type(s) */*
{
"layout": {
"pages": [
{
"id": "string",
"label": "string",
"state": {
"dependencies": [
"string"
],
"facets": [
{}
]
},
"sections": [
{
"id": "string",
"label": "string",
"state": {
"dependencies": [
"string"
],
"facets": [
{}
]
},
"rows": [
{
"items": [
{
"size": 0
}
]
}
]
}
]
}
]
},
"fieldPrefixes": [
"string"
],
"values": {
"entries": [
{
"key": "string"
}
]
}
}
array of string
fieldPrefixes
Optional
fieldPrefixes
Approval Policy Operations
POST
Creates A new approval policy.
DELETE
Deletes An approval policy.
GET
Lists the approval policies.
GET
Retrieve A form.
POST
Retrieves A paged list Of permissible values that can Be assigned To A specific field.
GET
Retrieves An approval policy.
POST
Retrieves the updated state Of one Or more layout elements In response To change In one Or more layout fields' values.
PUT
Updates An Approval Policy while ignoring few Of the validations. This Is An internal API which Is used for upgrade.
PUT
Updates An approval policy.