Trendsic Platform Service

<back to all web services

EngineWorkflowUpdateRequest

Requires Authentication
The following routes are available for this service:
PUT/v1/engine/workflows/{WorkflowId}
Imports System
Imports System.IO
Imports System.Collections
Imports System.Collections.Generic
Imports System.Runtime.Serialization
Imports ServiceStack
Imports ServiceStack.DataAnnotations
Imports CRM.AgencyPlatform.API.Internal

Namespace Global

    Namespace CRM.AgencyPlatform.API.Internal

        Public Partial Class EngineWorkflowMutationResponse
            Public Overridable Property WorkflowId As Integer
            Public Overridable Property VersionNum As Integer
            Public Overridable Property Forked As Boolean
            Public Overridable Property Status As String
            Public Overridable Property ChangeRequestId As Integer
            Public Overridable Property ResponseStatus As ResponseStatus
        End Class

        Public Partial Class EngineWorkflowUpdateRequest
            Public Overridable Property WorkflowId As Integer
            Public Overridable Property Name As String
            Public Overridable Property Description As String
            Public Overridable Property GraphJson As String
        End Class
    End Namespace
End Namespace

VB.NET EngineWorkflowUpdateRequest DTOs

To override the Content-type in your clients, use the HTTP Accept Header, append the .csv suffix or ?format=csv

HTTP + CSV

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

PUT /v1/engine/workflows/{WorkflowId} HTTP/1.1 
Host: api.dev.dynamics.trendsic.com 
Accept: text/csv
Content-Type: text/csv
Content-Length: length

{"WorkflowId":0,"Name":"String","Description":"String","GraphJson":"String"}
HTTP/1.1 200 OK
Content-Type: text/csv
Content-Length: length

{"WorkflowId":0,"VersionNum":0,"Forked":false,"Status":"String","ChangeRequestId":0,"ResponseStatus":{"ErrorCode":"String","Message":"String","StackTrace":"String","Errors":[{"ErrorCode":"String","FieldName":"String","Message":"String","Meta":{"String":"String"}}],"Meta":{"String":"String"}}}