Requires any of the roles: | Admin, TeamAdmin, MobileApp | Requires the permission: | ReadData |
GET POST | /phoneverification/verification/{RequestId}/{Code} | ||
---|---|---|---|
GET POST | /phoneverification/verification/{RequestId}/{Code}/{Path} |
Imports System
Imports System.Collections
Imports System.Collections.Generic
Imports System.Runtime.Serialization
Imports ServiceStack
Imports ServiceStack.DataAnnotations
Imports TicketUserServices.ServiceModel
Namespace Global
Namespace TicketUserServices.ServiceModel
Public Partial Class ConfirmPhoneVerificationRequest
Public Overridable Property Code As String
Public Overridable Property RequestId As String
Public Overridable Property Path As String
Public Overridable Property SenderVerification As String
Public Overridable Property RequestUnixUTCTimeStamp As Long
Public Overridable Property Signature As RequestSignature
End Class
Public Partial Class PhoneVerificationResult
Public Overridable Property Token As String
Public Overridable Property CodeMatches As Boolean
Public Overridable Property StatusCode As Integer
Public Overridable Property StatusMessage As String
End Class
Public Partial Class RequestSignature
Public Overridable Property SystemId As String
Public Overridable Property SystemSecret As String
Public Overridable Property Signature As String
End Class
End Namespace
End Namespace
VB.NET ConfirmPhoneVerificationRequest DTOs
To override the Content-type in your clients, use the HTTP Accept Header, append the .jsv suffix or ?format=jsv
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
POST /phoneverification/verification/{RequestId}/{Code} HTTP/1.1
Host: stubbur-autoupdates-live.smartnewapis.com
Accept: text/jsv
Content-Type: text/jsv
Content-Length: length
{
code: String,
requestId: String,
path: String,
senderVerification: String,
requestUnixUTCTimeStamp: 0,
signature:
{
systemId: String,
systemSecret: String,
signature: String
}
}
HTTP/1.1 200 OK Content-Type: text/jsv Content-Length: length { token: String, codeMatches: False, statusCode: 0, statusMessage: String }