| Requires any of the roles: | Agent, Administrator |
| POST,OPTIONS | /v1/ConversationDetail |
|---|
namespace CRM.AgencyPlatform.API.Internal
open System
open System.IO
open System.Collections
open System.Collections.Generic
open System.Runtime.Serialization
open ServiceStack
open ServiceStack.DataAnnotations
[<AllowNullLiteral>]
type ConversationDetail() =
member val ConversationDetailId:Guid = new Guid() with get,set
member val ConversationHeaderId:Guid = new Guid() with get,set
member val Comment:String = null with get,set
member val DateCreated:DateTimeOffset = new DateTimeOffset() with get,set
member val CreatedBy:Guid = new Guid() with get,set
member val CreatedByName:String = null with get,set
member val AttachmentId:Guid = new Guid() with get,set
member val IsAdminComment:Boolean = new Boolean() with get,set
member val IsDeletedComment:Boolean = new Boolean() with get,set
[<AllowNullLiteral>]
type ConversationDetailResponse() =
member val ResponseStatus:ResponseStatus = null with get,set
member val ConversationDetail:ConversationDetail = null with get,set
[<AllowNullLiteral>]
type ConversationDetailRequest() =
member val ConversationDetail:ConversationDetail = null with get,set
member val ConversationHeaderId:Guid = new Guid() with get,set
member val AttachmentComment:String = null with get,set
F# ConversationDetailRequest DTOs
To override the Content-type in your clients, use the HTTP Accept Header, append the .json suffix or ?format=json
To embed the response in a jsonp callback, append ?callback=myCallback
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
POST /v1/ConversationDetail HTTP/1.1
Host: api.dev.dynamics.trendsic.com
Accept: application/json
Content-Type: application/json
Content-Length: length
{"ConversationDetail":{"ConversationDetailId":"00000000000000000000000000000000","ConversationHeaderId":"00000000000000000000000000000000","Comment":"String","DateCreated":"0001-01-01T00:00:00.0000000+00:00","CreatedBy":"00000000000000000000000000000000","CreatedByName":"String","AttachmentId":"00000000000000000000000000000000","IsAdminComment":false,"IsDeletedComment":false},"ConversationHeaderId":"00000000000000000000000000000000","AttachmentComment":"String"}
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: length
{"ResponseStatus":{"ErrorCode":"String","Message":"String","StackTrace":"String","Errors":[{"ErrorCode":"String","FieldName":"String","Message":"String","Meta":{"String":"String"}}],"Meta":{"String":"String"}},"ConversationDetail":{"ConversationDetailId":"00000000000000000000000000000000","ConversationHeaderId":"00000000000000000000000000000000","Comment":"String","DateCreated":"0001-01-01T00:00:00.0000000+00:00","CreatedBy":"00000000000000000000000000000000","CreatedByName":"String","AttachmentId":"00000000000000000000000000000000","IsAdminComment":false,"IsDeletedComment":false}}