Trendsic Platform Service

<back to all web services

GetProvisionOptionsRequest

Requires Authentication
The following routes are available for this service:
GET/v1/provision/options
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 GetProvisionOptionsRequest
        End Class

        Public Partial Class PackOption
            Public Overridable Property Code As String
            Public Overridable Property Name As String
            Public Overridable Property PackId As Guid
        End Class

        Public Partial Class ProvisionOptions
            Public Overridable Property Packs As List(Of PackOption) = New List(Of PackOption)
            Public Overridable Property TimeZones As List(Of String) = New List(Of String)
            Public Overridable Property RoleTemplates As List(Of RoleTemplate) = New List(Of RoleTemplate)
            Public Overridable Property StarterCatalog As List(Of StarterCatalogItem) = New List(Of StarterCatalogItem)
            Public Overridable Property ResponseStatus As ResponseStatus
        End Class

        Public Partial Class RoleTemplate
            Public Overridable Property Name As String
            Public Overridable Property Description As String
        End Class

        Public Partial Class StarterCatalogItem
            Public Overridable Property Name As String
            Public Overridable Property Rate As Decimal
        End Class
    End Namespace
End Namespace

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

GET /v1/provision/options HTTP/1.1 
Host: api.dev.dynamics.trendsic.com 
Accept: text/csv
HTTP/1.1 200 OK
Content-Type: text/csv
Content-Length: length

{"Packs":[{"Code":"String","Name":"String","PackId":"00000000000000000000000000000000"}],"TimeZones":["String"],"RoleTemplates":[{"Name":"String","Description":"String"}],"StarterCatalog":[{"Name":"String","Rate":0}],"ResponseStatus":{"ErrorCode":"String","Message":"String","StackTrace":"String","Errors":[{"ErrorCode":"String","FieldName":"String","Message":"String","Meta":{"String":"String"}}],"Meta":{"String":"String"}}}