Skip to main content
POST
/
api
/
document-transitions
Create DocumentTransition
curl --request POST \
  --url https://platform.kodexa.ai/api/document-transitions \
  --header 'Content-Type: application/json' \
  --header 'x-api-key: <api-key>' \
  --data '
{
  "actor": {},
  "changeSequence": 123,
  "createdOn": "2023-11-07T05:31:56Z",
  "dateTime": "2023-11-07T05:31:56Z",
  "destinationContentObjectId": "<string>",
  "id": "<string>",
  "index": 123,
  "label": "<string>",
  "sourceContentObjectId": "<string>",
  "transitionType": "<string>",
  "updatedOn": "2023-11-07T05:31:56Z",
  "uuid": "<string>"
}
'
{
  "actor": {},
  "changeSequence": 123,
  "createdOn": "2023-11-07T05:31:56Z",
  "dateTime": "2023-11-07T05:31:56Z",
  "destinationContentObjectId": "<string>",
  "id": "<string>",
  "index": 123,
  "label": "<string>",
  "sourceContentObjectId": "<string>",
  "transitionType": "<string>",
  "updatedOn": "2023-11-07T05:31:56Z",
  "uuid": "<string>"
}

Authorizations

x-api-key
string
header
required

API key for authentication. Create one from the Kodexa platform UI under Settings > Access Tokens.

Body

application/json

A document transition records a state change of a document through processing stages.

actor
object
changeSequence
integer<int32>
createdOn
string<date-time>
dateTime
string<date-time> | null
destinationContentObjectId
string | null
id
string
index
integer<int32>
label
string
sourceContentObjectId
string | null
transitionType
string
updatedOn
string<date-time>
uuid
string

Response

Created DocumentTransition

A document transition records a state change of a document through processing stages.

actor
object
changeSequence
integer<int32>
createdOn
string<date-time>
dateTime
string<date-time> | null
destinationContentObjectId
string | null
id
string
index
integer<int32>
label
string
sourceContentObjectId
string | null
transitionType
string
updatedOn
string<date-time>
uuid
string