regis

<back to all web services

InvoiceDynamicsAuditLogsRequest

Requires Authentication
Required role:REGISUserRole
The following routes are available for this service:
POST/finance/invoice-dynamics-audit/logs
import java.math.*;
import java.util.*;
import net.servicestack.client.*;

public class dtos
{

    public static class InvoiceDynamicsAuditLogsRequest
    {
        public Integer invoice_id = null;
        public String document_number = null;
        public String authorizing_uuid = null;
        
        public Integer getInvoiceId() { return invoice_id; }
        public InvoiceDynamicsAuditLogsRequest setInvoiceId(Integer value) { this.invoice_id = value; return this; }
        public String getDocumentNumber() { return document_number; }
        public InvoiceDynamicsAuditLogsRequest setDocumentNumber(String value) { this.document_number = value; return this; }
        public String getAuthorizingUuid() { return authorizing_uuid; }
        public InvoiceDynamicsAuditLogsRequest setAuthorizingUuid(String value) { this.authorizing_uuid = value; return this; }
    }

    public static class InvoiceDynamicsAuditResponse
    {
        public Integer invoice_id = null;
        public String invoice_uuid = null;
        public String reporting_term = null;
        public Date invoice_date = null;
        public String invoice_status = null;
        public String description = null;
        public BigDecimal total_charges = null;
        public BigDecimal total_credits = null;
        public BigDecimal net = null;
        public Integer regent_id = null;
        public String student_uuid = null;
        public String student_name = null;
        public String initiator_name = null;
        public Boolean has_regis_invoice = null;
        public String reconciliation_type = null;
        public String dynamics_status = null;
        public ArrayList<InvoiceDynamicsTransactionResponse> dynamics_transactions = null;
        public ArrayList<InvoiceEconnectLogResponse> econnect_logs = null;
        
        public Integer getInvoiceId() { return invoice_id; }
        public InvoiceDynamicsAuditResponse setInvoiceId(Integer value) { this.invoice_id = value; return this; }
        public String getInvoiceUuid() { return invoice_uuid; }
        public InvoiceDynamicsAuditResponse setInvoiceUuid(String value) { this.invoice_uuid = value; return this; }
        public String getReportingTerm() { return reporting_term; }
        public InvoiceDynamicsAuditResponse setReportingTerm(String value) { this.reporting_term = value; return this; }
        public Date getInvoiceDate() { return invoice_date; }
        public InvoiceDynamicsAuditResponse setInvoiceDate(Date value) { this.invoice_date = value; return this; }
        public String getInvoiceStatus() { return invoice_status; }
        public InvoiceDynamicsAuditResponse setInvoiceStatus(String value) { this.invoice_status = value; return this; }
        public String getDescription() { return description; }
        public InvoiceDynamicsAuditResponse setDescription(String value) { this.description = value; return this; }
        public BigDecimal getTotalCharges() { return total_charges; }
        public InvoiceDynamicsAuditResponse setTotalCharges(BigDecimal value) { this.total_charges = value; return this; }
        public BigDecimal getTotalCredits() { return total_credits; }
        public InvoiceDynamicsAuditResponse setTotalCredits(BigDecimal value) { this.total_credits = value; return this; }
        public BigDecimal getNet() { return net; }
        public InvoiceDynamicsAuditResponse setNet(BigDecimal value) { this.net = value; return this; }
        public Integer getRegentId() { return regent_id; }
        public InvoiceDynamicsAuditResponse setRegentId(Integer value) { this.regent_id = value; return this; }
        public String getStudentUuid() { return student_uuid; }
        public InvoiceDynamicsAuditResponse setStudentUuid(String value) { this.student_uuid = value; return this; }
        public String getStudentName() { return student_name; }
        public InvoiceDynamicsAuditResponse setStudentName(String value) { this.student_name = value; return this; }
        public String getInitiatorName() { return initiator_name; }
        public InvoiceDynamicsAuditResponse setInitiatorName(String value) { this.initiator_name = value; return this; }
        public Boolean isHasRegisInvoice() { return has_regis_invoice; }
        public InvoiceDynamicsAuditResponse setHasRegisInvoice(Boolean value) { this.has_regis_invoice = value; return this; }
        public String getReconciliationType() { return reconciliation_type; }
        public InvoiceDynamicsAuditResponse setReconciliationType(String value) { this.reconciliation_type = value; return this; }
        public String getDynamicsStatus() { return dynamics_status; }
        public InvoiceDynamicsAuditResponse setDynamicsStatus(String value) { this.dynamics_status = value; return this; }
        public ArrayList<InvoiceDynamicsTransactionResponse> getDynamicsTransactions() { return dynamics_transactions; }
        public InvoiceDynamicsAuditResponse setDynamicsTransactions(ArrayList<InvoiceDynamicsTransactionResponse> value) { this.dynamics_transactions = value; return this; }
        public ArrayList<InvoiceEconnectLogResponse> getEconnectLogs() { return econnect_logs; }
        public InvoiceDynamicsAuditResponse setEconnectLogs(ArrayList<InvoiceEconnectLogResponse> value) { this.econnect_logs = value; return this; }
    }

    public static class InvoiceDynamicsTransactionResponse
    {
        public Integer dynamics_log_id = null;
        public String action = null;
        public String note = null;
        public BigDecimal logged_amount = null;
        public String document_number = null;
        public String customer_number = null;
        public Date logged_at = null;
        public String regis_invoice_reference = null;
        public String gp_source = null;
        public Boolean found_in_gp = null;
        public Integer gp_type = null;
        public Integer gp_status = null;
        public String batch_number = null;
        public BigDecimal gp_amount = null;
        public Boolean is_open = null;
        public Boolean is_posted = null;
        public Boolean is_void = null;
        public Date document_date = null;
        public Date posting_date = null;
        
