| DELETE | /v1/forms/{FormUID}/invites/{InviteUID} |
|---|
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 FormFillReceiptLine
Public Overridable Property Channel As String
Public Overridable Property [To] As String
Public Overridable Property Outcome As String
End Class
Public Partial Class FormInviteRevokeRequest
Public Overridable Property FormUID As Guid
Public Overridable Property InviteUID As Guid
End Class
Public Partial Class FormInvitesResponse
Public Overridable Property Invites As List(Of FormInviteView) = New List(Of FormInviteView)
Public Overridable Property Created As List(Of FormInviteView) = New List(Of FormInviteView)
Public Overridable Property Emails As Integer
Public Overridable Property Texts As Integer
Public Overridable Property Consequence As String
Public Overridable Property ResponseStatus As ResponseStatus
End Class
Public Partial Class FormInviteView
Public Overridable Property InviteUID As Guid
Public Overridable Property Name As String
Public Overridable Property Email As String
Public Overridable Property Phone As String
Public Overridable Property CreatedBy As String
Public Overridable Property CreatedAt As Date?
Public Overridable Property ExpiresAt As Date?
Public Overridable Property SentAt As Date?
Public Overridable Property LastSentAt As Date?
Public Overridable Property SendCount As Integer
Public Overridable Property OpenedAt As Date?
Public Overridable Property RevokedAt As Date?
Public Overridable Property Number As String
Public Overridable Property State As String
Public Overridable Property Link As String
Public Overridable Property Sends As List(Of FormFillReceiptLine) = New List(Of FormFillReceiptLine)
End Class
End Namespace
End Namespace
VB.NET FormInviteRevokeRequest DTOs
To override the Content-type in your clients, use the HTTP Accept Header, append the .json suffix or ?format=json
To embed the response in a jsonp callback, append ?callback=myCallback
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
DELETE /v1/forms/{FormUID}/invites/{InviteUID} HTTP/1.1
Host: api.dev.dynamics.trendsic.com
Accept: application/json
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: length
{"Invites":[{"InviteUID":"00000000000000000000000000000000","Name":"String","Email":"String","Phone":"String","CreatedBy":"String","CreatedAt":"0001-01-01T00:00:00.0000000","ExpiresAt":"0001-01-01T00:00:00.0000000","SentAt":"0001-01-01T00:00:00.0000000","LastSentAt":"0001-01-01T00:00:00.0000000","SendCount":0,"OpenedAt":"0001-01-01T00:00:00.0000000","RevokedAt":"0001-01-01T00:00:00.0000000","Number":"String","State":"String","Link":"String","Sends":[{"Channel":"String","To":"String","Outcome":"String"}]}],"Created":[{"InviteUID":"00000000000000000000000000000000","Name":"String","Email":"String","Phone":"String","CreatedBy":"String","CreatedAt":"0001-01-01T00:00:00.0000000","ExpiresAt":"0001-01-01T00:00:00.0000000","SentAt":"0001-01-01T00:00:00.0000000","LastSentAt":"0001-01-01T00:00:00.0000000","SendCount":0,"OpenedAt":"0001-01-01T00:00:00.0000000","RevokedAt":"0001-01-01T00:00:00.0000000","Number":"String","State":"String","Link":"String","Sends":[{"Channel":"String","To":"String","Outcome":"String"}]}],"Emails":0,"Texts":0,"Consequence":"String","ResponseStatus":{"ErrorCode":"String","Message":"String","StackTrace":"String","Errors":[{"ErrorCode":"String","FieldName":"String","Message":"String","Meta":{"String":"String"}}],"Meta":{"String":"String"}}}