Evo Voice

<back to all web services

AppGetScheduleInformation

Requires Authentication
The following routes are available for this service:
All Verbs/portal/schedule
namespace Voice.Api.App.Portal

open System
open System.Collections
open System.Collections.Generic
open System.Runtime.Serialization
open ServiceStack
open ServiceStack.DataAnnotations

    [<AllowNullLiteral>]
    type AppGetScheduleInformation() = 
        member val AccountId:String = null with get,set
        member val CustomerId:String = null with get,set
        member val EndpointId:String = null with get,set

    [<AllowNullLiteral>]
    type AppScheduleInformation() = 
        member val TimeZoneId:String = null with get,set
        member val CustomerStates:ResizeArray<String> = new ResizeArray<String>() with get,set

F# AppGetScheduleInformation DTOs

To override the Content-type in your clients, use the HTTP Accept Header, append the .jsv suffix or ?format=jsv

HTTP + JSV

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

POST /portal/schedule HTTP/1.1 
Host: evovoice.io 
Accept: text/jsv
Content-Type: text/jsv
Content-Length: length

{
	accountId: String,
	customerId: String,
	endpointId: String
}
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length

{
	timeZoneId: String,
	customerStates: 
	[
		String
	]
}