| Required role: | REGISUserRole |
| 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 .xml suffix or ?format=xml
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: application/xml
Content-Type: application/xml
Content-Length: length
<InvoiceDynamicsAuditLogsRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/regis.ClassLibrary.Requests">
<authorizing_uuid>String</authorizing_uuid>
<document_number>String</document_number>
<invoice_id>0</invoice_id>
</InvoiceDynamicsAuditLogsRequest>
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length
<InvoiceDynamicsAuditResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/regis.ClassLibrary.Responses">
<description>String</description>
<dynamics_status>String</dynamics_status>
<dynamics_transactions>
<InvoiceDynamicsTransactionResponse>
<action>String</action>
<batch_number>String</batch_number>
<customer_number>String</customer_number>
<document_date>0001-01-01T00:00:00</document_date>
<document_number>String</document_number>
<dynamics_log_id>0</dynamics_log_id>
<found_in_gp>false</found_in_gp>
<gp_amount>0</gp_amount>
<gp_source>String</gp_source>
<gp_status>0</gp_status>
<gp_type>0</gp_type>
<is_open>false</is_open>
<is_posted>false</is_posted>
<is_void>false</is_void>
<logged_amount>0</logged_amount>
<logged_at>0001-01-01T00:00:00</logged_at>
<note>String</note>
<posting_date>0001-01-01T00:00:00</posting_date>
<regis_invoice_reference>String</regis_invoice_reference>
</InvoiceDynamicsTransactionResponse>
</dynamics_transactions>
<econnect_logs>
<InvoiceEconnectLogResponse>
<id>0</id>
<response>String</response>
<timestamp>0001-01-01T00:00:00</timestamp>
<xml>String</xml>
</InvoiceEconnectLogResponse>
</econnect_logs>
<has_regis_invoice>false</has_regis_invoice>
<initiator_name>String</initiator_name>
<invoice_date>0001-01-01T00:00:00</invoice_date>
<invoice_id>0</invoice_id>
<invoice_status>String</invoice_status>
<invoice_uuid>String</invoice_uuid>
<reconciliation_type>String</reconciliation_type>
<regent_id>0</regent_id>
<reporting_term>String</reporting_term>
<student_name>String</student_name>
<student_uuid>String</student_uuid>
<total_charges>0</total_charges>
<total_credits>0</total_credits>
</InvoiceDynamicsAuditResponse>