digitaluapi

<back to all web services

InsertBatchDataLookup

Requires Authentication
Requires any of the roles:Client, Admin, Partner
The following routes are available for this service:
GET/insert_batch_data
import java.math.*;
import java.util.*;
import java.io.InputStream;
import net.servicestack.client.*;
import com.google.gson.annotations.*;
import com.google.gson.reflect.*;

public class dtos
{

    @DataContract
    public static class InsertBatchDataLookup
    {
        @DataMember(Order=2)
        public String Data = null;

        @DataMember(Order=3)
        public Boolean HasError = null;

        @DataMember(Order=4)
        public Boolean Merged = null;

        @DataMember(Order=5)
        public Long BatchId = null;

        @DataMember(Order=6)
        public String Jsondata = null;

        @DataMember(Order=7)
        public String ErrorData = null;
        
        public String getData() { return Data; }
        public InsertBatchDataLookup setData(String value) { this.Data = value; return this; }
        public Boolean isHasError() { return HasError; }
        public InsertBatchDataLookup setHasError(Boolean value) { this.HasError = value; return this; }
        public Boolean isMerged() { return Merged; }
        public InsertBatchDataLookup setMerged(Boolean value) { this.Merged = value; return this; }
        public Long getBatchId() { return BatchId; }
        public InsertBatchDataLookup setBatchId(Long value) { this.BatchId = value; return this; }
        public String getJsondata() { return Jsondata; }
        public InsertBatchDataLookup setJsondata(String value) { this.Jsondata = value; return this; }
        public String getErrorData() { return ErrorData; }
        public InsertBatchDataLookup setErrorData(String value) { this.ErrorData = value; return this; }
    }

}

Java InsertBatchDataLookup 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.

GET /insert_batch_data HTTP/1.1 
Host: duengageapi.uat.scadsoftware.com 
Accept: text/jsv
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length

[
	{
		Data: String,
		HasError: False,
		Merged: False,
		BatchId: 0,
		Jsondata: String,
		ErrorData: String,
		ResponseStatus: 
		{
			ErrorCode: String,
			Message: String,
			StackTrace: String,
			Errors: 
			[
				{
					ErrorCode: String,
					FieldName: String,
					Message: String,
					Meta: 
					{
						String: String
					}
				}
			],
			Meta: 
			{
				String: String
			}
		}
	}
]