Trendsic Platform Service

<back to all web services

CalendarResourceViewRequest

The following routes are available for this service:
POST,OPTIONS/v1/Calendar/ResourceView
import java.math.*
import java.util.*
import java.io.InputStream
import net.servicestack.client.*


open class CalendarResourceViewRequest
{
    open var StartDate:Date? = null
    open var EndDate:Date? = null
    open var Inverse:Boolean? = null
    open var ResourceOnly:Boolean? = null
    open var ShowEquipment:Boolean? = null
    open var ShowWorkers:Boolean? = null
    open var ContactId:Int? = null
    open var ContactName:String? = null
    open var ContactTag:String? = null
    open var EquipmentId:Int? = null
    open var EquipmentName:String? = null
    open var EquipmentSN:String? = null
}

Kotlin CalendarResourceViewRequest 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/Calendar/ResourceView HTTP/1.1 
Host: api.dev.dynamics.trendsic.com 
Accept: text/csv
Content-Type: text/csv
Content-Length: length

{"StartDate":"0001-01-01T00:00:00.0000000","EndDate":"0001-01-01T00:00:00.0000000","Inverse":false,"ResourceOnly":false,"ShowEquipment":false,"ShowWorkers":false,"ContactId":0,"ContactName":"String","ContactTag":"String","EquipmentId":0,"EquipmentName":"String","EquipmentSN":"String"}