Organization Class - quandis/qbo3-Documentation GitHub Wiki
The Contact module's Organization table is based on the MISMO data dictionary standard.
| Column | Type | Required | Description |
|---|---|---|---|
| Active | string | ||
| ActiveStatus | string | ||
| Address | string | ||
| Attorney | string | ||
| Batch | integer | ||
| BirthDate | dateTime | ||
| CanDelete | string | ||
| CanInsert | string | ||
| CanUpdate | string | ||
| City | string | ||
| Company | string | ||
| Contact | string | yes | |
| ContactID | integer | ||
| ContactTemplateID | integer | ||
| ContactType | string | ||
| Country | string | ||
| CreatedDate | dateTime | ||
| CreatedPersonID | integer | ||
| DeathDate | dateTime | ||
| string | |||
| Entity | string | ||
| EntityParent | string | ||
| Extranet | string | ||
| FinalStatus | string | ||
| FirstName | string | ||
| Form | string | ||
| InDecisionID | string | ||
| InImportFileID | string | ||
| LastName | string | ||
| Latitude | double | ||
| LinkedFrom | string | ||
| LinkedTo | string | ||
| Longitude | double | ||
| MiddleName | string | ||
| Nationality | string | ||
| NotLinkedFrom | string | ||
| NotLinkedTo | string | ||
| Object | string | ||
| ObjectID | integer | ||
| Organization | string | yes | Label for the table. |
| OrganizationID | integer | yes | Identity column and primary key for the table. |
| ParentContactID | integer | ||
| Phone | string | ||
| PostalCode | string | ||
| Prefix | string | ||
| SCRASource | string | ||
| SCRAStatus | string | ||
| SCRAStatusAsOf | dateTime | ||
| Sequence | integer | ||
| Servicer | string | ||
| SpokenLanguage | string | ||
| State | string | ||
| Status | string | ||
| Suffix | string | ||
| Tag | string | ||
| Tags | string | ||
| TIN | string | ||
| TIN4 | string | ||
| Title | string | ||
| UnreadNotifications | string | ||
| UpdatedDate | dateTime | ||
| UpdatedPersonID | integer | ||
| USSSN | string | ||
| USSSN4 | string | ||
| ValidEnd | dateTime | ||
| ValidStart | dateTime | ||
| VerifiedConfidence | integer | ||
| VerifiedDate | dateTime | ||
| VerifiedSource | string | ||
| ViewAsRole | string | ||
| Worklist | string |
| Related Objects | Module | Relationship |
|---|---|---|
| Access | Child | |
| Attachments | Attachment | Child |
| Children | Contact | Child |
| Collections | CollectionMember | Child |
| ConfigurationEntryCollection | ConfigurationEntry | Child |
| Contacts | Contact | Child |
| ContactTemplate | qbo.Contact.ContactTemplateObject | Foreign Key |
| Decisions | Decision | Child |
| Forms | ImportForm | Child |
| Labels | CollectionMember | Child |
| Ledgers | Ledger | Child |
| Messages | Message | Child |
| Methods | ContactMethod | Child |
| ParentContact | qbo.Contact.ContactObject | Foreign Key |
| Regions | Geography | Child |
| Scores | Score | Child |
| SearchIndexes | SearchIndex | Child |
| 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 theOrganization.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:
Organization.ashx/Search?Organization=ABC123 - Response:
<OrganizationCollection>
<OrganizationItem>
<OrganizationID>10779</OrganizationID>
<Organization>10777</Organization>
<ContactID>15191</ContactID>
<Contact>10777</Contact>
<ParentContactID>
</ParentContactID>
<ContactType>
</ContactType>
<Company>
</Company>
<Title>
</Title>
<Prefix>
</Prefix>
<FirstName>
</FirstName>
<MiddleName>
</MiddleName>
<LastName>
</LastName>
<Suffix>
</Suffix>
<Address>
</Address>
<City>
</City>
<State>
</State>
<PostalCode>
</PostalCode>
<Country>
</Country>
<USSSN>
</USSSN>
<USSSN4>
</USSSN4>
<BirthDate>
</BirthDate>
<DeathDate>
</DeathDate>
<Nationality>
</Nationality>
<SpokenLanguage>
</SpokenLanguage>
<ValidStart>
</ValidStart>
<ValidEnd>
</ValidEnd>
<Latitude>
</Latitude>
<Longitude>
</Longitude>
<ContactTemplateID>
</ContactTemplateID>
<TIN>
</TIN>
<TIN4>
</TIN4>
<VerifiedSource>
</VerifiedSource>
<VerifiedDate>
</VerifiedDate>
<VerifiedConfidence>
</VerifiedConfidence>
<SCRAStatus>
</SCRAStatus>
<SCRASource>
</SCRASource>
<SCRAStatusAsOf>
</SCRAStatusAsOf>
<Sequence>
</Sequence>
<Object>
</Object>
<ObjectID>
</ObjectID>
<Status>
</Status>
<CreatedPersonID>645</CreatedPersonID>
<CreatedDate>2016-09-26T14:39:28.9-07:00</CreatedDate>
<UpdatedPersonID>645</UpdatedPersonID>
<UpdatedDate>2016-09-26T14:39:28.9-07:00</UpdatedDate>
<ParentContact>
</ParentContact>
<ContactTemplate>
</ContactTemplate>
<CreatedPerson>[email protected]</CreatedPerson>
<UpdatedPerson>[email protected]</UpdatedPerson>
<Phone>
</Phone>
<Email>
</Email>
<RecordCount>500</RecordCount>
</OrganizationItem>
<OrganizationItem>
<OrganizationID>10782</OrganizationID>
<Organization>10780</Organization>
<ContactID>15195</ContactID>
<Contact>10780</Contact>
<ParentContactID>
</ParentContactID>
<ContactType>
</ContactType>
<Company>
</Company>
<Title>
</Title>
<Prefix>
</Prefix>
<FirstName>
</FirstName>
<MiddleName>
</MiddleName>
<LastName>
</LastName>
<Suffix>
</Suffix>
<Address>
</Address>
<City>
</City>
<State>
</State>
<PostalCode>
</PostalCode>
<Country>
</Country>
<USSSN>
</USSSN>
<USSSN4>
</USSSN4>
<BirthDate>
</BirthDate>
<DeathDate>
</DeathDate>
<Nationality>
</Nationality>
<SpokenLanguage>
</SpokenLanguage>
<ValidStart>
</ValidStart>
<ValidEnd>
</ValidEnd>
<Latitude>
</Latitude>
<Longitude>
</Longitude>
<ContactTemplateID>
</ContactTemplateID>
<TIN>
</TIN>
<TIN4>
</TIN4>
<VerifiedSource>
</VerifiedSource>
<VerifiedDate>
</VerifiedDate>
<VerifiedConfidence>
</VerifiedConfidence>
<SCRAStatus>
</SCRAStatus>
<SCRASource>
</SCRASource>
<SCRAStatusAsOf>
</SCRAStatusAsOf>
<Sequence>
</Sequence>
<Object>
</Object>
<ObjectID>
</ObjectID>
<Status>
</Status>
<CreatedPersonID>645</CreatedPersonID>
<CreatedDate>2016-09-26T14:41:00.317-07:00</CreatedDate>
<UpdatedPersonID>645</UpdatedPersonID>
<UpdatedDate>2016-09-26T14:41:00.317-07:00</UpdatedDate>
<ParentContact>
</ParentContact>
<ContactTemplate>
</ContactTemplate>
<CreatedPerson>[email protected]</CreatedPerson>
<UpdatedPerson>[email protected]</UpdatedPerson>
<Phone>
</Phone>
<Email>
</Email>
<RecordCount>500</RecordCount>
</OrganizationItem>
</OrganizationCollection>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:
Organization.ashx/ListWhere?OrganizationID=1,2,3 - Response:
<OrganizationCollection>
<OrganizationItem>
<OrganizationID>2</OrganizationID>
<Organization>Gray and Associates</Organization>
</OrganizationItem>
<OrganizationItem>
<OrganizationID>1</OrganizationID>
<Organization>Quandis</Organization>
</OrganizationItem>
<OrganizationItem>
<OrganizationID>3</OrganizationID>
<Organization>Test Servicer</Organization>
</OrganizationItem>
</OrganizationCollection>