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
"use strict";
export class InvoiceDynamicsTransactionResponse {
    /** @param {{dynamics_log_id?:number,action?:string,note?:string,logged_amount?:number,document_number?:string,customer_number?:string,logged_at?:string,regis_invoice_reference?:string,gp_source?:string,found_in_gp?:boolean,gp_type?:number,gp_status?:number,batch_number?:string,gp_amount?:number,is_open?:boolean,is_posted?:boolean,is_void?:boolean,document_date?:string,posting_date?:string}} [init] */
    constructor(init) { Object.assign(this, init) }
    /** @type {?number} */
    dynamics_log_id;
    /** @type {string} */
    action;
    /** @type {string} */
    note;
    /** @type {?number} */
    logged_amount;
    /** @type {string} */
    document_number;
    /** @type {string} */
    customer_number;
    /** @type {?string} */
    logged_at;
    /** @type {string} */
    regis_invoice_reference;
    /** @type {string} */
    gp_source;
    /** @type {boolean} */
    found_in_gp;
    /** @type {number} */
    gp_type;
    /** @type {number} */
    gp_status;
    /** @type {string} */
    batch_number;
    /** @type {?number} */
    gp_amount;
    /** @type {boolean} */
    is_open;
    /** @type {boolean} */
    is_posted;
    /** @type {boolean} */
    is_void;
    /** @type {?string} */
    document_date;
    /** @type {?string} */
    posting_date;
}
export class InvoiceEconnectLogResponse {
    /** @param {{id?:number,timestamp?:string,xml?:string,response?:string}} [init] */
    constructor(init) { Object.assign(this, init) }
    /** @type {number} */
    id;
    /** @type {string} */
    timestamp;
    /** @type {string} */
    xml;
    /** @type {string} */
    response;
}
export class InvoiceDynamicsAuditResponse {
    /** @param {{invoice_id?:number,invoice_uuid?:string,reporting_term?:string,invoice_date?:string,invoice_status?:string,description?:string,total_charges?:number,total_credits?:number,net?:number,regent_id?:number,student_uuid?:string,student_name?:string,initiator_name?:string,has_regis_invoice?:boolean,reconciliation_type?:string,dynamics_status?:string,dynamics_transactions?:InvoiceDynamicsTransactionResponse[],econnect_logs?:InvoiceEconnectLogResponse[]}} [init] */
    constructor(init) { Object.assign(this, init) }
    /** @type {?number} */
    invoice_id;
    /** @type {string} */
    invoice_uuid;
    /** @type {string} */
    reporting_term;
    /** @type {?string} */
    invoice_date;
    /** @type {string} */
    invoice_status;
    /** @type {string} */
    description;
    /** @type {number} */
    total_charges;
    /** @type {number} */
    total_credits;
    /** @type {number} */
    net;
    /** @type {number} */
    regent_id;
    /** @type {string} */
    student_uuid;
    /** @type {string} */
    student_name;
    /** @type {string} */
    initiator_name;
    /** @type {boolean} */
    has_regis_invoice;
    /** @type {string} */
    reconciliation_type;
    /** @type {string} */
    dynamics_status;
    /** @type {InvoiceDynamicsTransactionResponse[]} */
    dynamics_transactions;
    /** @type {InvoiceEconnectLogResponse[]} */
    econnect_logs;
}
export class InvoiceDynamicsAuditLogsRequest {
    /** @param {{invoice_id?:number,document_number?:string,authorizing_uuid?:string}} [init] */
    constructor(init) { Object.assign(this, init) }
    /** @type {?number} */
    invoice_id;
    /** @type {string} */
    document_number;
    /** @type {string} */
    authorizing_uuid;
}

JavaScript InvoiceDynamicsAuditLogsRequest DTOs

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

HTTP + 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>