regis

<back to all web services

RegistrationBillingAuditReportRequest

Requires Authentication
Required role:REGISUserRole
The following routes are available for this service:
POST/registration/billing-audit-reports
"use strict";
export class RegistrationBillingParityAuditResponse {
    /** @param {{execution_id?:number,reporting_term?:string,timestamp?:string,workflow?:string,execution_mode?:string,regent_id?:number,transaction_id?:number,matches?:boolean,legacy_succeeded?:boolean,composed_succeeded?:boolean,differences?:string,request_summary_json?:string,legacy_summary_json?:string,composed_summary_json?:string}} [init] */
    constructor(init) { Object.assign(this, init) }
    /** @type {number} */
    execution_id;
    /** @type {string} */
    reporting_term;
    /** @type {string} */
    timestamp;
    /** @type {string} */
    workflow;
    /** @type {string} */
    execution_mode;
    /** @type {number} */
    regent_id;
    /** @type {?number} */
    transaction_id;
    /** @type {boolean} */
    matches;
    /** @type {?boolean} */
    legacy_succeeded;
    /** @type {?boolean} */
    composed_succeeded;
    /** @type {string} */
    differences;
    /** @type {string} */
    request_summary_json;
    /** @type {string} */
    legacy_summary_json;
    /** @type {string} */
    composed_summary_json;
}
export class RegistrationBillingCompletenessAuditResponse {
    /** @param {{transaction_id?:number,transaction_uuid?:string,reporting_term?:string,finished_datetime?:string,operation?:string,regent_id?:number,student_uuid?:string,student_name?:string,invoice_count?:number,invoice_net?:number,item_net?:number,gp_success_count?:number,gp_failure_count?:number,calculation_status?:string,calculation_findings?:string,status?:string,findings?:string,resolved_datetime?:string,resolved_by_uuid?:string}} [init] */
    constructor(init) { Object.assign(this, init) }
    /** @type {number} */
    transaction_id;
    /** @type {string} */
    transaction_uuid;
    /** @type {string} */
    reporting_term;
    /** @type {string} */
    finished_datetime;
    /** @type {string} */
    operation;
    /** @type {number} */
    regent_id;
    /** @type {string} */
    student_uuid;
    /** @type {string} */
    student_name;
    /** @type {number} */
    invoice_count;
    /** @type {number} */
    invoice_net;
    /** @type {number} */
    item_net;
    /** @type {number} */
    gp_success_count;
    /** @type {number} */
    gp_failure_count;
    /** @type {string} */
    calculation_status;
    /** @type {string} */
    calculation_findings;
    /** @type {string} */
    status;
    /** @type {string} */
    findings;
    /** @type {?string} */
    resolved_datetime;
    /** @type {string} */
    resolved_by_uuid;
}
export class RegistrationBillingFailureAuditResponse {
    /** @param {{source?:string,reporting_term?:string,id?:number,timestamp?:string,workflow?:string,regent_id?:number,transaction_id?:number,invoice_id?:string,gp_document_number?:string,amount?:number,error?:string}} [init] */
    constructor(init) { Object.assign(this, init) }
    /** @type {string} */
    source;
    /** @type {string} */
    reporting_term;
    /** @type {number} */
    id;
    /** @type {string} */
    timestamp;
    /** @type {string} */
    workflow;
    /** @type {number} */
    regent_id;
    /** @type {?number} */
    transaction_id;
    /** @type {string} */
    invoice_id;
    /** @type {string} */
    gp_document_number;
    /** @type {?number} */
    amount;
    /** @type {string} */
    error;
}
export class RegistrationBillingDriftAuditResponse {
    /** @param {{transaction_id?:number,reporting_term?:string,regent_id?:number,workflow?:string,calculation_count?:number,first_calculation?:string,final_calculation?:string,changed?:boolean,persistence_status?:string,persistence_findings?:string,first_summary_json?:string,final_summary_json?:string,section_course_codes?:{ [index: number]: string; }}} [init] */
    constructor(init) { Object.assign(this, init) }
    /** @type {number} */
    transaction_id;
    /** @type {string} */
    reporting_term;
    /** @type {number} */
    regent_id;
    /** @type {string} */
    workflow;
    /** @type {number} */
    calculation_count;
    /** @type {string} */
    first_calculation;
    /** @type {string} */
    final_calculation;
    /** @type {boolean} */
    changed;
    /** @type {string} */
    persistence_status;
    /** @type {string} */
    persistence_findings;
    /** @type {string} */
    first_summary_json;
    /** @type {string} */
    final_summary_json;
    /** @type {{ [index: number]: string; }} */
    section_course_codes;
}
export class RegistrationBillingAuditReportResponse {
    /** @param {{parity?:RegistrationBillingParityAuditResponse[],completeness?:RegistrationBillingCompletenessAuditResponse[],failures?:RegistrationBillingFailureAuditResponse[],drift?:RegistrationBillingDriftAuditResponse[]}} [init] */
    constructor(init) { Object.assign(this, init) }
    /** @type {RegistrationBillingParityAuditResponse[]} */
    parity;
    /** @type {RegistrationBillingCompletenessAuditResponse[]} */
    completeness;
    /** @type {RegistrationBillingFailureAuditResponse[]} */
    failures;
    /** @type {RegistrationBillingDriftAuditResponse[]} */
    drift;
}
export class RegistrationBillingAuditReportRequest {
    /** @param {{reporting_term?:string,from_date?:string,to_date?:string,authorizing_uuid?:string}} [init] */
    constructor(init) { Object.assign(this, init) }
    /** @type {string} */
    reporting_term;
    /** @type {string} */
    from_date;
    /** @type {string} */
    to_date;
    /** @type {string} */
    authorizing_uuid;
}

