Trendsic Platform Service

<back to all web services

ConversationNBCTypeRequest

Requires Authentication
Requires any of the roles:Agent, Administrator, Agent, Administrator, Agent, Administrator, Agent, Administrator
The following routes are available for this service:
GET,POST,PUT,DELETE,OPTIONS/v1/ConversationNBCType/{ConversationNBCTypeId}
GET,POST,PUT,DELETE,OPTIONS/v1/ConversationNBCType
import java.math.*;
import java.util.*;
import java.io.InputStream;
import net.servicestack.client.*;

public class dtos
{

    public static class ConversationNBCTypeRequest
    {
        public ArrayList<ConversationNBCType> ConversationNBCType = new ArrayList<ConversationNBCType>();
        
        public ArrayList<ConversationNBCType> getConversationNBCType() { return ConversationNBCType; }
        public ConversationNBCTypeRequest setConversationNBCType(ArrayList<ConversationNBCType> value) { this.ConversationNBCType = value; return this; }
    }

    public static class ConversationNBCType
    {
        public Integer ConversationNBCTypeId = null;
        public String Description = null;
        public String TableName = null;
        
        public Integer getConversationNBCTypeId() { return ConversationNBCTypeId; }
        public ConversationNBCType setConversationNBCTypeId(Integer value) { this.ConversationNBCTypeId = value; return this; }
        public String getDescription() { return Description; }
        public ConversationNBCType setDescription(String value) { this.Description = value; return this; }
        public String getTableName() { return TableName; }
        public ConversationNBCType setTableName(String value) { this.TableName = value; return this; }
    }

    public static class ConversationNBCTypeResponse
    {
        public ResponseStatus ResponseStatus = null;
        public ArrayList<ConversationNBCType> ConversationNBCType = new ArrayList<ConversationNBCType>();
        
        public ResponseStatus getResponseStatus() { return ResponseStatus; }
        public ConversationNBCTypeResponse setResponseStatus(ResponseStatus value) { this.ResponseStatus = value; return this; }
        public ArrayList<ConversationNBCType> getConversationNBCType() { return ConversationNBCType; }
        public ConversationNBCTypeResponse setConversationNBCType(ArrayList<ConversationNBCType> value) { this.ConversationNBCType = value; return this; }
    }

}

Java ConversationNBCTypeRequest DTOs

To override the Content-type in your clients, use the HTTP Accept Header, append the .jsv suffix or ?format=jsv

HTTP + JSV

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

POST /v1/ConversationNBCType/{ConversationNBCTypeId} HTTP/1.1 
Host: api.dev.dynamics.trendsic.com 
Accept: text/jsv
Content-Type: text/jsv
Content-Length: length

{
	ConversationNBCType: 
	[
		{
			ConversationNBCTypeId: 0,
			Description: String,
			TableName: String
		}
	]
}
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length

{
	ResponseStatus: 
	{
		ErrorCode: String,
		Message: String,
		StackTrace: String,
		Errors: 
		[
			{
				ErrorCode: String,
				FieldName: String,
				Message: String,
				Meta: 
				{
					String: String
				}
			}
		],
		Meta: 
		{
			String: String
		}
	},
	ConversationNBCType: 
	[
		{
			ConversationNBCTypeId: 0,
			Description: String,
			TableName: String
		}
	]
}