| GET,OPTIONS | /v1/staff/outreach/responses |
|---|
import java.math.*
import java.util.*
import java.io.InputStream
import net.servicestack.client.*
open class StaffResponsesRequest
{
open var PlaceholderContactID:Int? = null
}
open class StaffResponsesResponse
{
open var ResponseStatus:ResponseStatus? = null
open var Responses:ArrayList<StaffResponseDto> = ArrayList<StaffResponseDto>()
open var SentCount:Int? = null
open var OpenedCount:Int? = null
open var ClickedCount:Int? = null
open var Accepted:Int? = null
open var Question:Int? = null
open var Declined:Int? = null
open var NoReply:Int? = null
}
open class StaffResponseDto
{
open var StaffOutreachRecipientID:Int? = null
open var ContactID:Int? = null
open var Name:String? = null
open var Kind:String? = null
open var Rate:BigDecimal? = null
open var Rating:BigDecimal? = null
open var RatingCount:Int? = null
open var Status:String? = null
open var Note:String? = null
open var CounterRate:BigDecimal? = null
open var CounterStartDate:String? = null
}
Kotlin StaffResponsesRequest 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 /v1/staff/outreach/responses HTTP/1.1 Host: api.dev.dynamics.trendsic.com Accept: text/jsonl
HTTP/1.1 200 OK
Content-Type: text/jsonl
Content-Length: length
{"ResponseStatus":{"ErrorCode":"String","Message":"String","StackTrace":"String","Errors":[{"ErrorCode":"String","FieldName":"String","Message":"String","Meta":{"String":"String"}}],"Meta":{"String":"String"}},"Responses":[{"StaffOutreachRecipientID":0,"ContactID":0,"Name":"String","Kind":"String","Rate":0,"Rating":0,"RatingCount":0,"Status":"String","Note":"String","CounterRate":0,"CounterStartDate":"String"}],"SentCount":0,"OpenedCount":0,"ClickedCount":0,"Accepted":0,"Question":0,"Declined":0,"NoReply":0}