AlbaApi

<back to all web services

ListMergeReq

The following routes are available for this service:
POST/listmerge/changelog/unused
import java.math.*;
import java.util.*;
import net.servicestack.client.*;
import com.google.gson.annotations.*;
import com.google.gson.reflect.*;

public class dtos
{

    public static class ListMergeReq
    {
        public ArrayList<ChangeLog> changeLogs = null;
        
        public ArrayList<ChangeLog> getChangeLogs() { return changeLogs; }
        public ListMergeReq setChangeLogs(ArrayList<ChangeLog> value) { this.changeLogs = value; return this; }
    }

    public static class ChangeLog extends Entity
    {
        public String referenceId = null;
        public String country = null;
        public String language = null;
        public String section = null;
        public String itemCode = null;
        public String itemId = null;
        public ArrayList<ChangeHistory> history = null;
        
        public String getReferenceId() { return referenceId; }
        public ChangeLog setReferenceId(String value) { this.referenceId = value; return this; }
        public String getCountry() { return country; }
        public ChangeLog setCountry(String value) { this.country = value; return this; }
        public String getLanguage() { return language; }
        public ChangeLog setLanguage(String value) { this.language = value; return this; }
        public String getSection() { return section; }
        public ChangeLog setSection(String value) { this.section = value; return this; }
        public String getItemCode() { return itemCode; }
        public ChangeLog setItemCode(String value) { this.itemCode = value; return this; }
        public String getItemId() { return itemId; }
        public ChangeLog setItemId(String value) { this.itemId = value; return this; }
        public ArrayList<ChangeHistory> getHistory() { return history; }
        public ChangeLog setHistory(ArrayList<ChangeHistory> value) { this.history = value; return this; }
    }

    public static class Entity implements IEntity
    {
        public String id = null;
        
        public String getId() { return id; }
        public Entity setId(String value) { this.id = value; return this; }
    }

    public static class ChangeHistory
    {
        public String updatedBy = null;
        public Date dateCreated = null;
        public String element = null;
        public String old = null;
        @SerializedName("new") public String New = null;
        public String status = null;
        public String approvedBy = null;
        public Date dateApproved = null;
        
        public String getUpdatedBy() { return updatedBy; }
        public ChangeHistory setUpdatedBy(String value) { this.updatedBy = value; return this; }
        public Date getDateCreated() { return dateCreated; }
        public ChangeHistory setDateCreated(Date value) { this.dateCreated = value; return this; }
        public String getElement() { return element; }
        public ChangeHistory setElement(String value) { this.element = value; return this; }
        public String getOld() { return old; }
        public ChangeHistory setOld(String value) { this.old = value; return this; }
        public String getNew() { return New; }
        public ChangeHistory setNew(String value) { this.New = value; return this; }
        public String getStatus() { return status; }
        public ChangeHistory setStatus(String value) { this.status = value; return this; }
        public String getApprovedBy() { return approvedBy; }
        public ChangeHistory setApprovedBy(String value) { this.approvedBy = value; return this; }
        public Date getDateApproved() { return dateApproved; }
        public ChangeHistory setDateApproved(Date value) { this.dateApproved = value; return this; }
    }

}

Java ListMergeReq 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

HTTP + JSON

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

POST /listmerge/changelog/unused HTTP/1.1 
Host: hcbtas-q-albamfs-api.azurewebsites.net 
Accept: application/json
Content-Type: application/json
Content-Length: length

{"changeLogs":[{"referenceId":"String","country":"String","language":"String","section":"String","itemCode":"String","itemId":"String","history":[{"updatedBy":"String","dateCreated":"0001-01-01T00:00:00.0000000","element":"String","old":"String","new":"String","status":"String","approvedBy":"String","dateApproved":"0001-01-01T00:00:00.0000000"}],"id":"String"}]}
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: length

{"referenceId":"String","country":"String","language":"String","section":"String","itemCode":"String","itemId":"String","history":[{"updatedBy":"String","dateCreated":"0001-01-01T00:00:00.0000000","element":"String","old":"String","new":"String","status":"String","approvedBy":"String","dateApproved":"0001-01-01T00:00:00.0000000"}],"id":"String"}