| Requires any of the roles: | Agent, Administrator, Agent, Administrator, Agent, Administrator, Agent, Administrator |
| GET,POST,PUT,DELETE,OPTIONS | /v1/ConversationNBCTypeSubscription/{ConversationNBCTypeSubscriptionId} | ||
|---|---|---|---|
| GET,POST,PUT,DELETE,OPTIONS | /v1/ConversationNBCTypeSubscription |
Imports System
Imports System.IO
Imports System.Collections
Imports System.Collections.Generic
Imports System.Runtime.Serialization
Imports ServiceStack
Imports ServiceStack.DataAnnotations
Imports CRM.AgencyPlatform.API.Internal
Namespace Global
Namespace CRM.AgencyPlatform.API.Internal
Public Partial Class ConversationNBCTypeSubscription
Public Overridable Property ConversationNBCTypeSubscriptionId As Integer
Public Overridable Property ConversationNBCTypeId As Integer
Public Overridable Property AgentId As Integer
End Class
Public Partial Class ConversationNBCTypeSubscriptionExtended
Inherits ConversationNBCTypeSubscription
Public Overridable Property AgentName As String
End Class
Public Partial Class ConversationNBCTypeSubscriptionRequest
Public Overridable Property ConversationNBCTypeSubscription As List(Of ConversationNBCTypeSubscriptionExtended) = New List(Of ConversationNBCTypeSubscriptionExtended)
Public Overridable Property ConversationNBCTypeSubscriptionId As Integer
End Class
Public Partial Class ConversationNBCTypeSubscriptionResponse
Public Overridable Property ResponseStatus As ResponseStatus
Public Overridable Property ConversationNBCTypeSubscription As List(Of ConversationNBCTypeSubscriptionExtended) = New List(Of ConversationNBCTypeSubscriptionExtended)
End Class
End Namespace
End Namespace
VB.NET ConversationNBCTypeSubscriptionRequest 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.
POST /v1/ConversationNBCTypeSubscription/{ConversationNBCTypeSubscriptionId} HTTP/1.1
Host: api.dev.dynamics.trendsic.com
Accept: text/jsonl
Content-Type: text/jsonl
Content-Length: length
{"ConversationNBCTypeSubscription":[{"AgentName":"String","ConversationNBCTypeSubscriptionId":0,"ConversationNBCTypeId":0,"AgentId":0}],"ConversationNBCTypeSubscriptionId":0}
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"}},"ConversationNBCTypeSubscription":[{"AgentName":"String","ConversationNBCTypeSubscriptionId":0,"ConversationNBCTypeId":0,"AgentId":0}]}