digitaluapi

<back to all web services

DeleteBatchDataEdit

Requires Authentication
Requires any of the roles:Client, Admin, Partner
The following routes are available for this service:
PUT/delete_batch_data/{Id}
import java.math.*;
import java.util.*;
import java.io.InputStream;
import net.servicestack.client.*;

public class dtos
{

    @DataContract
    public static class DeleteBatchDataEdit
    {
        @DataMember(Order=1)
        @Validate(Validator="NotNull")
        public Long Id = null;

        @DataMember(Order=2)
        public Integer RecordCount = null;

        @DataMember(Order=3)
        public String Data = null;

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

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

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

        @DataMember(Order=7)
        public String Jsondata = null;
        
        public Long getId() { return Id; }
        public DeleteBatchDataEdit setId(Long value) { this.Id = value; return this; }
        public Integer getRecordCount() { return RecordCount; }
        public DeleteBatchDataEdit setRecordCount(Integer value) { this.RecordCount = value; return this; }
        public String getData() { return Data; }
        public DeleteBatchDataEdit setData(String value) { this.Data = value; return this; }
        public Boolean isHasError() { return HasError; }
        public DeleteBatchDataEdit setHasError(Boolean value) { this.HasError = value; return this; }
        public Boolean isMerged() { return Merged; }
        public DeleteBatchDataEdit setMerged(Boolean value) { this.Merged = value; return this; }
        public Long getBatchId() { return BatchId; }
        public DeleteBatchDataEdit setBatchId(Long value) { this.BatchId = value; return this; }
        public String getJsondata() { return Jsondata; }
        public DeleteBatchDataEdit setJsondata(String value) { this.Jsondata = value; return this; }
    }

    public static class DeleteBatchDataEditResponse
    {
        @DataMember(Order=1)
        public Long Id = null;

        @DataMember(Order=2)
        public Integer RecordCount = null;

        @DataMember(Order=3)
        public String Data = null;

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

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

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

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

        @DataMember(Order=9)
        public ResponseStatus ResponseStatus = null;
        
        public Long getId() { return Id; }
        public DeleteBatchDataEditResponse setId(Long value) { this.Id = value; return this; }
        public Integer getRecordCount() { return RecordCount; }
        public DeleteBatchDataEditResponse setRecordCount(Integer value) { this.RecordCount = value; return this; }
        public String getData() { return Data; }
        public DeleteBatchDataEditResponse setData(String value) { this.Data = value; return this; }
        public Boolean isHasError() { return HasError; }
        public DeleteBatchDataEditResponse setHasError(Boolean value) { this.HasError = value; return this; }
        public Boolean isMerged() { return Merged; }
        public DeleteBatchDataEditResponse setMerged(Boolean value) { this.Merged = value; return this; }
        public Long getBatchId() { return BatchId; }
        public DeleteBatchDataEditResponse setBatchId(Long value) { this.BatchId = value; return this; }
        public String getJsondata() { return Jsondata; }
        public DeleteBatchDataEditResponse setJsondata(String value) { this.Jsondata = value; return this; }
        public ResponseStatus getResponseStatus() { return ResponseStatus; }
        public DeleteBatchDataEditResponse setResponseStatus(ResponseStatus value) { this.ResponseStatus = value; return this; }
    }

}

Java DeleteBatchDataEdit DTOs

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

HTTP + OTHER

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

PUT /delete_batch_data/{Id} HTTP/1.1 
Host: duengageapi.uat.scadsoftware.com 
Accept: text/jsonl
Content-Type: text/jsonl
Content-Length: length

{"Id":0,"RecordCount":0,"Data":"String","HasError":false,"Merged":false,"BatchId":0,"Jsondata":"String"}
HTTP/1.1 200 OK
Content-Type: text/jsonl
Content-Length: length

{"Id":0,"RecordCount":0,"Data":"String","HasError":false,"Merged":false,"BatchId":0,"Jsondata":"String","ResponseStatus":{"ErrorCode":"String","Message":"String","StackTrace":"String","Errors":[{"ErrorCode":"String","FieldName":"String","Message":"String","Meta":{"String":"String"}}],"Meta":{"String":"String"}}}