        public Integer getDynamicsLogId() { return dynamics_log_id; }
        public InvoiceDynamicsTransactionResponse setDynamicsLogId(Integer value) { this.dynamics_log_id = value; return this; }
        public String getAction() { return action; }
        public InvoiceDynamicsTransactionResponse setAction(String value) { this.action = value; return this; }
        public String getNote() { return note; }
        public InvoiceDynamicsTransactionResponse setNote(String value) { this.note = value; return this; }
        public BigDecimal getLoggedAmount() { return logged_amount; }
        public InvoiceDynamicsTransactionResponse setLoggedAmount(BigDecimal value) { this.logged_amount = value; return this; }
        public String getDocumentNumber() { return document_number; }
        public InvoiceDynamicsTransactionResponse setDocumentNumber(String value) { this.document_number = value; return this; }
        public String getCustomerNumber() { return customer_number; }
        public InvoiceDynamicsTransactionResponse setCustomerNumber(String value) { this.customer_number = value; return this; }
        public Date getLoggedAt() { return logged_at; }
        public InvoiceDynamicsTransactionResponse setLoggedAt(Date value) { this.logged_at = value; return this; }
        public String getRegisInvoiceReference() { return regis_invoice_reference; }
        public InvoiceDynamicsTransactionResponse setRegisInvoiceReference(String value) { this.regis_invoice_reference = value; return this; }
        public String getGpSource() { return gp_source; }
        public InvoiceDynamicsTransactionResponse setGpSource(String value) { this.gp_source = value; return this; }
        public Boolean isFoundInGp() { return found_in_gp; }
        public InvoiceDynamicsTransactionResponse setFoundInGp(Boolean value) { this.found_in_gp = value; return this; }
        public Integer getGpType() { return gp_type; }
        public InvoiceDynamicsTransactionResponse setGpType(Integer value) { this.gp_type = value; return this; }
        public Integer getGpStatus() { return gp_status; }
        public InvoiceDynamicsTransactionResponse setGpStatus(Integer value) { this.gp_status = value; return this; }
        public String getBatchNumber() { return batch_number; }
        public InvoiceDynamicsTransactionResponse setBatchNumber(String value) { this.batch_number = value; return this; }
        public BigDecimal getGpAmount() { return gp_amount; }
        public InvoiceDynamicsTransactionResponse setGpAmount(BigDecimal value) { this.gp_amount = value; return this; }
        public Boolean getIsOpen() { return is_open; }
        public InvoiceDynamicsTransactionResponse setIsOpen(Boolean value) { this.is_open = value; return this; }
        public Boolean getIsPosted() { return is_posted; }
        public InvoiceDynamicsTransactionResponse setIsPosted(Boolean value) { this.is_posted = value; return this; }
        public Boolean getIsVoid() { return is_void; }
        public InvoiceDynamicsTransactionResponse setIsVoid(Boolean value) { this.is_void = value; return this; }
        public Date getDocumentDate() { return document_date; }
        public InvoiceDynamicsTransactionResponse setDocumentDate(Date value) { this.document_date = value; return this; }
        public Date getPostingDate() { return posting_date; }
        public InvoiceDynamicsTransactionResponse setPostingDate(Date value) { this.posting_date = value; return this; }
    }

    public static class InvoiceEconnectLogResponse
    {
        public Integer id = null;
        public Date timestamp = null;
        public String xml = null;
        public String response = null;
        
        public Integer getId() { return id; }
        public InvoiceEconnectLogResponse setId(Integer value) { this.id = value; return this; }
        public Date getTimestamp() { return timestamp; }
        public InvoiceEconnectLogResponse setTimestamp(Date value) { this.timestamp = value; return this; }
        public String getXml() { return xml; }
        public InvoiceEconnectLogResponse setXml(String value) { this.xml = value; return this; }
        public String getResponse() { return response; }
        public InvoiceEconnectLogResponse setResponse(String value) { this.response = value; return this; }
    }

}

Java InvoiceDynamicsAuditLogsRequest DTOs

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

HTTP + CSV

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

POST /finance/invoice-dynamics-audit/logs HTTP/1.1 
Host: data.regent-college.edu 
Accept: text/csv
Content-Type: text/csv
Content-Length: length

{"invoice_id":0,"document_number":"String","authorizing_uuid":"String"}
HTTP/1.1 200 OK
Content-Type: text/csv
Content-Length: length

{"invoice_id":0,"invoice_uuid":"String","reporting_term":"String","invoice_date":"0001-01-01T00:00:00.0000000","invoice_status":"String","description":"String","total_charges":0,"total_credits":0,"net":0,"regent_id":0,"student_uuid":"String","student_name":"String","initiator_name":"String","has_regis_invoice":false,"reconciliation_type":"String","dynamics_status":"String","dynamics_transactions":[{"dynamics_log_id":0,"action":"String","note":"String","logged_amount":0,"document_number":"String","customer_number":"String","logged_at":"0001-01-01T00:00:00.0000000","regis_invoice_reference":"String","gp_source":"String","found_in_gp":false,"gp_type":0,"gp_status":0,"batch_number":"String","gp_amount":0,"is_open":false,"is_posted":false,"is_void":false,"document_date":"0001-01-01T00:00:00.0000000","posting_date":"0001-01-01T00:00:00.0000000"}],"econnect_logs":[{"id":0,"timestamp":"0001-01-01T00:00:00.0000000","xml":"String","response":"String"}]}