GET | /values/endpoint/unique |
---|
Imports System
Imports System.IO
Imports System.Collections
Imports System.Collections.Generic
Imports System.Runtime.Serialization
Imports ServiceStack
Imports ServiceStack.DataAnnotations
Imports Voice.Api.Flows.Values
Namespace Global
Namespace Voice.Api.Flows.Values
'''<Summary>
'''Get a unique number string value for an endpoint field
'''</Summary>
<Api(Description:="Get a unique number string value for an endpoint field")>
Public Partial Class GetUniqueEndpointValue
'''<Summary>
'''The account ID you are interested in
'''</Summary>
<ApiMember(Description:="The account ID you are interested in")>
Public Overridable Property AccountId As String
'''<Summary>
'''The endpoint field you want a unique value for
'''</Summary>
<ApiMember(Description:="The endpoint field you want a unique value for")>
Public Overridable Property FieldName As String
'''<Summary>
'''The prefix to use for the value
'''</Summary>
<ApiMember(Description:="The prefix to use for the value")>
Public Overridable Property Prefix As String
'''<Summary>
'''The length of the value
'''</Summary>
<ApiMember(Description:="The length of the value")>
Public Overridable Property Length As Integer
End Class
Public Partial Class GetUniqueEndpointValueResponse
Public Overridable Property Value As String
End Class
End Namespace
End Namespace
VB.NET GetUniqueEndpointValue DTOs
To override the Content-type in your clients, use the HTTP Accept Header, append the .other suffix or ?format=other
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
GET /values/endpoint/unique HTTP/1.1 Host: team.evovoice.io Accept: text/jsonl
HTTP/1.1 200 OK Content-Type: text/jsonl Content-Length: length {"value":"String"}