Validates Move on Board settings and reads the applicable typed paths, Boards and statuses.
POST
/api/workspace/workflow/configuration/workflow-definitions/{workflowDefinitionId}/move-on-board-authoring
using System.Net.Http.Headers;var client = new HttpClient();var request = new HttpRequestMessage{ Method = HttpMethod.Post, RequestUri = new Uri("https://example.com/api/workspace/workflow/configuration/workflow-definitions/example/move-on-board-authoring"), Headers = { { "Authorization", "Bearer <token>" }, }, Content = new StringContent("{ \"SourceKind\": 0, \"BoardId\": \"example\", \"BoardItemId\": \"example\", \"TargetEntityDefinitionId\": \"example\", \"Path\": [ \"example\" ], \"DestinationStatusId\": \"example\", \"SourceStatusId\": \"example\" }") { Headers = { ContentType = new MediaTypeHeaderValue("application/json") } }};using (var response = await client.SendAsync(request)){ response.EnsureSuccessStatusCode(); var body = await response.Content.ReadAsStringAsync(); Console.WriteLine(body);}const url = 'https://example.com/api/workspace/workflow/configuration/workflow-definitions/example/move-on-board-authoring';const options = { method: 'POST', headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'}, body: '{"SourceKind":0,"BoardId":"example","BoardItemId":"example","TargetEntityDefinitionId":"example","Path":["example"],"DestinationStatusId":"example","SourceStatusId":"example"}'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request POST \ --url https://example.com/api/workspace/workflow/configuration/workflow-definitions/example/move-on-board-authoring \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "SourceKind": 0, "BoardId": "example", "BoardItemId": "example", "TargetEntityDefinitionId": "example", "Path": [ "example" ], "DestinationStatusId": "example", "SourceStatusId": "example" }'Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”workflowDefinitionId
required
string
Query Parameters
Section titled “Query Parameters”access_token
string
Optional access token for clients that cannot set Authorization headers. Prefer Authorization: Bearer <token> when possible.
Request Body
Section titled “Request Body”HTTP settings for the Move on Board editor; omitted members remain missing in Drafts.
object
SourceKind
integer format: int32
BoardId
string
BoardItemId
string
TargetEntityDefinitionId
string
Path
Array<string>
DestinationStatusId
string
SourceStatusId
string
HTTP settings for the Move on Board editor; omitted members remain missing in Drafts.
object
SourceKind
integer format: int32
BoardId
string
BoardItemId
string
TargetEntityDefinitionId
string
Path
Array<string>
DestinationStatusId
string
SourceStatusId
string
HTTP settings for the Move on Board editor; omitted members remain missing in Drafts.
object
SourceKind
integer format: int32
BoardId
string
BoardItemId
string
TargetEntityDefinitionId
string
Path
Array<string>
DestinationStatusId
string
SourceStatusId
string
Responses
Section titled “Responses”OK
Media typeapplication/json
object
Data
object
CanSave
boolean
CanPublish
boolean
Diagnostics
Array<object>
object
Code
string
Path
string
Message
string
Line
integer format: int32
Column
integer format: int32
ExpressionStart
integer format: int32
ExpressionEnd
integer format: int32
PublicationDiagnostics
Array<object>
object
Code
string
Path
string
Message
string
Line
integer format: int32
Column
integer format: int32
ExpressionStart
integer format: int32
ExpressionEnd
integer format: int32
SourceKinds
Array<integer>
TargetEntityDefinitions
Array<object>
object
Id
string
DisplayName
string
Boards
Array<object>
object
Id
string
DisplayName
string
Statuses
Array<object>
object
Id
string
DisplayName
string
NextPaths
Array<object>
object
DisplayName
string
Path
Array<string>
Collection
boolean
Errors
Array<object>
object
Code
required
string
Message
required
string
Target
string
Field
string
Metadata
object
key
additional properties
string
Type
integer format: int32
Severity
integer format: int32
Warnings
Array<object>
object
Code
required
string
Message
required
string
Target
string
Field
string
Metadata
object
key
additional properties
string
Type
integer format: int32
Severity
integer format: int32
Success
boolean
Example
{ "Data": { "SourceKinds": [ 0 ] }, "Errors": [ { "Type": 0, "Severity": 0 } ], "Warnings": [ { "Type": 0, "Severity": 0 } ]}