Trendsic Platform Service

<back to all web services

UserVerifyEmailRequest

The following routes are available for this service:
GET,PUT,POST,OPTIONS/v1/userverifyemail
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
Imports Amazon.CognitoIdentityProvider.Model
Imports Amazon.Runtime
Imports Amazon.CognitoIdentityProvider

Namespace Global

    Namespace Amazon.CognitoIdentityProvider

        Public Partial Class ChallengeNameType
            Inherits ConstantClass
        End Class
    End Namespace

    Namespace Amazon.CognitoIdentityProvider.Model

        Public Partial Class AuthenticationResultType
            Public Overridable Property AccessToken As String
            Public Overridable Property ExpiresIn As Integer
            Public Overridable Property IdToken As String
            Public Overridable Property NewDeviceMetadata As NewDeviceMetadataType
            Public Overridable Property RefreshToken As String
            Public Overridable Property TokenType As String
        End Class

        Public Partial Class InitiateAuthResponse
            Inherits AmazonWebServiceResponse
            Public Overridable Property AuthenticationResult As AuthenticationResultType
            Public Overridable Property ChallengeName As ChallengeNameType
            Public Overridable Property ChallengeParameters As Dictionary(Of String, String) = New Dictionary(Of String, String)
            Public Overridable Property Session As String
        End Class

        Public Partial Class NewDeviceMetadataType
            Public Overridable Property DeviceGroupKey As String
            Public Overridable Property DeviceKey As String
        End Class
    End Namespace

    Namespace Amazon.Runtime

        Public Partial Class AmazonWebServiceResponse
            Public Overridable Property ResponseMetadata As ResponseMetadata
            Public Overridable Property ContentLength As Long
            Public Overridable Property HttpStatusCode As HttpStatusCode
        End Class

        Public Enum ChecksumValidationStatus
            NOT_VALIDATED
            PENDING_RESPONSE_READ
            SUCCESSFUL
            INVALID
        End Enum

        Public Partial Class ConstantClass
            Public Overridable Property Value As String
        End Class

        Public Enum CoreChecksumAlgorithm
            NONE
            CRC32C
            CRC32
            SHA256
            SHA1
        End Enum

        Public Partial Class ResponseMetadata
            Public Overridable Property RequestId As String
            Public Overridable Property Metadata As IDictionary(Of String, String)
            Public Overridable Property ChecksumAlgorithm As CoreChecksumAlgorithm
            Public Overridable Property ChecksumValidationStatus As ChecksumValidationStatus
        End Class
    End Namespace

    Namespace CRM.AgencyPlatform.API.Internal

        Public Partial Class AwsAuthResponse
            Public Overridable Property ResponseStatus As ResponseStatus
            Public Overridable Property InitiateAuthResponse As InitiateAuthResponse
            Public Overridable Property Success As Boolean
        End Class

        Public Partial Class UserVerifyEmailRequest
            Public Overridable Property UserId As Guid
            Public Overridable Property VerificationCode As String
        End Class
    End Namespace
End Namespace

VB.NET UserVerifyEmailRequest 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.

POST /v1/userverifyemail HTTP/1.1 
Host: api.dev.dynamics.trendsic.com 
Accept: text/csv
Content-Type: text/csv
Content-Length: length

{"UserId":"00000000000000000000000000000000","VerificationCode":"String"}
HTTP/1.1 200 OK
Content-Type: text/csv
Content-Length: length

{"ResponseStatus":{"ErrorCode":"String","Message":"String","StackTrace":"String","Errors":[{"ErrorCode":"String","FieldName":"String","Message":"String","Meta":{"String":"String"}}],"Meta":{"String":"String"}},"InitiateAuthResponse":{"AuthenticationResult":{"AccessToken":"String","ExpiresIn":0,"IdToken":"String","NewDeviceMetadata":{"DeviceGroupKey":"String","DeviceKey":"String"},"RefreshToken":"String","TokenType":"String"},"ChallengeName":null,"ChallengeParameters":{"String":"String"},"Session":"String","ResponseMetadata":{"RequestId":"String","Metadata":{},"ChecksumAlgorithm":"NONE","ChecksumValidationStatus":"NOT_VALIDATED"},"ContentLength":0,"HttpStatusCode":"Continue"},"Success":false}