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.

...

Salesforce Sync JSON Data Mapping Comparing: (salesforce fields column copied from: Salesforce Mapping)

JSON Fields
Arribute

Salesforce

Fields

TCS ExampleOW API FieldsOW API Example
JSON_Message__c






FirstNameStringfirst_name__cpettest101GivenNameBibiana



last_name__c

LastName

MKMOPPJXK





MiddleName



(case_status__c)
StatusCodeCS10001





StatusCompleted





Active1

NameString(Add (value is firstname + ' '+ lastname))demowithinsert








GenderCodeF





GenderFemale

(suffix)
salutation__c




date_of_birth__cStringdate_of_birth__c1966-09-17

DoB

19820428





Title

email__cStringemail__cctpNwJMdPJtpjTF@toronto.ca


PhoneStringphone4164041943Telephone555-5555555



Secondary_Phone__c





Other_phone__c






Mobile_phone__c






Is_Aboriginal__c




BillingStreetStringBillingStreet(Primary)200 WELLESLEY ST EUnitNumber||' '||streetNumber|| ' ' || streetName1254 Street

BillingCityStringBillingCityTORONTOcitySCARBOROUGH

BillingStateStringBillingStateONprovinceSCARBOROUGH

BillingPostalCodeStringBillingPostalCodeM4X 1G3postalCodeM5N 5E3

BillingCountryStringBillingCountryCA




BillingGeocodeAccuracy
PostalAddress1254 Street , SCARBOROUGH, Ontario, M5N 5E3



ShippingStreet(Secondary)





ShippingCity





ShippingState





ShippingPostalcode





ShippingCountry



RecordTypeIdString(RecordTypeId)0121h0000004kgaAAA


Ontario_Works_Id__cStringOntario_Works_Id__c3304892315ReferenceNum15146436109

Children_Services_Id__cStringChildren_Services_Id__c441234781




CSIS_household_Id__c





AccountSource 



Children_Services_Household_Id__cStringChildren_Services_Household_Id__c112311221




RGI_Houshold_Id__c





OW_Household_id__c
ICCaseID1212724857222





IndigenousInd0





IndigenousGroup


Boolean/Integer(Is_sensitive_client__c)
DomesticViolenceIndicator0





DomesticViolenceStart





DomesticViolenceEnd



(OW_start_date__c)
StatusChangeDate20190826





RecordChangeDate20191002
Object_Name__c
String
Account

Process Log

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

...