| GET | /v1/forms/{FormUID}/readiness |
|---|
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 FormReadinessCheck
Public Overridable Property Level As String
Public Overridable Property Text As String
Public Overridable Property FixTab As String
Public Overridable Property FixFieldKey As String
Public Overridable Property FixLabel As String
End Class
Public Partial Class FormReadinessRequest
Public Overridable Property FormUID As Guid
End Class
Public Partial Class FormReadinessResponse
Public Overridable Property Checks As List(Of FormReadinessCheck) = New List(Of FormReadinessCheck)
Public Overridable Property Changes As List(Of String) = New List(Of String)
Public Overridable Property NextVersion As Integer
Public Overridable Property IsFirstPublish As Boolean
Public Overridable Property NothingChanged As Boolean
Public Overridable Property CanPublish As Boolean
Public Overridable Property DraftRev As Integer
Public Overridable Property ResponseStatus As ResponseStatus
End Class
End Namespace
End Namespace
VB.NET FormReadinessRequest DTOs
To override the Content-type in your clients, use the HTTP Accept Header, append the .csv suffix or ?format=csv
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
GET /v1/forms/{FormUID}/readiness HTTP/1.1
Host: api.dev.dynamics.trendsic.com
Accept: text/csv
HTTP/1.1 200 OK
Content-Type: text/csv
Content-Length: length
{"Checks":[{"Level":"String","Text":"String","FixTab":"String","FixFieldKey":"String","FixLabel":"String"}],"Changes":["String"],"NextVersion":0,"IsFirstPublish":false,"NothingChanged":false,"CanPublish":false,"DraftRev":0,"ResponseStatus":{"ErrorCode":"String","Message":"String","StackTrace":"String","Errors":[{"ErrorCode":"String","FieldName":"String","Message":"String","Meta":{"String":"String"}}],"Meta":{"String":"String"}}}