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 .jsv suffix or ?format=jsv

HTTP + JSV

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/jsv
Content-Type: text/jsv
Content-Length: length

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

{
	invoice_id: 0,
	invoice_uuid: String,
	reporting_term: String,
	invoice_date: 0001-01-01,
	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-01,
			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-01,
			posting_date: 0001-01-01
		}
	],
	econnect_logs: 
	[
		{
			id: 0,
			timestamp: 0001-01-01,
			xml: String,
			response: String
		}
	]
}