| GET | /ETS/Order-Confirmation-Details |
|---|
import java.math.*;
import java.util.*;
import net.servicestack.client.*;
public class dtos
{
public static class ETSOrderConfirmationDetails
{
public String SupplierName = null;
public Boolean IsForward = null;
public Date ForwardMonthStartingDate = null;
public String getSupplierName() { return SupplierName; }
public ETSOrderConfirmationDetails setSupplierName(String value) { this.SupplierName = value; return this; }
public Boolean getIsForward() { return IsForward; }
public ETSOrderConfirmationDetails setIsForward(Boolean value) { this.IsForward = value; return this; }
public Date getForwardMonthStartingDate() { return ForwardMonthStartingDate; }
public ETSOrderConfirmationDetails setForwardMonthStartingDate(Date value) { this.ForwardMonthStartingDate = value; return this; }
}
public static class GetETSOrderConfirmationDetailsViewModel
{
public String OrderType = null;
public String PaymentTerms = null;
public String PaymentDate = null;
public String DeliveryDate = null;
public String NotesText = null;
public Boolean IsForward = null;
public String getOrderType() { return OrderType; }
public GetETSOrderConfirmationDetailsViewModel setOrderType(String value) { this.OrderType = value; return this; }
public String getPaymentTerms() { return PaymentTerms; }
public GetETSOrderConfirmationDetailsViewModel setPaymentTerms(String value) { this.PaymentTerms = value; return this; }
public String getPaymentDate() { return PaymentDate; }
public GetETSOrderConfirmationDetailsViewModel setPaymentDate(String value) { this.PaymentDate = value; return this; }
public String getDeliveryDate() { return DeliveryDate; }
public GetETSOrderConfirmationDetailsViewModel setDeliveryDate(String value) { this.DeliveryDate = value; return this; }
public String getNotesText() { return NotesText; }
public GetETSOrderConfirmationDetailsViewModel setNotesText(String value) { this.NotesText = value; return this; }
public Boolean getIsForward() { return IsForward; }
public GetETSOrderConfirmationDetailsViewModel setIsForward(Boolean value) { this.IsForward = value; return this; }
}
}
Java ETSOrderConfirmationDetails 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.
GET /ETS/Order-Confirmation-Details HTTP/1.1 Host: internal.thebunkerbridge.com Accept: text/jsonl
HTTP/1.1 200 OK
Content-Type: text/jsonl
Content-Length: length
{"OrderType":"String","PaymentTerms":"String","PaymentDate":"String","DeliveryDate":"String","NotesText":"String","IsForward":false}