CashForKeys Class - quandis/qbo3-Documentation GitHub Wiki
The Mortgage module's CashForKeys 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 | ||
| CanDelete | string | ||
| CanInsert | string | ||
| CanUpdate | string | ||
| CashForKeys | string | yes | Label for the table. |
| CashForKeysID | integer | yes | Identity column and primary key for the table. |
| ClientID | integer | ||
| ClientPersonID | integer | ||
| Closed | string | ||
| ClosedReason | string | ||
| CostLedgerID | integer | ||
| CreatedDate | dateTime | ||
| CreatedPersonID | integer | ||
| CurrentDecisionID | integer | ||
| DateClosed | dateTime | ||
| DateDue | dateTime | ||
| DateOpened | dateTime | ||
| DecisionStep | string | ||
| Entity | string | ||
| EntityParent | string | ||
| Extranet | string | ||
| FinalStatus | string | ||
| Form | string | ||
| InDecisionID | string | ||
| InImportFileID | string | ||
| LinkedFrom | string | ||
| LinkedTo | string | ||
| LoanID | integer | ||
| MetaXml | string | Deprecated | |
| NotLinkedFrom | string | ||
| NotLinkedTo | string | ||
| Object | string | ||
| ObjectID | integer | ||
| OfferAmount | double | ||
| OfferDate | dateTime | ||
| Open | string | ||
| OpenAsOf | string | ||
| OpenedReason | string | ||
| Priority | integer | ||
| Process | string | ||
| ProcessID | integer | ||
| ProcessTemplateID | integer | ||
| ProcessType | string | ||
| PropertyID | integer | ||
| Sibling | string | ||
| SiblingID | integer | ||
| SourceXml | string | Deprecated | |
| State | string | ||
| Status | string | ||
| Tags | 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 |
| Borrowers | Borrower | 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 |
| Property | qbo.Mortgage.PropertyObject | 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 theCashForKeys.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:
CashForKeys.ashx/Search?CashForKeys=ABC123 - Response:
<CashForKeysCollection>
<CashForKeysItem>
<CashForKeysID>2</CashForKeysID>
<CashForKeys>CK2</CashForKeys>
<LoanID>614</LoanID>
<PropertyID>604</PropertyID>
<ProcessID>522</ProcessID>
<OfferDate>2017-06-30T00:00:00-07:00</OfferDate>
<OfferAmount>800.0000</OfferAmount>
<Process>CK2</Process>
<ProcessTemplateID>13</ProcessTemplateID>
<Sibling>CashForKeys</Sibling>
<SiblingID>2</SiblingID>
<ProcessType>
</ProcessType>
<Priority>
</Priority>
<AssignedOrganizationID>214</AssignedOrganizationID>
<AssignedPersonID>
</AssignedPersonID>
<VendorID>
</VendorID>
<VendorPersonID>
</VendorPersonID>
<DateOpened>2017-06-28T00: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>614</ObjectID>
<Status>
</Status>
<CreatedPersonID>13</CreatedPersonID>
<CreatedDate>2017-06-19T10:56:31.473-07:00</CreatedDate>
<UpdatedPersonID>13</UpdatedPersonID>
<UpdatedDate>2017-06-28T11:41:31.48-07:00</UpdatedDate>
<ServicerID>1</ServicerID>
<Servicer>Demo Servicer</Servicer>
<ServicerLoanID>10220230</ServicerLoanID>
<AgencyID>55</AgencyID>
<Agency>Fannie Mae</Agency>
<AgencyLoanID>4009169376</AgencyLoanID>
<ContextIdentifierLoanID>
</ContextIdentifierLoanID>
<InvestorID>144</InvestorID>
<Investor>Fannie Mae (A/A) - Equity Resources</Investor>
<InvestorLoanID>4009169376</InvestorLoanID>
<Address>231 CANYON DR</Address>
<City>CAPITOL HEIGHTS</City>
<State>OH</State>
<PostalCode>43764</PostalCode>
<Loan>10220230</Loan>
<Property>231 CANYON DR</Property>
<ProcessTemplate>Cash For Keys</ProcessTemplate>
<AssignedOrganization>AC9349</AssignedOrganization>
<AssignedPerson>
</AssignedPerson>
<Vendor>
</Vendor>
<VendorPerson>
</VendorPerson>
<CostLedger>
</CostLedger>
<CurrentDecision>
</CurrentDecision>
<Client>
</Client>
<ClientPerson>
</ClientPerson>
<CreatedPerson>[email protected]</CreatedPerson>
<UpdatedPerson>[email protected]</UpdatedPerson>
<ParentLabel>10220230</ParentLabel>
<Grandparent>Property</Grandparent>
<GrandparentID>604</GrandparentID>
<RecordCount>1</RecordCount>
</CashForKeysItem>
</CashForKeysCollection>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:
CashForKeys.ashx/ListWhere?CashForKeysID=1,2,3 - Response:
<CashForKeysCollection>
<CashForKeysItem>
<CashForKeysID>2</CashForKeysID>
<CashForKeys>CK2</CashForKeys>
</CashForKeysItem>
</CashForKeysCollection>