| Required role: | REGISUserRole |
| POST | /registration/billing-audit-reports |
|---|
Imports System
Imports System.Collections
Imports System.Collections.Generic
Imports System.Runtime.Serialization
Imports ServiceStack
Imports ServiceStack.DataAnnotations
Imports regis.ClassLibrary.Requests
Imports regis.ClassLibrary.Responses
Namespace Global
Namespace regis.ClassLibrary.Requests
Public Partial Class RegistrationBillingAuditReportRequest
Public Overridable Property reporting_term As String
Public Overridable Property from_date As Date
Public Overridable Property to_date As Date
Public Overridable Property authorizing_uuid As String
End Class
End Namespace
Namespace regis.ClassLibrary.Responses
Public Partial Class RegistrationBillingAuditReportResponse
Public Sub New()
parity = New List(Of RegistrationBillingParityAuditResponse)
completeness = New List(Of RegistrationBillingCompletenessAuditResponse)
failures = New List(Of RegistrationBillingFailureAuditResponse)
drift = New List(Of RegistrationBillingDriftAuditResponse)
End Sub
Public Overridable Property parity As List(Of RegistrationBillingParityAuditResponse)
Public Overridable Property completeness As List(Of RegistrationBillingCompletenessAuditResponse)
Public Overridable Property failures As List(Of RegistrationBillingFailureAuditResponse)
Public Overridable Property drift As List(Of RegistrationBillingDriftAuditResponse)
End Class
Public Partial Class RegistrationBillingCompletenessAuditResponse
Public Overridable Property transaction_id As Integer
Public Overridable Property transaction_uuid As String
Public Overridable Property reporting_term As String
Public Overridable Property finished_datetime As Date
Public Overridable Property operation As String
Public Overridable Property regent_id As Integer
Public Overridable Property student_uuid As String
Public Overridable Property student_name As String
Public Overridable Property invoice_count As Integer
Public Overridable Property invoice_net As Decimal
Public Overridable Property item_net As Decimal
Public Overridable Property gp_success_count As Integer
Public Overridable Property gp_failure_count As Integer
Public Overridable Property calculation_status As String
Public Overridable Property calculation_findings As String
Public Overridable Property status As String
Public Overridable Property findings As String
Public Overridable Property resolved_datetime As Nullable(Of Date)
Public Overridable Property resolved_by_uuid As String
End Class
Public Partial Class RegistrationBillingDriftAuditResponse
Public Sub New()
section_course_codes = New Dictionary(Of Integer, String)
End Sub
Public Overridable Property transaction_id As Integer
Public Overridable Property reporting_term As String
Public Overridable Property regent_id As Integer
Public Overridable Property workflow As String
Public Overridable Property calculation_count As Integer
Public Overridable Property first_calculation As Date
Public Overridable Property final_calculation As Date
Public Overridable Property changed As Boolean
Public Overridable Property persistence_status As String
Public Overridable Property persistence_findings As String
Public Overridable Property first_summary_json As String
Public Overridable Property final_summary_json As String
Public Overridable Property section_course_codes As Dictionary(Of Integer, String)
End Class
Public Partial Class RegistrationBillingFailureAuditResponse
Public Overridable Property source As String
Public Overridable Property reporting_term As String
Public Overridable Property id As Long
Public Overridable Property timestamp As Date
Public Overridable Property workflow As String
Public Overridable Property regent_id As Integer
Public Overridable Property transaction_id As Nullable(Of Integer)
Public Overridable Property invoice_id As String
Public Overridable Property gp_document_number As String
Public Overridable Property amount As Nullable(Of Decimal)
Public Overridable Property error As String
End Class
Public Partial Class RegistrationBillingParityAuditResponse
Public Overridable Property execution_id As Long
Public Overridable Property reporting_term As String
Public Overridable Property timestamp As Date
Public Overridable Property workflow As String
Public Overridable Property execution_mode As String
Public Overridable Property regent_id As Integer
Public Overridable Property transaction_id As Nullable(Of Integer)
Public Overridable Property matches As Boolean
Public Overridable Property legacy_succeeded As Nullable(Of Boolean)
Public Overridable Property composed_succeeded As Nullable(Of Boolean)
Public Overridable Property differences As String
Public Overridable Property request_summary_json As String
Public Overridable Property legacy_summary_json As String
Public Overridable Property composed_summary_json As String
End Class
End Namespace
End Namespace
VB.NET RegistrationBillingAuditReportRequest DTOs
To override the Content-type in your clients, use the HTTP Accept Header, append the .jsv suffix or ?format=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
}
}
]
}