Deficiency Class - quandis/qbo3-Documentation GitHub Wiki
The Mortgage module's Deficiency table is based on the MISMO data dictionary standard.
| Column | Type | Required | Description |
|---|---|---|---|
| Active | string | ||
| ActiveStatus | string | ||
| ActiveWorkflow | string | ||
| AssignedOrganizationID | integer | ||
| AssignedPersonID | integer | ||
| Batch | integer | ||
| BecamePastStandard | string | ||
| CanDelete | string | ||
| CanInsert | string | ||
| CanUpdate | string | ||
| ClientID | integer | ||
| ClientPersonID | integer | ||
| Closed | string | ||
| ClosedReason | string | ||
| CostLedgerID | integer | ||
| CreatedDate | dateTime | ||
| CreatedPersonID | integer | ||
| CurrentDecisionID | integer | ||
| DateClosed | dateTime | ||
| DateDue | dateTime | ||
| DateOpened | dateTime | ||
| DecisionStep | string | ||
| DecisionTemplate | string | ||
| Deficiency | string | yes | Label for the table. |
| DeficiencyID | integer | yes | Identity column and primary key for the table. |
| Entity | string | ||
| EntityParent | string | ||
| ExcludePendingSteps | string | ||
| Extranet | string | ||
| FinalStatus | string | ||
| Form | string | ||
| InDecisionID | string | ||
| InImportFileID | string | ||
| LinkedFrom | string | ||
| LinkedTo | string | ||
| LitigationDelays | string | ||
| LoanID | integer | ||
| LoanState | string | ||
| MetaXml | string | Deprecated | |
| NonCompliant | string | ||
| NotLinkedFrom | string | ||
| NotLinkedTo | string | ||
| Object | string | ||
| ObjectID | integer | ||
| Open | string | ||
| OpenAsOf | string | ||
| OpenedReason | string | ||
| OtherDelays | string | ||
| PastStandardInflow | string | ||
| PastStandardOutflow | string | ||
| Priority | integer | ||
| Process | string | ||
| ProcessID | integer | ||
| ProcessSiblingList | string | ||
| ProcessTemplateID | integer | ||
| ProcessType | string | ||
| PropertyState | string | ||
| ServicerID | string | ||
| Sibling | string | ||
| SiblingID | integer | ||
| SourceXml | string | Deprecated | |
| State | string | ||
| Status | string | ||
| Step | string | ||
| StepExists | string | ||
| Tags | string | ||
| TimeSpan | string | ||
| UnreadNotifications | string | ||
| UpdatedDate | dateTime | ||
| UpdatedPersonID | integer | ||
| VendorID | integer | ||
| VendorPersonID | integer | ||
| ViewAsRole | string | ||
| Worklist | string |
| Related Objects | Module | Relationship |
|---|---|---|
| Access | Child | |
| AssignedOrganization | qbo.Contact.OrganizationObject | Foreign Key |
| AssignedPerson | qbo.Security.PersonObject | Foreign Key |
| Attachments | Attachment | Child |
| Client | qbo.Contact.OrganizationObject | Foreign Key |
| ClientPerson | qbo.Security.PersonObject | Foreign Key |
| Collections | CollectionMember | Child |
| ConfigurationEntryCollection | ConfigurationEntry | Child |
| Contacts | Contact | Child |
| CostLedger | qbo.Accounting.LedgerObject | Foreign Key |
| CurrentDecision | qbo.Decision.DecisionObject | Foreign Key |
| Decisions | Decision | Child |
| Delays | DecisionDelay | Child |
| Forms | ImportForm | Child |
| Labels | CollectionMember | Child |
| Ledgers | Ledger | Child |
| Loan | qbo.Mortgage.LoanObject | Foreign Key |
| Messages | Message | Child |
| ProcessTemplate | qbo.Process.ProcessTemplateObject | Foreign Key |
| Regions | Geography | Child |
| Scores | Score | Child |
| SearchIndexes | SearchIndex | Child |
| Vendor | qbo.Contact.OrganizationObject | Foreign Key |
| VendorPerson | qbo.Security.PersonObject | Foreign Key |
| Worklists | SmartWorklistMember | Child |
The search method will return all records matching the {Parameters} criteria. For searches, {Parameters} may include any property listed in the table above. The following standard optional parameters also apply:
- Output: determines the formatting of the returned data. Valid values are
Xml,Json,JsonP. If omitted, XHTML is returns based on theDeficiency.Search.xslttemplate. - DisplaySize: determines the maximum number of rows returned. Default is 25.
DisplaySize=0will return all matching rows. - RecordStart: the starting record to return; defaults to 0. Used for pagination.
- OrderBy: a series of properties to order by.
- Request:
Deficiency.ashx/Search?Deficiency=ABC123 - Response:
<DeficiencyCollection>
<DeficiencyItem>
<DeficiencyID>12</DeficiencyID>
<Deficiency>
<<Auto>>
</Deficiency>
<LoanID>93</LoanID>
<ProcessID>3920</ProcessID>
<Process>
<<Auto>>
</Process>
<ProcessTemplateID>137</ProcessTemplateID>
<Sibling>Deficiency</Sibling>
<SiblingID>12</SiblingID>
<ProcessType>
</ProcessType>
<Priority>
</Priority>
<AssignedOrganizationID>
</AssignedOrganizationID>
<AssignedPersonID>
</AssignedPersonID>
<VendorID>
</VendorID>
<VendorPersonID>
</VendorPersonID>
<DateOpened>2013-07-23T00:00:00-07:00</DateOpened>
<OpenedReason>
</OpenedReason>
<DateClosed>
</DateClosed>
<ClosedReason>
</ClosedReason>
<DateDue>
</DateDue>
<CostLedgerID>
</CostLedgerID>
<CurrentDecisionID>
</CurrentDecisionID>
<SourceXml>
</SourceXml>
<MetaXml>
</MetaXml>
<ClientID>
</ClientID>
<ClientPersonID>
</ClientPersonID>
<Object>Loan</Object>
<ObjectID>93</ObjectID>
<Status>
</Status>
<CreatedPersonID>465</CreatedPersonID>
<CreatedDate>2013-07-23T11:47:05.333-07:00</CreatedDate>
<UpdatedPersonID>465</UpdatedPersonID>
<UpdatedDate>2013-07-23T11:47:06.723-07:00</UpdatedDate>
<ServicerID>51</ServicerID>
<Servicer>ACME</Servicer>
<ServicerLoanID>31520278</ServicerLoanID>
<AgencyID>3043</AgencyID>
<Agency>test</Agency>
<AgencyLoanID>
</AgencyLoanID>
<ContextIdentifierLoanID>
</ContextIdentifierLoanID>
<InvestorID>62</InvestorID>
<Investor>FHLMC</Investor>
<InvestorLoanID>
</InvestorLoanID>
<Address>Unit E-4 Hillside Avenue Condominium</Address>
<City>Wallkill</City>
<State>NY</State>
<PostalCode>77076</PostalCode>
<Loan>0139778888</Loan>
<ProcessTemplate>Deficiency</ProcessTemplate>
<AssignedOrganization>
</AssignedOrganization>
<AssignedPerson>
</AssignedPerson>
<Vendor>
</Vendor>
<VendorPerson>
</VendorPerson>
<CostLedger>
</CostLedger>
<CurrentDecision>
</CurrentDecision>
<Client>
</Client>
<ClientPerson>
</ClientPerson>
<CreatedPerson>[email protected]</CreatedPerson>
<UpdatedPerson>[email protected]</UpdatedPerson>
<RecordCount>500</RecordCount>
</DeficiencyItem>
<DeficiencyItem>
<DeficiencyID>166</DeficiencyID>
<Deficiency>
<<Auto>>
</Deficiency>
<LoanID>1141274</LoanID>
<ProcessID>5221</ProcessID>
<Process>
<<Auto>>
</Process>
<ProcessTemplateID>137</ProcessTemplateID>
<Sibling>Deficiency</Sibling>
<SiblingID>166</SiblingID>
<ProcessType>
</ProcessType>
<Priority>
</Priority>
<AssignedOrganizationID>8552</AssignedOrganizationID>
<AssignedPersonID>
</AssignedPersonID>
<VendorID>
</VendorID>
<VendorPersonID>
</VendorPersonID>
<DateOpened>2014-03-07T00:00:00-08:00</DateOpened>
<OpenedReason>
</OpenedReason>
<DateClosed>
</DateClosed>
<ClosedReason>
</ClosedReason>
<DateDue>
</DateDue>
<CostLedgerID>
</CostLedgerID>
<CurrentDecisionID>
</CurrentDecisionID>
<SourceXml>
</SourceXml>
<MetaXml>
</MetaXml>
<ClientID>
</ClientID>
<ClientPersonID>
</ClientPersonID>
<Object>Loan</Object>
<ObjectID>1141274</ObjectID>
<Status>
</Status>
<CreatedPersonID>587</CreatedPersonID>
<CreatedDate>2014-03-07T15:18:24.737-08:00</CreatedDate>
<UpdatedPersonID>587</UpdatedPersonID>
<UpdatedDate>2014-03-07T15:18:25.423-08:00</UpdatedDate>
<ServicerID>2081</ServicerID>
<Servicer>Wells Fargo Bank, N.A.</Servicer>
<ServicerLoanID>
</ServicerLoanID>
<AgencyID>8493</AgencyID>
<Agency>Freddie Mac</Agency>
<AgencyLoanID>112922627</AgencyLoanID>
<ContextIdentifierLoanID>
</ContextIdentifierLoanID>
<InvestorID>
</InvestorID>
<Investor>
</Investor>
<InvestorLoanID>
</InvestorLoanID>
<Address>
</Address>
<City>
</City>
<State>AK</State>
<PostalCode>
</PostalCode>
<Loan>112922627</Loan>
<ProcessTemplate>Deficiency</ProcessTemplate>
<AssignedOrganization>DTA</AssignedOrganization>
<AssignedPerson>
</AssignedPerson>
<Vendor>
</Vendor>
<VendorPerson>
</VendorPerson>
<CostLedger>
</CostLedger>
<CurrentDecision>
</CurrentDecision>
<Client>
</Client>
<ClientPerson>
</ClientPerson>
<CreatedPerson>[email protected]</CreatedPerson>
<UpdatedPerson>[email protected]</UpdatedPerson>
<RecordCount>500</RecordCount>
</DeficiencyItem>
</DeficiencyCollection>The save method will return all records matching the {Parameters} criteria. {Parameters} may include any property listed in the table above along with child classes.
- Output: determines the formatting of the returned data. Valid values are
Xml,Json,JsonP. - Response: included in the response is
{Table}ID; this is the primary key of the{Table}row created - With the same Save method, you can also save data to related tables. By using a
{Parent}_{Column}pattern, you can update the parent table's data in the same call. - Child records may also be updated using a
{Child}_{Index}_{Column}pattern. - For child records that are templated, you may use the template name in lieu of an index.
The delete method will delete all records where ID={comma-delimited list of identifiers} criteria.
The ListWhere method will return all records matching the {Parameters} criteria. {Parameters} may include any property listed in the table.
- Output: determines the formatting of the returned data. Valid values are
Xml,Json,JsonP. - Response: 2 columns are returned -
{Table}ID and{Table}columns. - Request:
Deficiency.ashx/ListWhere?DeficiencyID=1,2,3 - Response:
<DeficiencyCollection>
<DeficiencyItem>
<DeficiencyID>19</DeficiencyID>
<Deficiency>12-90543256</Deficiency>
</DeficiencyItem>
<DeficiencyItem>
<DeficiencyID>16</DeficiencyID>
<Deficiency>13-65232</Deficiency>
</DeficiencyItem>
</DeficiencyCollection>