| 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 .jsv suffix or ?format=jsv
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/jsv
Content-Type: text/jsv
Content-Length: length
{
StartDate: 0001-01-01,
EndDate: 0001-01-01,
Inverse: False,
ResourceOnly: False,
ShowEquipment: False,
ShowWorkers: False,
ContactId: 0,
ContactName: String,
ContactTag: String,
EquipmentId: 0,
EquipmentName: String,
EquipmentSN: String
}