JavaScript RegistrationBillingAuditReportRequest 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 /registration/billing-audit-reports HTTP/1.1 
Host: data.regent-college.edu 
Accept: text/jsv
Content-Type: text/jsv
Content-Length: length

{
	reporting_term: String,
	from_date: 0001-01-01,
	to_date: 0001-01-01,
	authorizing_uuid: String
}
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length

{
	parity: 
	[
		{
			execution_id: 0,
			reporting_term: String,
			timestamp: 0001-01-01,
			workflow: String,
			execution_mode: String,
			regent_id: 0,
			transaction_id: 0,
			matches: False,
			legacy_succeeded: False,
			composed_succeeded: False,
			differences: String,
			request_summary_json: String,
			legacy_summary_json: String,
			composed_summary_json: String
		}
	],
	completeness: 
	[
		{
			transaction_id: 0,
			transaction_uuid: String,
			reporting_term: String,
			finished_datetime: 0001-01-01,
			operation: String,
			regent_id: 0,
			student_uuid: String,
			student_name: String,
			invoice_count: 0,
			invoice_net: 0,
			item_net: 0,
			gp_success_count: 0,
			gp_failure_count: 0,
			calculation_status: String,
			calculation_findings: String,
			status: String,
			findings: String,
			resolved_datetime: 0001-01-01,
			resolved_by_uuid: String
		}
	],
	failures: 
	[
		{
			source: String,
			reporting_term: String,
			id: 0,
			timestamp: 0001-01-01,
			workflow: String,
			regent_id: 0,
			transaction_id: 0,
			invoice_id: String,
			gp_document_number: String,
			amount: 0,
			error: String
		}
	],
	drift: 
	[
		{
			transaction_id: 0,
			reporting_term: String,
			regent_id: 0,
			workflow: String,
			calculation_count: 0,
			first_calculation: 0001-01-01,
			final_calculation: 0001-01-01,
			changed: False,
			persistence_status: String,
			persistence_findings: String,
			first_summary_json: String,
			final_summary_json: String,
			section_course_codes: 
			{
				0: String
			}
		}
	]
}