Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Toronto Employment and Social Services (TESS) is providing a web service that returns client profiles. This approach eliminates the need for HSIO to temporarily save any client information.

...

SourceDestinationComment

GivenName

FirstName


LastName

LastName


MiddleName

MiddleName



Suffix

Not needed

ReferenceNum

Ontario_Works_Id__c


DoB

personBirthDate

there may be the need to transform the date:

the input format is yyyymmdd


personEmail

No email address

telephoneNumber

Phone



Secondary_Phone__c

Not provided by OW


PersonMobilePhone

Not provided by OW

streetNumber|| ' ' || streetNamestreet
citycity
provincestate_code
postalCodepostal_code
'CA'country_code
'Address'geocodeAccuracy
businessUnitIdhousehold_id__c
StatusCodecase_status__c
DomesticViolenceIndicator

Salesforce Sync JSON Data Mapping

...

:

...

1966-09-17200 WELLESLEY ST E
Arribute

Salesforce

Fields

TCS ExampleOW API FieldsOW API Example
JSON_Message__cFirstNameString

first_name__cpettest101GivenNameBibiana
lastnamelast_name__c

LastName

MKMOPPJXK

MiddleName
case_status__cStatusCodeCS10001
SAMS_Status__cStatusCompleted

Active1
NameStringNamedemowithinsert

(Add (value is firstname + ' firstname + '  ' +MiddleName +  '  '+ lastname))



GenderCodeF
gender__cGenderFemale
(suffix)salutation__c

Title


date_of_birth__c Stringdate_of_birth__c(yyyy-mm-dd)

DoB

19820428Title
email__cStringemail__cctpNwJMdPJtpjTF@toronto.caPhoneStringphone4164041943(null)
phoneTelephone555-5555555
Secondary_Phone__c(null)
Other_phone__c

(null)


Mobile_phone__c

(null)


Is_Aboriginal__cBillingStreetString

(null)


BillingStreet(Primary)UnitNumber ||+ '-'||streetNumber||   +streetNumber + ' ' || + streetName12-1254 Street
BillingCityStringBillingCityTORONTOcitySCARBOROUGH
BillingStateStringBillingStateONprovinceSCARBOROUGHBillingPostalCode
StringBillingPostalCodeM4X 1G3postalCodeM5N 5E3
BillingCountryStringBillingCountry"CA1254 Street , SCARBOROUGH, Ontario, M5N 5E3"
ShippingStreet(Secondary)(null)
ShippingCity(null)
ShippingState(null)
ShippingPostalcode(null)
ShippingCountryRecordTypeIdString(RecordTypeIdnull)0121h0000004kgaAAA
Ontario_Works_Id__cStringRecordTypeId?
Ontario_Works_Id__c3304892315ReferenceNum15146436109
Children_Services_Id__cStringChildren_Services_Id__c441234781(null)
CSIS_household_Id__c(null)
AccountSource "Ontario Works"
Children_Services_Household_Id__cStringChildren_Services_Household_Id__c112311221(null)
RGI_Houshold_Id__c(null)
OW_Household_id__cICCaseID1212724857222

IndigenousInd0

IndigenousGroupBoolean/Integer
(Is_sensitive_client__c(Boolean/Integer)DomesticViolenceIndicator0

DomesticViolenceStart

DomesticViolenceEnd
(OW_start_date__c)StatusChangeDate20190826

RecordChangeDate20191002
Object_Name__cString"Account"

Process Log

The process log table is used to manage the date ranges when calling the service.

...