regis

<back to all web services

InvoiceDynamicsAuditRequest

Requires Authentication
Required role:REGISUserRole
The following routes are available for this service:
POST/finance/invoice-dynamics-audit
namespace regis.ClassLibrary.Requests

open System
open System.Collections
open System.Collections.Generic
open System.Runtime.Serialization
open ServiceStack
open ServiceStack.DataAnnotations

    [<AllowNullLiteral>]
    type InvoiceDynamicsAuditRequest() = 
        member val reporting_term:String = null with get,set
        member val from_date:DateTime = new DateTime() with get,set
        member val to_date:DateTime = new DateTime() with get,set
        member val regent_id:Nullable<Int32> = new Nullable<Int32>() with get,set
        member val invoice_status:String = null with get,set
        member val dynamics_status:String = null with get,set
        member val include_logs:Boolean = new Boolean() with get,set
        member val authorizing_uuid:String = null with get,set

F# InvoiceDynamicsAuditRequest 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 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,
	regent_id: 0,
	invoice_status: String,
	dynamics_status: String,
	include_logs: False,
	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
			}
		]
	}
]