File: //var/www/html/kipu-api-9/webhook-kipu-sf-lead.log
Date: 2025-03-04 11:20:24 +00:00 UTC
006D700000SlwVXIAZ
-------------------------
Date: 2025-03-04 11:20:26 +00:00 UTC
Salesforce Response = {"access_token":"00DD7000000jUHt!AQgAQEek3regbS80AyATSr6CfhTBfDLU2RfvHo9IqZRbaHNLFsTfabLd4BtPi0h40Lj3N95VwLBNbfbTI5y9OYx7YM2x5cyo","instance_url":"https://amend-treatment--devjts.sandbox.my.salesforce.com","id":"https://test.salesforce.com/id/00DD7000000jUHtMAM/005Hu00000QOle3IAD","token_type":"Bearer","issued_at":"1741087226555","signature":"NLZXXUJUYcv/YYFBkN6XNOOETJ9rJcMeBHbpW4aNJrw="}
-------------------------
Date: 2025-03-04 11:20:26 +00:00 UTC
Salesforce url = https://amend-treatment--devjts.sandbox.my.salesforce.com/services/data/v48.0/query?q=SELECT+Id%2C+stageName%2C+First_Name__c%2C+Middle_Name__c%2C+Last_Name__c%2C+Preferred_Name__c%2C+Client_DOB__c%2C+Marital_Status__c%2C+Phone__c%2C+Alternative_Phone__c%2CSSN__c%2CAddress_Street__c%2CAddress_Street_2__c%2CAddress_City__c%2CAddress_ZIP__c%2CAddress_State__c%2CAddress_Country__c%2CGender__c%2CEmail__c%2CPrimary_Insurance_Company__c%2CPrimary_Insurance_Phone__c%2CPrimary_Subscriber_First_Name__c%2CPrimary_Subscriber_Middle_Name__c%2CPrimary_Subscriber_Last_Name__c%2CPrimary_Subscriber_SSN__c%2CPrimary_Subscriber_DOB__c%2CPrimary_Insurance_Group_Number__c%2CPrimary_Subscriber_Address_Street__c%2CPrimary_Subscriber_Address_Street_2__c%2CPrimary_Subscriber_Address_City__c%2CPrimary_Subscriber_Address_ZIP__c%2CPrimary_Subscriber_Address_State__c%2CPrimary_Member_ID__c%2CPrim_Sub_Relationship_to_Client__c%2CPrimary_Insurance_Plan_Type__c%2CEmployer_Name__c%2CAccountId+FROM+Opportunity+where+Id+%3D+%27006D700000SlwVXIAZ%27+LIMIT+1
-------------------------
Date: 2025-03-04 11:20:26 +00:00 UTC
Salesforce query = SELECT Id, stageName, First_Name__c, Middle_Name__c, Last_Name__c, Preferred_Name__c, Client_DOB__c, Marital_Status__c, Phone__c, Alternative_Phone__c,SSN__c,Address_Street__c,Address_Street_2__c,Address_City__c,Address_ZIP__c,Address_State__c,Address_Country__c,Gender__c,Email__c,Primary_Insurance_Company__c,Primary_Insurance_Phone__c,Primary_Subscriber_First_Name__c,Primary_Subscriber_Middle_Name__c,Primary_Subscriber_Last_Name__c,Primary_Subscriber_SSN__c,Primary_Subscriber_DOB__c,Primary_Insurance_Group_Number__c,Primary_Subscriber_Address_Street__c,Primary_Subscriber_Address_Street_2__c,Primary_Subscriber_Address_City__c,Primary_Subscriber_Address_ZIP__c,Primary_Subscriber_Address_State__c,Primary_Member_ID__c,Prim_Sub_Relationship_to_Client__c,Primary_Insurance_Plan_Type__c,Employer_Name__c,AccountId FROM Opportunity where Id = '006D700000SlwVXIAZ' LIMIT 1
-------------------------
Date: 2025-03-04 11:20:27 +00:00 UTC
Salesforce query response = {"totalSize":1,"done":true,"records":[{"attributes":{"type":"Opportunity","url":"/services/data/v48.0/sobjects/Opportunity/006D700000SlwVXIAZ"},"Id":"006D700000SlwVXIAZ","StageName":"VOB Pending","First_Name__c":"test Record 2","Middle_Name__c":null,"Last_Name__c":"Attachment 2","Preferred_Name__c":null,"Client_DOB__c":"1985-02-01","Marital_Status__c":null,"Phone__c":null,"Alternative_Phone__c":null,"SSN__c":null,"Address_Street__c":null,"Address_Street_2__c":null,"Address_City__c":null,"Address_ZIP__c":null,"Address_State__c":null,"Address_Country__c":null,"Gender__c":null,"Email__c":"test@test.com","Primary_Insurance_Company__c":null,"Primary_Insurance_Phone__c":null,"Primary_Subscriber_First_Name__c":null,"Primary_Subscriber_Middle_Name__c":null,"Primary_Subscriber_Last_Name__c":null,"Primary_Subscriber_SSN__c":null,"Primary_Subscriber_DOB__c":null,"Primary_Insurance_Group_Number__c":null,"Primary_Subscriber_Address_Street__c":null,"Primary_Subscriber_Address_Street_2__c":null,"Primary_Subscriber_Address_City__c":null,"Primary_Subscriber_Address_ZIP__c":null,"Primary_Subscriber_Address_State__c":null,"Primary_Member_ID__c":null,"Prim_Sub_Relationship_to_Client__c":null,"Primary_Insurance_Plan_Type__c":null,"Employer_Name__c":null,"AccountId":"001D700001WNCBSIA5"}]}
-------------------------
Date: 2025-03-04 11:20:29 +00:00 UTC
KIPU Post Payload = {
"document": {
"recipient_id": "fw20AQBVKpyODNxgPxsUf_OFDe3SZtxF_3Foc-bBE9o",
"sending_app_name": "Amend Treatment",
"data": {
"sending_app_patient_id": "001D700001WNCBSIA5",
"first_name": "test Record 2",
"middle_name": "",
"last_name": "Attachment 2",
"preferred_name": "",
"dob": "1985-02-01",
"marital_status": "",
"mr": "",
"phone": "",
"alternate_phone": "",
"ethnicity": "",
"pre_admission_status": "",
"admission_date": "",
"anticipated_discharge_date": "",
"sobriety_date": "",
"ssn": "",
"address_street": "",
"address_street2": "",
"address_city": "",
"address_zip": "",
"address_state": "",
"address_country": "",
"gender": "",
"email": "test@test.com",
"first_contact_date": "",
"first_contact_rep_on_call": "",
"first_contact_name": "",
"first_contact_information": "",
"first_contact_relationship": "",
"referrer_id": "",
"payment_method": "",
"referrer_name": "",
"discharge_to_name": "",
"bed_name": "",
"discharge_to_name": "",
"ext_id_mappings_attributes": [
{
"ext_system_name": "Salesforce",
"ext_id": "006D700000SlwVXIAZ"
}
],
"insurances_attributes": [
{
"insurance_company": "",
"insurance_phone": "",
"subscriber_first_name": "",
"subscriber_middle_name": "",
"subscriber_last_name": "",
"subscriber_SSN": "",
"subscriber_DOB": "",
"subscriber_address_street": "",
"subscriber_address_street2": "",
"subscriber_address_city": "",
"subscriber_address_zip": "",
"subscriber_address_state": "",
"subscriber_address_country": "",
"notes": "",
"policy_no": "",
"group_ID": "",
"subscriber_relationship": "",
"insurance_plan_type": "",
"subscriber_employer":"",
"subscriber_gender":""
}
]
},"attachments_attributes":[{
"attachment_patient_process_id":"61"
}]
}
}
-------------------------
Date: 2025-03-04 11:20:29 +00:00 UTC
Salesforce Stage Name = VOB Pending
-------------------------
Date: 2025-03-04 11:20:29 +00:00 UTC
KIPU End Point = https://kipuapi.kipuworks.com/api/patients
-------------------------
Date: 2025-03-04 11:20:29 +00:00 UTC
KIPU Header Point = ["Accept: application\/vnd.kipusystems+json; version=3","Authorization: APIAuth KV2ICK_sztnZgoBYygHJIy3XJOKR4BvZ6Ca_X1QStdY:kojR1LVbLssX6GmfHqCh8ozFDKE=","Content-type: multipart\/form-data; boundary=MultipartBoundary","Content-MD5: CEsdHg5Tfcf1jX4vJ8U7mg==","Date: Tue, 04 Mar 2025 11:20:29 GMT"]
-------------------------
Date: 2025-03-04 11:20:31 +00:00 UTC
{"status":"Delivered"}
-------------------------
Date: 2025-03-04 11:20:31 +00:00 UTC
server_output KIPU Response = {"status":"Delivered"}
-------------------------
Date: 2025-03-05 11:29:30 +00:00 UTC
006D700000SluDaIAJ
-------------------------
Date: 2025-03-05 11:29:32 +00:00 UTC
Salesforce Response = {"access_token":"00DD7000000jUHt!AQgAQPDV9QoQbbDNDc89nj_Jr3AuBLPAEn7ghrhWEV1ynKvFOIFAEZVfbSf5eIATsrqLeA569oy5MLcprI4uKvSB2pcIOucV","instance_url":"https://amend-treatment--devjts.sandbox.my.salesforce.com","id":"https://test.salesforce.com/id/00DD7000000jUHtMAM/005Hu00000QOle3IAD","token_type":"Bearer","issued_at":"1741174172121","signature":"skaeExxxgdM2GVfaCXbky3s3dGq2ARueYK5DEWdp9Bw="}
-------------------------
Date: 2025-03-05 11:29:32 +00:00 UTC
Salesforce url = https://amend-treatment--devjts.sandbox.my.salesforce.com/services/data/v48.0/query?q=SELECT+Id%2C+stageName%2C+First_Name__c%2C+Middle_Name__c%2C+Last_Name__c%2C+Preferred_Name__c%2C+Client_DOB__c%2C+Marital_Status__c%2C+Phone__c%2C+Alternative_Phone__c%2CSSN__c%2CAddress_Street__c%2CAddress_Street_2__c%2CAddress_City__c%2CAddress_ZIP__c%2CAddress_State__c%2CAddress_Country__c%2CGender__c%2CEmail__c%2CPrimary_Insurance_Company__c%2CPrimary_Insurance_Phone__c%2CPrimary_Subscriber_First_Name__c%2CPrimary_Subscriber_Middle_Name__c%2CPrimary_Subscriber_Last_Name__c%2CPrimary_Subscriber_SSN__c%2CPrimary_Subscriber_DOB__c%2CPrimary_Insurance_Group_Number__c%2CPrimary_Subscriber_Address_Street__c%2CPrimary_Subscriber_Address_Street_2__c%2CPrimary_Subscriber_Address_City__c%2CPrimary_Subscriber_Address_ZIP__c%2CPrimary_Subscriber_Address_State__c%2CPrimary_Member_ID__c%2CPrim_Sub_Relationship_to_Client__c%2CPrimary_Insurance_Plan_Type__c%2CEmployer_Name__c%2CAccountId+FROM+Opportunity+where+Id+%3D+%27006D700000SluDaIAJ%27+LIMIT+1
-------------------------
Date: 2025-03-05 11:29:32 +00:00 UTC
Salesforce query = SELECT Id, stageName, First_Name__c, Middle_Name__c, Last_Name__c, Preferred_Name__c, Client_DOB__c, Marital_Status__c, Phone__c, Alternative_Phone__c,SSN__c,Address_Street__c,Address_Street_2__c,Address_City__c,Address_ZIP__c,Address_State__c,Address_Country__c,Gender__c,Email__c,Primary_Insurance_Company__c,Primary_Insurance_Phone__c,Primary_Subscriber_First_Name__c,Primary_Subscriber_Middle_Name__c,Primary_Subscriber_Last_Name__c,Primary_Subscriber_SSN__c,Primary_Subscriber_DOB__c,Primary_Insurance_Group_Number__c,Primary_Subscriber_Address_Street__c,Primary_Subscriber_Address_Street_2__c,Primary_Subscriber_Address_City__c,Primary_Subscriber_Address_ZIP__c,Primary_Subscriber_Address_State__c,Primary_Member_ID__c,Prim_Sub_Relationship_to_Client__c,Primary_Insurance_Plan_Type__c,Employer_Name__c,AccountId FROM Opportunity where Id = '006D700000SluDaIAJ' LIMIT 1
-------------------------
Date: 2025-03-05 11:29:32 +00:00 UTC
Salesforce query response = {"totalSize":1,"done":true,"records":[{"attributes":{"type":"Opportunity","url":"/services/data/v48.0/sobjects/Opportunity/006D700000SluDaIAJ"},"Id":"006D700000SluDaIAJ","StageName":"Intake Assessment Approved","First_Name__c":"Adam","Middle_Name__c":null,"Last_Name__c":"Smith","Preferred_Name__c":null,"Client_DOB__c":null,"Marital_Status__c":null,"Phone__c":null,"Alternative_Phone__c":null,"SSN__c":null,"Address_Street__c":null,"Address_Street_2__c":null,"Address_City__c":null,"Address_ZIP__c":null,"Address_State__c":null,"Address_Country__c":null,"Gender__c":null,"Email__c":null,"Primary_Insurance_Company__c":null,"Primary_Insurance_Phone__c":null,"Primary_Subscriber_First_Name__c":null,"Primary_Subscriber_Middle_Name__c":null,"Primary_Subscriber_Last_Name__c":null,"Primary_Subscriber_SSN__c":null,"Primary_Subscriber_DOB__c":null,"Primary_Insurance_Group_Number__c":null,"Primary_Subscriber_Address_Street__c":null,"Primary_Subscriber_Address_Street_2__c":null,"Primary_Subscriber_Address_City__c":null,"Primary_Subscriber_Address_ZIP__c":null,"Primary_Subscriber_Address_State__c":null,"Primary_Member_ID__c":null,"Prim_Sub_Relationship_to_Client__c":null,"Primary_Insurance_Plan_Type__c":null,"Employer_Name__c":null,"AccountId":"001D700001WMLpcIAH"}]}
-------------------------
Date: 2025-03-05 11:29:35 +00:00 UTC
KIPU Post Payload = {
"document": {
"recipient_id": "fw20AQBVKpyODNxgPxsUf_OFDe3SZtxF_3Foc-bBE9o",
"sending_app_name": "Amend Treatment",
"data": {
"sending_app_patient_id": "001D700001WMLpcIAH",
"first_name": "Adam",
"middle_name": "",
"last_name": "Smith",
"preferred_name": "",
"dob": "",
"marital_status": "",
"mr": "",
"phone": "",
"alternate_phone": "",
"ethnicity": "",
"pre_admission_status": "",
"admission_date": "",
"anticipated_discharge_date": "",
"sobriety_date": "",
"ssn": "",
"address_street": "",
"address_street2": "",
"address_city": "",
"address_zip": "",
"address_state": "",
"address_country": "",
"gender": "",
"email": "",
"first_contact_date": "",
"first_contact_rep_on_call": "",
"first_contact_name": "",
"first_contact_information": "",
"first_contact_relationship": "",
"referrer_id": "",
"payment_method": "",
"referrer_name": "",
"discharge_to_name": "",
"bed_name": "",
"discharge_to_name": "",
"ext_id_mappings_attributes": [
{
"ext_system_name": "Salesforce",
"ext_id": "006D700000SluDaIAJ"
}
],
"insurances_attributes": [
{
"insurance_company": "",
"insurance_phone": "",
"subscriber_first_name": "",
"subscriber_middle_name": "",
"subscriber_last_name": "",
"subscriber_SSN": "",
"subscriber_DOB": "",
"subscriber_address_street": "",
"subscriber_address_street2": "",
"subscriber_address_city": "",
"subscriber_address_zip": "",
"subscriber_address_state": "",
"subscriber_address_country": "",
"notes": "",
"policy_no": "",
"group_ID": "",
"subscriber_relationship": "",
"insurance_plan_type": "",
"subscriber_employer":"",
"subscriber_gender":""
}
]
},"attachments_attributes":[{
"attachment_patient_process_id":"61"
}]
}
}
-------------------------
Date: 2025-03-05 11:29:35 +00:00 UTC
Salesforce Stage Name = Intake Assessment Approved
-------------------------
Date: 2025-03-05 11:29:35 +00:00 UTC
KIPU End Point = https://kipuapi.kipuworks.com/api/patients
-------------------------
Date: 2025-03-05 11:29:35 +00:00 UTC
KIPU Header Point = ["Accept: application\/vnd.kipusystems+json; version=3","Authorization: APIAuth KV2ICK_sztnZgoBYygHJIy3XJOKR4BvZ6Ca_X1QStdY:GxiKWe9YOeBt8PcZV+uuOxg9u0Q=","Content-type: multipart\/form-data; boundary=MultipartBoundary","Content-MD5: 2RI5RV70O5T2K3IUzFF1JQ==","Date: Wed, 05 Mar 2025 11:29:35 GMT"]
-------------------------
Date: 2025-03-05 11:29:36 +00:00 UTC
{"status":"Delivered"}
-------------------------
Date: 2025-03-05 11:29:36 +00:00 UTC
server_output KIPU Response = {"status":"Delivered"}
-------------------------
Date: 2025-03-20 11:59:25 +00:00 UTC
006D700000SluDaIAJ
-------------------------
Date: 2025-03-20 11:59:27 +00:00 UTC
Salesforce Response = {"access_token":"00DD7000000jUHt!AQgAQMCYLMaw9F_F_NuSdsANmPGsNeeO2EPc3mWOfmF.9fXSa00E8eSFrLd5JJn16.RdE_8XtnFGeaJeT7aGHIU4QIwIAB6k","instance_url":"https://amend-treatment--devjts.sandbox.my.salesforce.com","id":"https://test.salesforce.com/id/00DD7000000jUHtMAM/005Hu00000QOle3IAD","token_type":"Bearer","issued_at":"1742471967301","signature":"itESdtqRLLuXVax6jrHZyJPD/Vpn2vHG4dMicguCDy0="}
-------------------------
Date: 2025-03-20 11:59:27 +00:00 UTC
Salesforce url = https://amend-treatment--devjts.sandbox.my.salesforce.com/services/data/v48.0/query?q=SELECT+Id%2C+stageName%2C+First_Name__c%2C+Middle_Name__c%2C+Last_Name__c%2C+Preferred_Name__c%2C+Client_DOB__c%2C+Marital_Status__c%2C+Phone__c%2C+Alternative_Phone__c%2CSSN__c%2CAddress_Street__c%2CAddress_Street_2__c%2CAddress_City__c%2CAddress_ZIP__c%2CAddress_State__c%2CAddress_Country__c%2CGender__c%2CEmail__c%2CPrimary_Insurance_Company__c%2CPrimary_Insurance_Phone__c%2CPrimary_Subscriber_First_Name__c%2CPrimary_Subscriber_Middle_Name__c%2CPrimary_Subscriber_Last_Name__c%2CPrimary_Subscriber_SSN__c%2CPrimary_Subscriber_DOB__c%2CPrimary_Insurance_Group_Number__c%2CPrimary_Subscriber_Address_Street__c%2CPrimary_Subscriber_Address_Street_2__c%2CPrimary_Subscriber_Address_City__c%2CPrimary_Subscriber_Address_ZIP__c%2CPrimary_Subscriber_Address_State__c%2CPrimary_Member_ID__c%2CPrim_Sub_Relationship_to_Client__c%2CPrimary_Insurance_Plan_Type__c%2CEmployer_Name__c%2CAccountId+FROM+Opportunity+where+Id+%3D+%27006D700000SluDaIAJ%27+LIMIT+1
-------------------------
Date: 2025-03-20 11:59:27 +00:00 UTC
Salesforce query = SELECT Id, stageName, First_Name__c, Middle_Name__c, Last_Name__c, Preferred_Name__c, Client_DOB__c, Marital_Status__c, Phone__c, Alternative_Phone__c,SSN__c,Address_Street__c,Address_Street_2__c,Address_City__c,Address_ZIP__c,Address_State__c,Address_Country__c,Gender__c,Email__c,Primary_Insurance_Company__c,Primary_Insurance_Phone__c,Primary_Subscriber_First_Name__c,Primary_Subscriber_Middle_Name__c,Primary_Subscriber_Last_Name__c,Primary_Subscriber_SSN__c,Primary_Subscriber_DOB__c,Primary_Insurance_Group_Number__c,Primary_Subscriber_Address_Street__c,Primary_Subscriber_Address_Street_2__c,Primary_Subscriber_Address_City__c,Primary_Subscriber_Address_ZIP__c,Primary_Subscriber_Address_State__c,Primary_Member_ID__c,Prim_Sub_Relationship_to_Client__c,Primary_Insurance_Plan_Type__c,Employer_Name__c,AccountId FROM Opportunity where Id = '006D700000SluDaIAJ' LIMIT 1
-------------------------
Date: 2025-03-20 11:59:28 +00:00 UTC
Salesforce query response = {"totalSize":1,"done":true,"records":[{"attributes":{"type":"Opportunity","url":"/services/data/v48.0/sobjects/Opportunity/006D700000SluDaIAJ"},"Id":"006D700000SluDaIAJ","StageName":"Intake Assessment Approved","First_Name__c":"Adam","Middle_Name__c":null,"Last_Name__c":"Smith","Preferred_Name__c":null,"Client_DOB__c":"1991-03-01","Marital_Status__c":null,"Phone__c":null,"Alternative_Phone__c":null,"SSN__c":null,"Address_Street__c":null,"Address_Street_2__c":null,"Address_City__c":null,"Address_ZIP__c":null,"Address_State__c":null,"Address_Country__c":null,"Gender__c":null,"Email__c":null,"Primary_Insurance_Company__c":"Testing Record","Primary_Insurance_Phone__c":null,"Primary_Subscriber_First_Name__c":null,"Primary_Subscriber_Middle_Name__c":null,"Primary_Subscriber_Last_Name__c":null,"Primary_Subscriber_SSN__c":null,"Primary_Subscriber_DOB__c":null,"Primary_Insurance_Group_Number__c":null,"Primary_Subscriber_Address_Street__c":null,"Primary_Subscriber_Address_Street_2__c":null,"Primary_Subscriber_Address_City__c":null,"Primary_Subscriber_Address_ZIP__c":null,"Primary_Subscriber_Address_State__c":null,"Primary_Member_ID__c":"234234234234","Prim_Sub_Relationship_to_Client__c":null,"Primary_Insurance_Plan_Type__c":null,"Employer_Name__c":null,"AccountId":"001D700001WMLpcIAH"}]}
-------------------------
Date: 2025-03-20 11:59:40 +00:00 UTC
KIPU Post Payload = {
"document": {
"recipient_id": "fw20AQBVKpyODNxgPxsUf_OFDe3SZtxF_3Foc-bBE9o",
"sending_app_name": "Amend Treatment",
"data": {
"sending_app_patient_id": "001D700001WMLpcIAH",
"first_name": "Adam",
"middle_name": "",
"last_name": "Smith",
"preferred_name": "",
"dob": "1991-03-01",
"marital_status": "",
"mr": "",
"phone": "",
"alternate_phone": "",
"ethnicity": "",
"pre_admission_status": "",
"admission_date": "",
"anticipated_discharge_date": "",
"sobriety_date": "",
"ssn": "",
"address_street": "",
"address_street2": "",
"address_city": "",
"address_zip": "",
"address_state": "",
"address_country": "",
"gender": "",
"email": "",
"first_contact_date": "",
"first_contact_rep_on_call": "",
"first_contact_name": "",
"first_contact_information": "",
"first_contact_relationship": "",
"referrer_id": "",
"payment_method": "",
"referrer_name": "",
"discharge_to_name": "",
"bed_name": "",
"discharge_to_name": "",
"ext_id_mappings_attributes": [
{
"ext_system_name": "Salesforce",
"ext_id": "006D700000SluDaIAJ"
}
],
"insurances_attributes": [
{
"insurance_company": "Testing Record",
"insurance_phone": "",
"subscriber_first_name": "",
"subscriber_middle_name": "",
"subscriber_last_name": "",
"subscriber_SSN": "",
"subscriber_DOB": "",
"subscriber_address_street": "",
"subscriber_address_street2": "",
"subscriber_address_city": "",
"subscriber_address_zip": "",
"subscriber_address_state": "",
"subscriber_address_country": "",
"notes": "",
"policy_no": "234234234234",
"group_ID": "",
"subscriber_relationship": "",
"insurance_plan_type": "",
"subscriber_employer":"",
"subscriber_gender":""
}
]
},"attachments_attributes":[{
"attachment_patient_process_id":"61"
},{
"attachment_patient_process_id":"61"
},{
"attachment_patient_process_id":"61"
},{
"attachment_patient_process_id":"61"
},{
"attachment_patient_process_id":"61"
},{
"attachment_patient_process_id":"61"
},{
"attachment_patient_process_id":"61"
},{
"attachment_patient_process_id":"61"
},{
"attachment_patient_process_id":"61"
},{
"attachment_patient_process_id":"61"
},{
"attachment_patient_process_id":"61"
}]
}
}
-------------------------
Date: 2025-03-20 11:59:40 +00:00 UTC
Salesforce Stage Name = Intake Assessment Approved
-------------------------
Date: 2025-03-20 11:59:40 +00:00 UTC
KIPU End Point = https://kipuapi.kipuworks.com/api/patients
-------------------------
Date: 2025-03-20 11:59:40 +00:00 UTC
KIPU Header Point = ["Accept: application\/vnd.kipusystems+json; version=3","Authorization: APIAuth KV2ICK_sztnZgoBYygHJIy3XJOKR4BvZ6Ca_X1QStdY:Xza8xTnEhW5mFILB0Q+mh2qZQPM=","Content-type: multipart\/form-data; boundary=MultipartBoundary","Content-MD5: xwXVF\/Ql0faT9ly4lmO5hg==","Date: Thu, 20 Mar 2025 11:59:40 GMT"]
-------------------------
Date: 2025-03-20 11:59:43 +00:00 UTC
{"status":"Delivered"}
-------------------------
Date: 2025-03-20 11:59:43 +00:00 UTC
server_output KIPU Response = {"status":"Delivered"}
-------------------------
Date: 2025-03-20 12:00:27 +00:00 UTC
006D700000SluDaIAJ
-------------------------
Date: 2025-03-20 12:00:29 +00:00 UTC
Salesforce Response = {"access_token":"00DD7000000jUHt!AQgAQMCYLMaw9F_F_NuSdsANmPGsNeeO2EPc3mWOfmF.9fXSa00E8eSFrLd5JJn16.RdE_8XtnFGeaJeT7aGHIU4QIwIAB6k","instance_url":"https://amend-treatment--devjts.sandbox.my.salesforce.com","id":"https://test.salesforce.com/id/00DD7000000jUHtMAM/005Hu00000QOle3IAD","token_type":"Bearer","issued_at":"1742472029181","signature":"rL8e7WSvsYAmmYn7EQCDJ2xqf+BJSAbPxT23KbeH7RQ="}
-------------------------
Date: 2025-03-20 12:00:29 +00:00 UTC
Salesforce url = https://amend-treatment--devjts.sandbox.my.salesforce.com/services/data/v48.0/query?q=SELECT+Id%2C+stageName%2C+First_Name__c%2C+Middle_Name__c%2C+Last_Name__c%2C+Preferred_Name__c%2C+Client_DOB__c%2C+Marital_Status__c%2C+Phone__c%2C+Alternative_Phone__c%2CSSN__c%2CAddress_Street__c%2CAddress_Street_2__c%2CAddress_City__c%2CAddress_ZIP__c%2CAddress_State__c%2CAddress_Country__c%2CGender__c%2CEmail__c%2CPrimary_Insurance_Company__c%2CPrimary_Insurance_Phone__c%2CPrimary_Subscriber_First_Name__c%2CPrimary_Subscriber_Middle_Name__c%2CPrimary_Subscriber_Last_Name__c%2CPrimary_Subscriber_SSN__c%2CPrimary_Subscriber_DOB__c%2CPrimary_Insurance_Group_Number__c%2CPrimary_Subscriber_Address_Street__c%2CPrimary_Subscriber_Address_Street_2__c%2CPrimary_Subscriber_Address_City__c%2CPrimary_Subscriber_Address_ZIP__c%2CPrimary_Subscriber_Address_State__c%2CPrimary_Member_ID__c%2CPrim_Sub_Relationship_to_Client__c%2CPrimary_Insurance_Plan_Type__c%2CEmployer_Name__c%2CAccountId+FROM+Opportunity+where+Id+%3D+%27006D700000SluDaIAJ%27+LIMIT+1
-------------------------
Date: 2025-03-20 12:00:29 +00:00 UTC
Salesforce query = SELECT Id, stageName, First_Name__c, Middle_Name__c, Last_Name__c, Preferred_Name__c, Client_DOB__c, Marital_Status__c, Phone__c, Alternative_Phone__c,SSN__c,Address_Street__c,Address_Street_2__c,Address_City__c,Address_ZIP__c,Address_State__c,Address_Country__c,Gender__c,Email__c,Primary_Insurance_Company__c,Primary_Insurance_Phone__c,Primary_Subscriber_First_Name__c,Primary_Subscriber_Middle_Name__c,Primary_Subscriber_Last_Name__c,Primary_Subscriber_SSN__c,Primary_Subscriber_DOB__c,Primary_Insurance_Group_Number__c,Primary_Subscriber_Address_Street__c,Primary_Subscriber_Address_Street_2__c,Primary_Subscriber_Address_City__c,Primary_Subscriber_Address_ZIP__c,Primary_Subscriber_Address_State__c,Primary_Member_ID__c,Prim_Sub_Relationship_to_Client__c,Primary_Insurance_Plan_Type__c,Employer_Name__c,AccountId FROM Opportunity where Id = '006D700000SluDaIAJ' LIMIT 1
-------------------------
Date: 2025-03-20 12:00:29 +00:00 UTC
Salesforce query response = {"totalSize":1,"done":true,"records":[{"attributes":{"type":"Opportunity","url":"/services/data/v48.0/sobjects/Opportunity/006D700000SluDaIAJ"},"Id":"006D700000SluDaIAJ","StageName":"Intake Assessment Approved","First_Name__c":"Adam","Middle_Name__c":null,"Last_Name__c":"Smith","Preferred_Name__c":null,"Client_DOB__c":"1991-03-01","Marital_Status__c":null,"Phone__c":null,"Alternative_Phone__c":null,"SSN__c":null,"Address_Street__c":null,"Address_Street_2__c":null,"Address_City__c":null,"Address_ZIP__c":null,"Address_State__c":null,"Address_Country__c":null,"Gender__c":null,"Email__c":null,"Primary_Insurance_Company__c":"Testing Record","Primary_Insurance_Phone__c":null,"Primary_Subscriber_First_Name__c":null,"Primary_Subscriber_Middle_Name__c":null,"Primary_Subscriber_Last_Name__c":null,"Primary_Subscriber_SSN__c":null,"Primary_Subscriber_DOB__c":null,"Primary_Insurance_Group_Number__c":null,"Primary_Subscriber_Address_Street__c":null,"Primary_Subscriber_Address_Street_2__c":null,"Primary_Subscriber_Address_City__c":null,"Primary_Subscriber_Address_ZIP__c":null,"Primary_Subscriber_Address_State__c":null,"Primary_Member_ID__c":"234234234234","Prim_Sub_Relationship_to_Client__c":null,"Primary_Insurance_Plan_Type__c":null,"Employer_Name__c":null,"AccountId":"001D700001WMLpcIAH"}]}
-------------------------
Date: 2025-03-20 12:00:41 +00:00 UTC
KIPU Post Payload = {
"document": {
"recipient_id": "fw20AQBVKpyODNxgPxsUf_OFDe3SZtxF_3Foc-bBE9o",
"sending_app_name": "Amend Treatment",
"data": {
"sending_app_patient_id": "001D700001WMLpcIAH",
"first_name": "Adam",
"middle_name": "",
"last_name": "Smith",
"preferred_name": "",
"dob": "1991-03-01",
"marital_status": "",
"mr": "",
"phone": "",
"alternate_phone": "",
"ethnicity": "",
"pre_admission_status": "",
"admission_date": "",
"anticipated_discharge_date": "",
"sobriety_date": "",
"ssn": "",
"address_street": "",
"address_street2": "",
"address_city": "",
"address_zip": "",
"address_state": "",
"address_country": "",
"gender": "",
"email": "",
"first_contact_date": "",
"first_contact_rep_on_call": "",
"first_contact_name": "",
"first_contact_information": "",
"first_contact_relationship": "",
"referrer_id": "",
"payment_method": "",
"referrer_name": "",
"discharge_to_name": "",
"bed_name": "",
"discharge_to_name": "",
"ext_id_mappings_attributes": [
{
"ext_system_name": "Salesforce",
"ext_id": "006D700000SluDaIAJ"
}
],
"insurances_attributes": [
{
"insurance_company": "Testing Record",
"insurance_phone": "",
"subscriber_first_name": "",
"subscriber_middle_name": "",
"subscriber_last_name": "",
"subscriber_SSN": "",
"subscriber_DOB": "",
"subscriber_address_street": "",
"subscriber_address_street2": "",
"subscriber_address_city": "",
"subscriber_address_zip": "",
"subscriber_address_state": "",
"subscriber_address_country": "",
"notes": "",
"policy_no": "234234234234",
"group_ID": "",
"subscriber_relationship": "",
"insurance_plan_type": "",
"subscriber_employer":"",
"subscriber_gender":""
}
]
},"attachments_attributes":[{
"attachment_patient_process_id":"61"
},{
"attachment_patient_process_id":"61"
},{
"attachment_patient_process_id":"61"
},{
"attachment_patient_process_id":"61"
},{
"attachment_patient_process_id":"61"
},{
"attachment_patient_process_id":"61"
},{
"attachment_patient_process_id":"61"
},{
"attachment_patient_process_id":"61"
},{
"attachment_patient_process_id":"61"
},{
"attachment_patient_process_id":"61"
},{
"attachment_patient_process_id":"61"
}]
}
}
-------------------------
Date: 2025-03-20 12:00:41 +00:00 UTC
Salesforce Stage Name = Intake Assessment Approved
-------------------------
Date: 2025-03-20 12:00:41 +00:00 UTC
KIPU End Point = https://kipuapi.kipuworks.com/api/patients
-------------------------
Date: 2025-03-20 12:00:41 +00:00 UTC
KIPU Header Point = ["Accept: application\/vnd.kipusystems+json; version=3","Authorization: APIAuth KV2ICK_sztnZgoBYygHJIy3XJOKR4BvZ6Ca_X1QStdY:atMkFwRfM1UWWzYwhjBT8j1eCCM=","Content-type: multipart\/form-data; boundary=MultipartBoundary","Content-MD5: xwXVF\/Ql0faT9ly4lmO5hg==","Date: Thu, 20 Mar 2025 12:00:41 GMT"]
-------------------------
Date: 2025-03-20 12:00:44 +00:00 UTC
{"status":"Delivered"}
-------------------------
Date: 2025-03-20 12:00:44 +00:00 UTC
server_output KIPU Response = {"status":"Delivered"}
-------------------------
Date: 2025-03-20 12:01:55 +00:00 UTC
006D700000SluDaIAJ
-------------------------
Date: 2025-03-20 12:01:57 +00:00 UTC
Salesforce Response = {"access_token":"00DD7000000jUHt!AQgAQMCYLMaw9F_F_NuSdsANmPGsNeeO2EPc3mWOfmF.9fXSa00E8eSFrLd5JJn16.RdE_8XtnFGeaJeT7aGHIU4QIwIAB6k","instance_url":"https://amend-treatment--devjts.sandbox.my.salesforce.com","id":"https://test.salesforce.com/id/00DD7000000jUHtMAM/005Hu00000QOle3IAD","token_type":"Bearer","issued_at":"1742472117614","signature":"vmgPdrVOl141NBqEGhFYaGVHn5Or72ue6OowKn4XfIA="}
-------------------------
Date: 2025-03-20 12:01:57 +00:00 UTC
Salesforce url = https://amend-treatment--devjts.sandbox.my.salesforce.com/services/data/v48.0/query?q=SELECT+Id%2C+stageName%2C+First_Name__c%2C+Middle_Name__c%2C+Last_Name__c%2C+Preferred_Name__c%2C+Client_DOB__c%2C+Marital_Status__c%2C+Phone__c%2C+Alternative_Phone__c%2CSSN__c%2CAddress_Street__c%2CAddress_Street_2__c%2CAddress_City__c%2CAddress_ZIP__c%2CAddress_State__c%2CAddress_Country__c%2CGender__c%2CEmail__c%2CPrimary_Insurance_Company__c%2CPrimary_Insurance_Phone__c%2CPrimary_Subscriber_First_Name__c%2CPrimary_Subscriber_Middle_Name__c%2CPrimary_Subscriber_Last_Name__c%2CPrimary_Subscriber_SSN__c%2CPrimary_Subscriber_DOB__c%2CPrimary_Insurance_Group_Number__c%2CPrimary_Subscriber_Address_Street__c%2CPrimary_Subscriber_Address_Street_2__c%2CPrimary_Subscriber_Address_City__c%2CPrimary_Subscriber_Address_ZIP__c%2CPrimary_Subscriber_Address_State__c%2CPrimary_Member_ID__c%2CPrim_Sub_Relationship_to_Client__c%2CPrimary_Insurance_Plan_Type__c%2CEmployer_Name__c%2CAccountId+FROM+Opportunity+where+Id+%3D+%27006D700000SluDaIAJ%27+LIMIT+1
-------------------------
Date: 2025-03-20 12:01:57 +00:00 UTC
Salesforce query = SELECT Id, stageName, First_Name__c, Middle_Name__c, Last_Name__c, Preferred_Name__c, Client_DOB__c, Marital_Status__c, Phone__c, Alternative_Phone__c,SSN__c,Address_Street__c,Address_Street_2__c,Address_City__c,Address_ZIP__c,Address_State__c,Address_Country__c,Gender__c,Email__c,Primary_Insurance_Company__c,Primary_Insurance_Phone__c,Primary_Subscriber_First_Name__c,Primary_Subscriber_Middle_Name__c,Primary_Subscriber_Last_Name__c,Primary_Subscriber_SSN__c,Primary_Subscriber_DOB__c,Primary_Insurance_Group_Number__c,Primary_Subscriber_Address_Street__c,Primary_Subscriber_Address_Street_2__c,Primary_Subscriber_Address_City__c,Primary_Subscriber_Address_ZIP__c,Primary_Subscriber_Address_State__c,Primary_Member_ID__c,Prim_Sub_Relationship_to_Client__c,Primary_Insurance_Plan_Type__c,Employer_Name__c,AccountId FROM Opportunity where Id = '006D700000SluDaIAJ' LIMIT 1
-------------------------
Date: 2025-03-20 12:01:58 +00:00 UTC
Salesforce query response = {"totalSize":1,"done":true,"records":[{"attributes":{"type":"Opportunity","url":"/services/data/v48.0/sobjects/Opportunity/006D700000SluDaIAJ"},"Id":"006D700000SluDaIAJ","StageName":"VOB Received","First_Name__c":"Adam","Middle_Name__c":null,"Last_Name__c":"Smith","Preferred_Name__c":null,"Client_DOB__c":"1991-03-01","Marital_Status__c":null,"Phone__c":null,"Alternative_Phone__c":null,"SSN__c":null,"Address_Street__c":null,"Address_Street_2__c":null,"Address_City__c":null,"Address_ZIP__c":null,"Address_State__c":null,"Address_Country__c":null,"Gender__c":null,"Email__c":null,"Primary_Insurance_Company__c":"Testing Record","Primary_Insurance_Phone__c":null,"Primary_Subscriber_First_Name__c":null,"Primary_Subscriber_Middle_Name__c":null,"Primary_Subscriber_Last_Name__c":null,"Primary_Subscriber_SSN__c":null,"Primary_Subscriber_DOB__c":null,"Primary_Insurance_Group_Number__c":null,"Primary_Subscriber_Address_Street__c":null,"Primary_Subscriber_Address_Street_2__c":null,"Primary_Subscriber_Address_City__c":null,"Primary_Subscriber_Address_ZIP__c":null,"Primary_Subscriber_Address_State__c":null,"Primary_Member_ID__c":"234234234234","Prim_Sub_Relationship_to_Client__c":null,"Primary_Insurance_Plan_Type__c":null,"Employer_Name__c":null,"AccountId":"001D700001WMLpcIAH"}]}
-------------------------
Date: 2025-03-20 12:02:10 +00:00 UTC
KIPU Post Payload = {
"document": {
"recipient_id": "fw20AQBVKpyODNxgPxsUf_OFDe3SZtxF_3Foc-bBE9o",
"sending_app_name": "Amend Treatment",
"data": {
"sending_app_patient_id": "001D700001WMLpcIAH",
"first_name": "Adam",
"middle_name": "",
"last_name": "Smith",
"preferred_name": "",
"dob": "1991-03-01",
"marital_status": "",
"mr": "",
"phone": "",
"alternate_phone": "",
"ethnicity": "",
"pre_admission_status": "",
"admission_date": "",
"anticipated_discharge_date": "",
"sobriety_date": "",
"ssn": "",
"address_street": "",
"address_street2": "",
"address_city": "",
"address_zip": "",
"address_state": "",
"address_country": "",
"gender": "",
"email": "",
"first_contact_date": "",
"first_contact_rep_on_call": "",
"first_contact_name": "",
"first_contact_information": "",
"first_contact_relationship": "",
"referrer_id": "",
"payment_method": "",
"referrer_name": "",
"discharge_to_name": "",
"bed_name": "",
"discharge_to_name": "",
"ext_id_mappings_attributes": [
{
"ext_system_name": "Salesforce",
"ext_id": "006D700000SluDaIAJ"
}
],
"insurances_attributes": [
{
"insurance_company": "Testing Record",
"insurance_phone": "",
"subscriber_first_name": "",
"subscriber_middle_name": "",
"subscriber_last_name": "",
"subscriber_SSN": "",
"subscriber_DOB": "",
"subscriber_address_street": "",
"subscriber_address_street2": "",
"subscriber_address_city": "",
"subscriber_address_zip": "",
"subscriber_address_state": "",
"subscriber_address_country": "",
"notes": "",
"policy_no": "234234234234",
"group_ID": "",
"subscriber_relationship": "",
"insurance_plan_type": "",
"subscriber_employer":"",
"subscriber_gender":""
}
]
},"attachments_attributes":[{
"attachment_patient_process_id":"61"
},{
"attachment_patient_process_id":"61"
},{
"attachment_patient_process_id":"61"
},{
"attachment_patient_process_id":"61"
},{
"attachment_patient_process_id":"61"
},{
"attachment_patient_process_id":"61"
},{
"attachment_patient_process_id":"61"
},{
"attachment_patient_process_id":"61"
},{
"attachment_patient_process_id":"61"
},{
"attachment_patient_process_id":"61"
},{
"attachment_patient_process_id":"61"
},{
"attachment_patient_process_id":"61"
}]
}
}
-------------------------
Date: 2025-03-20 12:02:10 +00:00 UTC
Salesforce Stage Name = VOB Received
-------------------------
Date: 2025-03-20 12:02:10 +00:00 UTC
KIPU End Point = https://kipuapi.kipuworks.com/api/patients
-------------------------
Date: 2025-03-20 12:02:10 +00:00 UTC
KIPU Header Point = ["Accept: application\/vnd.kipusystems+json; version=3","Authorization: APIAuth KV2ICK_sztnZgoBYygHJIy3XJOKR4BvZ6Ca_X1QStdY:LHoFd5HBtsvzE1H\/09UXRw3WmnI=","Content-type: multipart\/form-data; boundary=MultipartBoundary","Content-MD5: fgHoocYOTQQe02Xl3ERp8w==","Date: Thu, 20 Mar 2025 12:02:10 GMT"]
-------------------------
Date: 2025-03-20 12:02:14 +00:00 UTC
{"status":"Delivered"}
-------------------------
Date: 2025-03-20 12:02:14 +00:00 UTC
server_output KIPU Response = {"status":"Delivered"}
-------------------------
Date: 2025-04-21 08:20:44 +00:00 UTC
006D700000Sm1Z6IAJ
-------------------------
Date: 2025-04-21 08:20:45 +00:00 UTC
Salesforce Response = {"access_token":"00DD7000000jUHt!AQEAQBIzBVs0XOj4vnWSpalY8LvUsCV75bwPj43nC0KJYfo6nCtXnB09g7QYik3AiVW9L2PVZVHwW7iAyPeKNxfNNqohX7dd","instance_url":"https://amend-treatment--devjts.sandbox.my.salesforce.com","id":"https://test.salesforce.com/id/00DD7000000jUHtMAM/005Hu00000QOle3IAD","token_type":"Bearer","issued_at":"1745223645869","signature":"i83ZrXtf6baG9Ksgol4/1AzwlsjU8dOwPyW+FkRyE+I="}
-------------------------
Date: 2025-04-21 08:20:45 +00:00 UTC
Salesforce url = https://amend-treatment--devjts.sandbox.my.salesforce.com/services/data/v48.0/query?q=SELECT+Id%2C+stageName%2C+First_Name__c%2C+Middle_Name__c%2C+Last_Name__c%2C+Preferred_Name__c%2C+Client_DOB__c%2C+Marital_Status__c%2C+Phone__c%2C+Alternative_Phone__c%2CSSN__c%2CAddress_Street__c%2CAddress_Street_2__c%2CAddress_City__c%2CAddress_ZIP__c%2CAddress_State__c%2CAddress_Country__c%2CGender__c%2CEmail__c%2CPrimary_Insurance_Company__c%2CPrimary_Insurance_Phone__c%2CPrimary_Subscriber_First_Name__c%2CPrimary_Subscriber_Middle_Name__c%2CPrimary_Subscriber_Last_Name__c%2CPrimary_Subscriber_SSN__c%2CPrimary_Subscriber_DOB__c%2CPrimary_Insurance_Group_Number__c%2CPrimary_Subscriber_Address_Street__c%2CPrimary_Subscriber_Address_Street_2__c%2CPrimary_Subscriber_Address_City__c%2CPrimary_Subscriber_Address_ZIP__c%2CPrimary_Subscriber_Address_State__c%2CPrimary_Member_ID__c%2CPrim_Sub_Relationship_to_Client__c%2CPrimary_Insurance_Plan_Type__c%2CEmployer_Name__c%2CAccountId+FROM+Opportunity+where+Id+%3D+%27006D700000Sm1Z6IAJ%27+LIMIT+1
-------------------------
Date: 2025-04-21 08:20:45 +00:00 UTC
Salesforce query = SELECT Id, stageName, First_Name__c, Middle_Name__c, Last_Name__c, Preferred_Name__c, Client_DOB__c, Marital_Status__c, Phone__c, Alternative_Phone__c,SSN__c,Address_Street__c,Address_Street_2__c,Address_City__c,Address_ZIP__c,Address_State__c,Address_Country__c,Gender__c,Email__c,Primary_Insurance_Company__c,Primary_Insurance_Phone__c,Primary_Subscriber_First_Name__c,Primary_Subscriber_Middle_Name__c,Primary_Subscriber_Last_Name__c,Primary_Subscriber_SSN__c,Primary_Subscriber_DOB__c,Primary_Insurance_Group_Number__c,Primary_Subscriber_Address_Street__c,Primary_Subscriber_Address_Street_2__c,Primary_Subscriber_Address_City__c,Primary_Subscriber_Address_ZIP__c,Primary_Subscriber_Address_State__c,Primary_Member_ID__c,Prim_Sub_Relationship_to_Client__c,Primary_Insurance_Plan_Type__c,Employer_Name__c,AccountId FROM Opportunity where Id = '006D700000Sm1Z6IAJ' LIMIT 1
-------------------------
Date: 2025-04-21 08:20:46 +00:00 UTC
Salesforce query response = {"totalSize":1,"done":true,"records":[{"attributes":{"type":"Opportunity","url":"/services/data/v48.0/sobjects/Opportunity/006D700000Sm1Z6IAJ"},"Id":"006D700000Sm1Z6IAJ","StageName":"New","First_Name__c":"test","Middle_Name__c":null,"Last_Name__c":"record","Preferred_Name__c":null,"Client_DOB__c":"2006-04-11","Marital_Status__c":null,"Phone__c":null,"Alternative_Phone__c":null,"SSN__c":null,"Address_Street__c":"test street","Address_Street_2__c":null,"Address_City__c":"test city","Address_ZIP__c":"201301","Address_State__c":null,"Address_Country__c":"test Country","Gender__c":null,"Email__c":"test@gmail.com","Primary_Insurance_Company__c":null,"Primary_Insurance_Phone__c":null,"Primary_Subscriber_First_Name__c":null,"Primary_Subscriber_Middle_Name__c":null,"Primary_Subscriber_Last_Name__c":null,"Primary_Subscriber_SSN__c":null,"Primary_Subscriber_DOB__c":null,"Primary_Insurance_Group_Number__c":null,"Primary_Subscriber_Address_Street__c":null,"Primary_Subscriber_Address_Street_2__c":null,"Primary_Subscriber_Address_City__c":null,"Primary_Subscriber_Address_ZIP__c":null,"Primary_Subscriber_Address_State__c":null,"Primary_Member_ID__c":null,"Prim_Sub_Relationship_to_Client__c":null,"Primary_Insurance_Plan_Type__c":null,"Employer_Name__c":null,"AccountId":"001D700001WMLrnIAH"}]}
-------------------------
Date: 2025-04-21 08:20:47 +00:00 UTC
KIPU Post Payload = {
"document": {
"recipient_id": "fw20AQBVKpyODNxgPxsUf_OFDe3SZtxF_3Foc-bBE9o",
"sending_app_name": "Amend Treatment",
"data": {
"sending_app_patient_id": "001D700001WMLrnIAH",
"first_name": "test",
"middle_name": "",
"last_name": "record",
"preferred_name": "",
"dob": "2006-04-11",
"marital_status": "",
"mr": "",
"phone": "",
"alternate_phone": "",
"ethnicity": "",
"pre_admission_status": "",
"admission_date": "",
"anticipated_discharge_date": "",
"sobriety_date": "",
"ssn": "",
"address_street": "test street",
"address_street2": "",
"address_city": "test city",
"address_zip": "201301",
"address_state": "",
"address_country": "test Country",
"gender": "",
"email": "test@gmail.com",
"first_contact_date": "",
"first_contact_rep_on_call": "",
"first_contact_name": "",
"first_contact_information": "",
"first_contact_relationship": "",
"referrer_id": "",
"payment_method": "",
"referrer_name": "",
"discharge_to_name": "",
"bed_name": "",
"discharge_to_name": "",
"ext_id_mappings_attributes": [
{
"ext_system_name": "Salesforce",
"ext_id": "006D700000Sm1Z6IAJ"
}
],
"insurances_attributes": [
{
"insurance_company": "",
"insurance_phone": "",
"subscriber_first_name": "",
"subscriber_middle_name": "",
"subscriber_last_name": "",
"subscriber_SSN": "",
"subscriber_DOB": "",
"subscriber_address_street": "",
"subscriber_address_street2": "",
"subscriber_address_city": "",
"subscriber_address_zip": "",
"subscriber_address_state": "",
"subscriber_address_country": "",
"notes": "",
"policy_no": "",
"group_ID": "",
"subscriber_relationship": "",
"insurance_plan_type": "",
"subscriber_employer":"",
"subscriber_gender":""
}
]
}
}
}
-------------------------
Date: 2025-04-21 08:20:47 +00:00 UTC
Salesforce Stage Name = New
-------------------------
Date: 2025-04-21 08:20:47 +00:00 UTC
KIPU End Point = https://kipuapi.kipuworks.com/api/patients
-------------------------
Date: 2025-04-21 08:20:47 +00:00 UTC
KIPU Header Point = ["Accept: application\/vnd.kipusystems+json; version=3","Authorization: APIAuth KV2ICK_sztnZgoBYygHJIy3XJOKR4BvZ6Ca_X1QStdY:IyedfPHc\/Xq\/5ewNxQw3L7xkDGc=","Content-type: multipart\/form-data; boundary=MultipartBoundary","Content-MD5: uXT7gw2xgd0p64eHl\/NIgg==","Date: Mon, 21 Apr 2025 08:20:47 GMT"]
-------------------------
Date: 2025-04-21 08:20:49 +00:00 UTC
{"status":"Delivered"}
-------------------------
Date: 2025-04-21 08:20:49 +00:00 UTC
server_output KIPU Response = {"status":"Delivered"}
-------------------------
Date: 2025-04-21 08:36:33 +00:00 UTC
006D700000Sm1Z6IAJ
-------------------------
Date: 2025-04-21 08:36:35 +00:00 UTC
Salesforce Response = {"access_token":"00DD7000000jUHt!AQEAQBIzBVs0XOj4vnWSpalY8LvUsCV75bwPj43nC0KJYfo6nCtXnB09g7QYik3AiVW9L2PVZVHwW7iAyPeKNxfNNqohX7dd","instance_url":"https://amend-treatment--devjts.sandbox.my.salesforce.com","id":"https://test.salesforce.com/id/00DD7000000jUHtMAM/005Hu00000QOle3IAD","token_type":"Bearer","issued_at":"1745224595327","signature":"jwM/Sflw/oSygovXoWM7QYmxRZhAJmYLcdJ9r8ZsbYk="}
-------------------------
Date: 2025-04-21 08:36:35 +00:00 UTC
Salesforce url = https://amend-treatment--devjts.sandbox.my.salesforce.com/services/data/v48.0/query?q=SELECT+Id%2C+stageName%2C+First_Name__c%2C+Middle_Name__c%2C+Last_Name__c%2C+Preferred_Name__c%2C+Client_DOB__c%2C+Marital_Status__c%2C+Phone__c%2C+Alternative_Phone__c%2CSSN__c%2CAddress_Street__c%2CAddress_Street_2__c%2CAddress_City__c%2CAddress_ZIP__c%2CAddress_State__c%2CAddress_Country__c%2CGender__c%2CEmail__c%2CPrimary_Insurance_Company__c%2CPrimary_Insurance_Phone__c%2CPrimary_Subscriber_First_Name__c%2CPrimary_Subscriber_Middle_Name__c%2CPrimary_Subscriber_Last_Name__c%2CPrimary_Subscriber_SSN__c%2CPrimary_Subscriber_DOB__c%2CPrimary_Insurance_Group_Number__c%2CPrimary_Subscriber_Address_Street__c%2CPrimary_Subscriber_Address_Street_2__c%2CPrimary_Subscriber_Address_City__c%2CPrimary_Subscriber_Address_ZIP__c%2CPrimary_Subscriber_Address_State__c%2CPrimary_Member_ID__c%2CPrim_Sub_Relationship_to_Client__c%2CPrimary_Insurance_Plan_Type__c%2CEmployer_Name__c%2CAccountId+FROM+Opportunity+where+Id+%3D+%27006D700000Sm1Z6IAJ%27+LIMIT+1
-------------------------
Date: 2025-04-21 08:36:35 +00:00 UTC
Salesforce query = SELECT Id, stageName, First_Name__c, Middle_Name__c, Last_Name__c, Preferred_Name__c, Client_DOB__c, Marital_Status__c, Phone__c, Alternative_Phone__c,SSN__c,Address_Street__c,Address_Street_2__c,Address_City__c,Address_ZIP__c,Address_State__c,Address_Country__c,Gender__c,Email__c,Primary_Insurance_Company__c,Primary_Insurance_Phone__c,Primary_Subscriber_First_Name__c,Primary_Subscriber_Middle_Name__c,Primary_Subscriber_Last_Name__c,Primary_Subscriber_SSN__c,Primary_Subscriber_DOB__c,Primary_Insurance_Group_Number__c,Primary_Subscriber_Address_Street__c,Primary_Subscriber_Address_Street_2__c,Primary_Subscriber_Address_City__c,Primary_Subscriber_Address_ZIP__c,Primary_Subscriber_Address_State__c,Primary_Member_ID__c,Prim_Sub_Relationship_to_Client__c,Primary_Insurance_Plan_Type__c,Employer_Name__c,AccountId FROM Opportunity where Id = '006D700000Sm1Z6IAJ' LIMIT 1
-------------------------
Date: 2025-04-21 08:36:36 +00:00 UTC
Salesforce query response = {"totalSize":1,"done":true,"records":[{"attributes":{"type":"Opportunity","url":"/services/data/v48.0/sobjects/Opportunity/006D700000Sm1Z6IAJ"},"Id":"006D700000Sm1Z6IAJ","StageName":"New","First_Name__c":"test","Middle_Name__c":null,"Last_Name__c":"record","Preferred_Name__c":null,"Client_DOB__c":"2006-04-11","Marital_Status__c":null,"Phone__c":null,"Alternative_Phone__c":null,"SSN__c":null,"Address_Street__c":"test street","Address_Street_2__c":null,"Address_City__c":"test city","Address_ZIP__c":"201301","Address_State__c":null,"Address_Country__c":"test Country","Gender__c":null,"Email__c":"test@gmail.com","Primary_Insurance_Company__c":null,"Primary_Insurance_Phone__c":null,"Primary_Subscriber_First_Name__c":null,"Primary_Subscriber_Middle_Name__c":null,"Primary_Subscriber_Last_Name__c":null,"Primary_Subscriber_SSN__c":null,"Primary_Subscriber_DOB__c":null,"Primary_Insurance_Group_Number__c":null,"Primary_Subscriber_Address_Street__c":null,"Primary_Subscriber_Address_Street_2__c":null,"Primary_Subscriber_Address_City__c":null,"Primary_Subscriber_Address_ZIP__c":null,"Primary_Subscriber_Address_State__c":null,"Primary_Member_ID__c":null,"Prim_Sub_Relationship_to_Client__c":null,"Primary_Insurance_Plan_Type__c":null,"Employer_Name__c":null,"AccountId":"001D700001WMLrnIAH"}]}
-------------------------
Date: 2025-04-21 08:36:37 +00:00 UTC
KIPU Post Payload = {
"document": {
"recipient_id": "fw20AQBVKpyODNxgPxsUf_OFDe3SZtxF_3Foc-bBE9o",
"sending_app_name": "Amend Treatment",
"data": {
"sending_app_patient_id": "001D700001WMLrnIAH",
"first_name": "test",
"middle_name": "",
"last_name": "record",
"preferred_name": "",
"dob": "2006-04-11",
"marital_status": "",
"mr": "",
"phone": "",
"alternate_phone": "",
"ethnicity": "",
"pre_admission_status": "",
"admission_date": "",
"anticipated_discharge_date": "",
"sobriety_date": "",
"ssn": "",
"address_street": "test street",
"address_street2": "",
"address_city": "test city",
"address_zip": "201301",
"address_state": "",
"address_country": "test Country",
"gender": "",
"email": "test@gmail.com",
"first_contact_date": "",
"first_contact_rep_on_call": "",
"first_contact_name": "",
"first_contact_information": "",
"first_contact_relationship": "",
"referrer_id": "",
"payment_method": "",
"referrer_name": "",
"discharge_to_name": "",
"bed_name": "",
"discharge_to_name": "",
"ext_id_mappings_attributes": [
{
"ext_system_name": "Salesforce",
"ext_id": "006D700000Sm1Z6IAJ"
}
],
"insurances_attributes": [
{
"insurance_company": "",
"insurance_phone": "",
"subscriber_first_name": "",
"subscriber_middle_name": "",
"subscriber_last_name": "",
"subscriber_SSN": "",
"subscriber_DOB": "",
"subscriber_address_street": "",
"subscriber_address_street2": "",
"subscriber_address_city": "",
"subscriber_address_zip": "",
"subscriber_address_state": "",
"subscriber_address_country": "",
"notes": "",
"policy_no": "",
"group_ID": "",
"subscriber_relationship": "",
"insurance_plan_type": "",
"subscriber_employer":"",
"subscriber_gender":""
}
]
}
}
}
-------------------------
Date: 2025-04-21 08:36:37 +00:00 UTC
Salesforce Stage Name = New
-------------------------
Date: 2025-04-21 08:36:37 +00:00 UTC
KIPU End Point = https://kipuapi.kipuworks.com/api/patients
-------------------------
Date: 2025-04-21 08:36:37 +00:00 UTC
KIPU Header Point = ["Accept: application\/vnd.kipusystems+json; version=3","Authorization: APIAuth KV2ICK_sztnZgoBYygHJIy3XJOKR4BvZ6Ca_X1QStdY:S6dNqESTyzQDtPLbBDZTWnyGGdQ=","Content-type: multipart\/form-data; boundary=MultipartBoundary","Content-MD5: uXT7gw2xgd0p64eHl\/NIgg==","Date: Mon, 21 Apr 2025 08:36:37 GMT"]
-------------------------
Date: 2025-04-21 08:36:39 +00:00 UTC
{"status":"Delivered"}
-------------------------
Date: 2025-04-21 08:36:39 +00:00 UTC
server_output KIPU Response = {"status":"Delivered"}
-------------------------
Date: 2025-04-21 08:45:17 +00:00 UTC
006D700000Sm1Z6IAJ
-------------------------
Date: 2025-04-21 08:45:18 +00:00 UTC
Salesforce Response = {"access_token":"00DD7000000jUHt!AQEAQBIzBVs0XOj4vnWSpalY8LvUsCV75bwPj43nC0KJYfo6nCtXnB09g7QYik3AiVW9L2PVZVHwW7iAyPeKNxfNNqohX7dd","instance_url":"https://amend-treatment--devjts.sandbox.my.salesforce.com","id":"https://test.salesforce.com/id/00DD7000000jUHtMAM/005Hu00000QOle3IAD","token_type":"Bearer","issued_at":"1745225118796","signature":"tO47DlIMY6EfNHn2jQrVMn+UPFkI+rJOd4DfHSigAmY="}
-------------------------
Date: 2025-04-21 08:45:18 +00:00 UTC
Salesforce url = https://amend-treatment--devjts.sandbox.my.salesforce.com/services/data/v48.0/query?q=SELECT+Id%2C+stageName%2C+First_Name__c%2C+Middle_Name__c%2C+Last_Name__c%2C+Preferred_Name__c%2C+Client_DOB__c%2C+Marital_Status__c%2C+Phone__c%2C+Alternative_Phone__c%2CSSN__c%2CAddress_Street__c%2CAddress_Street_2__c%2CAddress_City__c%2CAddress_ZIP__c%2CAddress_State__c%2CAddress_Country__c%2CGender__c%2CEmail__c%2CPrimary_Insurance_Company__c%2CPrimary_Insurance_Phone__c%2CPrimary_Subscriber_First_Name__c%2CPrimary_Subscriber_Middle_Name__c%2CPrimary_Subscriber_Last_Name__c%2CPrimary_Subscriber_SSN__c%2CPrimary_Subscriber_DOB__c%2CPrimary_Insurance_Group_Number__c%2CPrimary_Subscriber_Address_Street__c%2CPrimary_Subscriber_Address_Street_2__c%2CPrimary_Subscriber_Address_City__c%2CPrimary_Subscriber_Address_ZIP__c%2CPrimary_Subscriber_Address_State__c%2CPrimary_Member_ID__c%2CPrim_Sub_Relationship_to_Client__c%2CPrimary_Insurance_Plan_Type__c%2CEmployer_Name__c%2CAccountId+FROM+Opportunity+where+Id+%3D+%27006D700000Sm1Z6IAJ%27+LIMIT+1
-------------------------
Date: 2025-04-21 08:45:18 +00:00 UTC
Salesforce query = SELECT Id, stageName, First_Name__c, Middle_Name__c, Last_Name__c, Preferred_Name__c, Client_DOB__c, Marital_Status__c, Phone__c, Alternative_Phone__c,SSN__c,Address_Street__c,Address_Street_2__c,Address_City__c,Address_ZIP__c,Address_State__c,Address_Country__c,Gender__c,Email__c,Primary_Insurance_Company__c,Primary_Insurance_Phone__c,Primary_Subscriber_First_Name__c,Primary_Subscriber_Middle_Name__c,Primary_Subscriber_Last_Name__c,Primary_Subscriber_SSN__c,Primary_Subscriber_DOB__c,Primary_Insurance_Group_Number__c,Primary_Subscriber_Address_Street__c,Primary_Subscriber_Address_Street_2__c,Primary_Subscriber_Address_City__c,Primary_Subscriber_Address_ZIP__c,Primary_Subscriber_Address_State__c,Primary_Member_ID__c,Prim_Sub_Relationship_to_Client__c,Primary_Insurance_Plan_Type__c,Employer_Name__c,AccountId FROM Opportunity where Id = '006D700000Sm1Z6IAJ' LIMIT 1
-------------------------
Date: 2025-04-21 08:45:19 +00:00 UTC
Salesforce query response = {"totalSize":1,"done":true,"records":[{"attributes":{"type":"Opportunity","url":"/services/data/v48.0/sobjects/Opportunity/006D700000Sm1Z6IAJ"},"Id":"006D700000Sm1Z6IAJ","StageName":"New","First_Name__c":"test","Middle_Name__c":null,"Last_Name__c":"record","Preferred_Name__c":null,"Client_DOB__c":"2006-04-11","Marital_Status__c":null,"Phone__c":null,"Alternative_Phone__c":null,"SSN__c":null,"Address_Street__c":"test street","Address_Street_2__c":null,"Address_City__c":"test city","Address_ZIP__c":"201301","Address_State__c":null,"Address_Country__c":"test Country","Gender__c":null,"Email__c":"test@gmail.com","Primary_Insurance_Company__c":null,"Primary_Insurance_Phone__c":null,"Primary_Subscriber_First_Name__c":null,"Primary_Subscriber_Middle_Name__c":null,"Primary_Subscriber_Last_Name__c":null,"Primary_Subscriber_SSN__c":null,"Primary_Subscriber_DOB__c":null,"Primary_Insurance_Group_Number__c":null,"Primary_Subscriber_Address_Street__c":null,"Primary_Subscriber_Address_Street_2__c":null,"Primary_Subscriber_Address_City__c":null,"Primary_Subscriber_Address_ZIP__c":null,"Primary_Subscriber_Address_State__c":null,"Primary_Member_ID__c":null,"Prim_Sub_Relationship_to_Client__c":null,"Primary_Insurance_Plan_Type__c":null,"Employer_Name__c":null,"AccountId":"001D700001WMLrnIAH"}]}
-------------------------
Date: 2025-04-21 08:45:20 +00:00 UTC
KIPU Post Payload = {
"document": {
"recipient_id": "fw20AQBVKpyODNxgPxsUf_OFDe3SZtxF_3Foc-bBE9o",
"sending_app_name": "Amend Treatment",
"data": {
"sending_app_patient_id": "001D700001WMLrnIAH",
"first_name": "test",
"middle_name": "",
"last_name": "record",
"preferred_name": "",
"dob": "2006-04-11",
"marital_status": "",
"mr": "",
"phone": "",
"alternate_phone": "",
"ethnicity": "",
"pre_admission_status": "",
"admission_date": "",
"anticipated_discharge_date": "",
"sobriety_date": "",
"ssn": "",
"address_street": "test street",
"address_street2": "",
"address_city": "test city",
"address_zip": "201301",
"address_state": "",
"address_country": "test Country",
"gender": "",
"email": "test@gmail.com",
"first_contact_date": "",
"first_contact_rep_on_call": "",
"first_contact_name": "",
"first_contact_information": "",
"first_contact_relationship": "",
"referrer_id": "",
"payment_method": "",
"referrer_name": "",
"discharge_to_name": "",
"bed_name": "",
"discharge_to_name": "",
"ext_id_mappings_attributes": [
{
"ext_system_name": "Salesforce",
"ext_id": "006D700000Sm1Z6IAJ"
}
],
"insurances_attributes": [
{
"insurance_company": "",
"insurance_phone": "",
"subscriber_first_name": "",
"subscriber_middle_name": "",
"subscriber_last_name": "",
"subscriber_SSN": "",
"subscriber_DOB": "",
"subscriber_address_street": "",
"subscriber_address_street2": "",
"subscriber_address_city": "",
"subscriber_address_zip": "",
"subscriber_address_state": "",
"subscriber_address_country": "",
"notes": "",
"policy_no": "",
"group_ID": "",
"subscriber_relationship": "",
"insurance_plan_type": "",
"subscriber_employer":"",
"subscriber_gender":""
}
]
}
}
}
-------------------------
Date: 2025-04-21 08:45:20 +00:00 UTC
Salesforce Stage Name = New
-------------------------
Date: 2025-04-21 08:45:20 +00:00 UTC
KIPU End Point = https://kipuapi.kipuworks.com/api/patients
-------------------------
Date: 2025-04-21 08:45:20 +00:00 UTC
KIPU Header Point = ["Accept: application\/vnd.kipusystems+json; version=3","Authorization: APIAuth KV2ICK_sztnZgoBYygHJIy3XJOKR4BvZ6Ca_X1QStdY:c8YcMmQlzoSV5nybAwZQJVMnj1E=","Content-type: multipart\/form-data; boundary=MultipartBoundary","Content-MD5: uXT7gw2xgd0p64eHl\/NIgg==","Date: Mon, 21 Apr 2025 08:45:20 GMT"]
-------------------------
Date: 2025-04-21 08:45:21 +00:00 UTC
{"status":"Delivered"}
-------------------------
Date: 2025-04-21 08:45:21 +00:00 UTC
server_output KIPU Response = {"status":"Delivered"}
-------------------------
Date: 2025-04-21 09:52:24 +00:00 UTC
006D700000Sm1Z6IAJ
-------------------------
Date: 2025-04-21 09:52:26 +00:00 UTC
Salesforce Response = {"access_token":"00D1U000001AAUh!AQEAQB_H7t5sPB1hKMR4GCYw41Z9EW6RgRHQB.iKmu3aDEsF1ELrvs6X3ObryW7NsnmZsGHAadzT1DQ1T0Vno_.BHO_cxjEo","instance_url":"https://apncapital.my.salesforce.com","id":"https://login.salesforce.com/id/00D1U000001AAUhUAO/0051U000005HN6pQAG","token_type":"Bearer","issued_at":"1745229146353","signature":"rSrHpuTewecgssYGADqtv0h0SRUgofotOVDzv+oowPw="}
-------------------------
Date: 2025-04-21 09:52:26 +00:00 UTC
Salesforce url = https://apncapital.my.salesforce.com/services/data/v48.0/query?q=SELECT+Id%2C+stageName%2C+First_Name__c%2C+Middle_Name__c%2C+Last_Name__c%2C+Preferred_Name__c%2C+Client_DOB__c%2C+Marital_Status__c%2C+Phone__c%2C+Alternative_Phone__c%2CSSN__c%2CAddress_Street__c%2CAddress_Street_2__c%2CAddress_City__c%2CAddress_ZIP__c%2CAddress_State__c%2CAddress_Country__c%2CGender__c%2CEmail__c%2CPrimary_Insurance_Company__c%2CPrimary_Insurance_Phone__c%2CPrimary_Subscriber_First_Name__c%2CPrimary_Subscriber_Middle_Name__c%2CPrimary_Subscriber_Last_Name__c%2CPrimary_Subscriber_SSN__c%2CPrimary_Subscriber_DOB__c%2CPrimary_Insurance_Group_Number__c%2CPrimary_Subscriber_Address_Street__c%2CPrimary_Subscriber_Address_Street_2__c%2CPrimary_Subscriber_Address_City__c%2CPrimary_Subscriber_Address_ZIP__c%2CPrimary_Subscriber_Address_State__c%2CPrimary_Member_ID__c%2CPrim_Sub_Relationship_to_Client__c%2CPrimary_Insurance_Plan_Type__c%2CEmployer_Name__c%2CAccountId+FROM+Opportunity+where+Id+%3D+%27006D700000Sm1Z6IAJ%27+LIMIT+1
-------------------------
Date: 2025-04-21 09:52:26 +00:00 UTC
Salesforce query = SELECT Id, stageName, First_Name__c, Middle_Name__c, Last_Name__c, Preferred_Name__c, Client_DOB__c, Marital_Status__c, Phone__c, Alternative_Phone__c,SSN__c,Address_Street__c,Address_Street_2__c,Address_City__c,Address_ZIP__c,Address_State__c,Address_Country__c,Gender__c,Email__c,Primary_Insurance_Company__c,Primary_Insurance_Phone__c,Primary_Subscriber_First_Name__c,Primary_Subscriber_Middle_Name__c,Primary_Subscriber_Last_Name__c,Primary_Subscriber_SSN__c,Primary_Subscriber_DOB__c,Primary_Insurance_Group_Number__c,Primary_Subscriber_Address_Street__c,Primary_Subscriber_Address_Street_2__c,Primary_Subscriber_Address_City__c,Primary_Subscriber_Address_ZIP__c,Primary_Subscriber_Address_State__c,Primary_Member_ID__c,Prim_Sub_Relationship_to_Client__c,Primary_Insurance_Plan_Type__c,Employer_Name__c,AccountId FROM Opportunity where Id = '006D700000Sm1Z6IAJ' LIMIT 1
-------------------------
Date: 2025-04-21 09:52:26 +00:00 UTC
Salesforce query response = [{"message":"\nSELECT Id, stageName, First_Name__c, Middle_Name__c, Last_Name__c\n ^\nERROR at Row:1:Column:23\nNo such column 'First_Name__c' on entity 'Opportunity'. If you are attempting to use a custom field, be sure to append the '__c' after the custom field name. Please reference your WSDL or the describe call for the appropriate names.","errorCode":"INVALID_FIELD"}]
-------------------------
Date: 2025-04-21 09:52:28 +00:00 UTC
KIPU Post Payload = {
"document": {
"recipient_id": "fw20AQBVKpyODNxgPxsUf_OFDe3SZtxF_3Foc-bBE9o",
"sending_app_name": "Amend Treatment",
"data": {
"sending_app_patient_id": "",
"first_name": "",
"middle_name": "",
"last_name": "",
"preferred_name": "",
"dob": "",
"marital_status": "",
"mr": "",
"phone": "",
"alternate_phone": "",
"ethnicity": "",
"pre_admission_status": "",
"admission_date": "",
"anticipated_discharge_date": "",
"sobriety_date": "",
"ssn": "",
"address_street": "",
"address_street2": "",
"address_city": "",
"address_zip": "",
"address_state": "",
"address_country": "",
"gender": "",
"email": "",
"first_contact_date": "",
"first_contact_rep_on_call": "",
"first_contact_name": "",
"first_contact_information": "",
"first_contact_relationship": "",
"referrer_id": "",
"payment_method": "",
"referrer_name": "",
"discharge_to_name": "",
"bed_name": "",
"discharge_to_name": "",
"ext_id_mappings_attributes": [
{
"ext_system_name": "Salesforce",
"ext_id": "006D700000Sm1Z6IAJ"
}
],
"insurances_attributes": [
{
"insurance_company": "",
"insurance_phone": "",
"subscriber_first_name": "",
"subscriber_middle_name": "",
"subscriber_last_name": "",
"subscriber_SSN": "",
"subscriber_DOB": "",
"subscriber_address_street": "",
"subscriber_address_street2": "",
"subscriber_address_city": "",
"subscriber_address_zip": "",
"subscriber_address_state": "",
"subscriber_address_country": "",
"notes": "",
"policy_no": "",
"group_ID": "",
"subscriber_relationship": "",
"insurance_plan_type": "",
"subscriber_employer":"",
"subscriber_gender":""
}
]
}
}
}
-------------------------
Date: 2025-04-21 09:52:28 +00:00 UTC
Salesforce Stage Name =
-------------------------
Date: 2025-04-21 10:18:06 +00:00 UTC
006D700000Sm1Z6IAJ
-------------------------
Date: 2025-04-21 10:18:07 +00:00 UTC
Salesforce Response = {"access_token":"00D1U000001AAUh!AQEAQB_H7t5sPB1hKMR4GCYw41Z9EW6RgRHQB.iKmu3aDEsF1ELrvs6X3ObryW7NsnmZsGHAadzT1DQ1T0Vno_.BHO_cxjEo","instance_url":"https://apncapital.my.salesforce.com","id":"https://login.salesforce.com/id/00D1U000001AAUhUAO/0051U000005HN6pQAG","token_type":"Bearer","issued_at":"1745230687733","signature":"F30ydND/9NRXqqr5OkYazyO13XGFuXGFLRUdpgKk1Zw="}
-------------------------
Date: 2025-04-21 10:18:07 +00:00 UTC
Salesforce url = https://apncapital.my.salesforce.com/services/data/v48.0/query?q=SELECT+Id%2C+stageName%2C+First_Name__c%2C+Middle_Name__c%2C+Last_Name__c%2C+Preferred_Name__c%2C+Client_DOB__c%2C+Marital_Status__c%2C+Phone__c%2C+Alternative_Phone__c%2CSSN__c%2CAddress_Street__c%2CAddress_Street_2__c%2CAddress_City__c%2CAddress_ZIP__c%2CAddress_State__c%2CAddress_Country__c%2CGender__c%2CEmail__c%2CPrimary_Insurance_Company__c%2CPrimary_Insurance_Phone__c%2CPrimary_Subscriber_First_Name__c%2CPrimary_Subscriber_Middle_Name__c%2CPrimary_Subscriber_Last_Name__c%2CPrimary_Subscriber_SSN__c%2CPrimary_Subscriber_DOB__c%2CPrimary_Insurance_Group_Number__c%2CPrimary_Subscriber_Address_Street__c%2CPrimary_Subscriber_Address_Street_2__c%2CPrimary_Subscriber_Address_City__c%2CPrimary_Subscriber_Address_ZIP__c%2CPrimary_Subscriber_Address_State__c%2CPrimary_Member_ID__c%2CPrim_Sub_Relationship_to_Client__c%2CPrimary_Insurance_Plan_Type__c%2CEmployer_Name__c%2CAccountId+FROM+Opportunity+where+Id+%3D+%27006D700000Sm1Z6IAJ%27+LIMIT+1
-------------------------
Date: 2025-04-21 10:18:07 +00:00 UTC
Salesforce query = SELECT Id, stageName, First_Name__c, Middle_Name__c, Last_Name__c, Preferred_Name__c, Client_DOB__c, Marital_Status__c, Phone__c, Alternative_Phone__c,SSN__c,Address_Street__c,Address_Street_2__c,Address_City__c,Address_ZIP__c,Address_State__c,Address_Country__c,Gender__c,Email__c,Primary_Insurance_Company__c,Primary_Insurance_Phone__c,Primary_Subscriber_First_Name__c,Primary_Subscriber_Middle_Name__c,Primary_Subscriber_Last_Name__c,Primary_Subscriber_SSN__c,Primary_Subscriber_DOB__c,Primary_Insurance_Group_Number__c,Primary_Subscriber_Address_Street__c,Primary_Subscriber_Address_Street_2__c,Primary_Subscriber_Address_City__c,Primary_Subscriber_Address_ZIP__c,Primary_Subscriber_Address_State__c,Primary_Member_ID__c,Prim_Sub_Relationship_to_Client__c,Primary_Insurance_Plan_Type__c,Employer_Name__c,AccountId FROM Opportunity where Id = '006D700000Sm1Z6IAJ' LIMIT 1
-------------------------
Date: 2025-04-21 10:18:08 +00:00 UTC
Salesforce query response = [{"message":"\nSELECT Id, stageName, First_Name__c, Middle_Name__c, Last_Name__c\n ^\nERROR at Row:1:Column:23\nNo such column 'First_Name__c' on entity 'Opportunity'. If you are attempting to use a custom field, be sure to append the '__c' after the custom field name. Please reference your WSDL or the describe call for the appropriate names.","errorCode":"INVALID_FIELD"}]
-------------------------
Date: 2025-04-21 10:18:09 +00:00 UTC
KIPU Post Payload = {
"document": {
"recipient_id": "fw20AQBVKpyODNxgPxsUf_OFDe3SZtxF_3Foc-bBE9o",
"sending_app_name": "Amend Treatment",
"data": {
"sending_app_patient_id": "",
"first_name": "",
"middle_name": "",
"last_name": "",
"preferred_name": "",
"dob": "",
"marital_status": "",
"mr": "",
"phone": "",
"alternate_phone": "",
"ethnicity": "",
"pre_admission_status": "",
"admission_date": "",
"anticipated_discharge_date": "",
"sobriety_date": "",
"ssn": "",
"address_street": "",
"address_street2": "",
"address_city": "",
"address_zip": "",
"address_state": "",
"address_country": "",
"gender": "",
"email": "",
"first_contact_date": "",
"first_contact_rep_on_call": "",
"first_contact_name": "",
"first_contact_information": "",
"first_contact_relationship": "",
"referrer_id": "",
"payment_method": "",
"referrer_name": "",
"discharge_to_name": "",
"bed_name": "",
"discharge_to_name": "",
"ext_id_mappings_attributes": [
{
"ext_system_name": "Salesforce",
"ext_id": "006D700000Sm1Z6IAJ"
}
],
"insurances_attributes": [
{
"insurance_company": "",
"insurance_phone": "",
"subscriber_first_name": "",
"subscriber_middle_name": "",
"subscriber_last_name": "",
"subscriber_SSN": "",
"subscriber_DOB": "",
"subscriber_address_street": "",
"subscriber_address_street2": "",
"subscriber_address_city": "",
"subscriber_address_zip": "",
"subscriber_address_state": "",
"subscriber_address_country": "",
"notes": "",
"policy_no": "",
"group_ID": "",
"subscriber_relationship": "",
"insurance_plan_type": "",
"subscriber_employer":"",
"subscriber_gender":""
}
]
}
}
}
-------------------------
Date: 2025-04-21 10:18:09 +00:00 UTC
Salesforce Stage Name =
-------------------------
Date: 2025-04-21 10:20:59 +00:00 UTC
006D700000Sm1Z6IAJ
-------------------------
Date: 2025-04-21 10:21:00 +00:00 UTC
Salesforce Response = {"access_token":"00D1U000001AAUh!AQEAQB_H7t5sPB1hKMR4GCYw41Z9EW6RgRHQB.iKmu3aDEsF1ELrvs6X3ObryW7NsnmZsGHAadzT1DQ1T0Vno_.BHO_cxjEo","instance_url":"https://apncapital.my.salesforce.com","id":"https://login.salesforce.com/id/00D1U000001AAUhUAO/0051U000005HN6pQAG","token_type":"Bearer","issued_at":"1745230860653","signature":"JOUaN5DHve6Raxysw5gVnljBsyud4xjoFfLTjuVjCkA="}
-------------------------
Date: 2025-04-21 10:21:00 +00:00 UTC
Salesforce url = https://apncapital.my.salesforce.com/services/data/v48.0/query?q=SELECT+Id%2C+stageName%2C+First_Name__c%2C+Middle_Name__c%2C+Last_Name__c%2C+Preferred_Name__c%2C+Client_DOB__c%2C+Marital_Status__c%2C+Phone__c%2C+Alternative_Phone__c%2CSSN__c%2CAddress_Street__c%2CAddress_Street_2__c%2CAddress_City__c%2CAddress_ZIP__c%2CAddress_State__c%2CAddress_Country__c%2CGender__c%2CEmail__c%2CPrimary_Insurance_Company__c%2CPrimary_Insurance_Phone__c%2CPrimary_Subscriber_First_Name__c%2CPrimary_Subscriber_Middle_Name__c%2CPrimary_Subscriber_Last_Name__c%2CPrimary_Subscriber_SSN__c%2CPrimary_Subscriber_DOB__c%2CPrimary_Insurance_Group_Number__c%2CPrimary_Subscriber_Address_Street__c%2CPrimary_Subscriber_Address_Street_2__c%2CPrimary_Subscriber_Address_City__c%2CPrimary_Subscriber_Address_ZIP__c%2CPrimary_Subscriber_Address_State__c%2CPrimary_Member_ID__c%2CPrim_Sub_Relationship_to_Client__c%2CPrimary_Insurance_Plan_Type__c%2CEmployer_Name__c%2CAccountId+FROM+Opportunity+where+Id+%3D+%27006D700000Sm1Z6IAJ%27+LIMIT+1
-------------------------
Date: 2025-04-21 10:21:00 +00:00 UTC
Salesforce query = SELECT Id, stageName, First_Name__c, Middle_Name__c, Last_Name__c, Preferred_Name__c, Client_DOB__c, Marital_Status__c, Phone__c, Alternative_Phone__c,SSN__c,Address_Street__c,Address_Street_2__c,Address_City__c,Address_ZIP__c,Address_State__c,Address_Country__c,Gender__c,Email__c,Primary_Insurance_Company__c,Primary_Insurance_Phone__c,Primary_Subscriber_First_Name__c,Primary_Subscriber_Middle_Name__c,Primary_Subscriber_Last_Name__c,Primary_Subscriber_SSN__c,Primary_Subscriber_DOB__c,Primary_Insurance_Group_Number__c,Primary_Subscriber_Address_Street__c,Primary_Subscriber_Address_Street_2__c,Primary_Subscriber_Address_City__c,Primary_Subscriber_Address_ZIP__c,Primary_Subscriber_Address_State__c,Primary_Member_ID__c,Prim_Sub_Relationship_to_Client__c,Primary_Insurance_Plan_Type__c,Employer_Name__c,AccountId FROM Opportunity where Id = '006D700000Sm1Z6IAJ' LIMIT 1
-------------------------
Date: 2025-04-21 10:21:01 +00:00 UTC
Salesforce query response = [{"message":"\nSELECT Id, stageName, First_Name__c, Middle_Name__c, Last_Name__c\n ^\nERROR at Row:1:Column:23\nNo such column 'First_Name__c' on entity 'Opportunity'. If you are attempting to use a custom field, be sure to append the '__c' after the custom field name. Please reference your WSDL or the describe call for the appropriate names.","errorCode":"INVALID_FIELD"}]
-------------------------
Date: 2025-04-21 10:21:02 +00:00 UTC
KIPU Post Payload = {
"document": {
"recipient_id": "fw20AQBVKpyODNxgPxsUf_OFDe3SZtxF_3Foc-bBE9o",
"sending_app_name": "Amend Treatment",
"data": {
"sending_app_patient_id": "",
"first_name": "",
"middle_name": "",
"last_name": "",
"preferred_name": "",
"dob": "",
"marital_status": "",
"mr": "",
"phone": "",
"alternate_phone": "",
"ethnicity": "",
"pre_admission_status": "",
"admission_date": "",
"anticipated_discharge_date": "",
"sobriety_date": "",
"ssn": "",
"address_street": "",
"address_street2": "",
"address_city": "",
"address_zip": "",
"address_state": "",
"address_country": "",
"gender": "",
"email": "",
"first_contact_date": "",
"first_contact_rep_on_call": "",
"first_contact_name": "",
"first_contact_information": "",
"first_contact_relationship": "",
"referrer_id": "",
"payment_method": "",
"referrer_name": "",
"discharge_to_name": "",
"bed_name": "",
"discharge_to_name": "",
"ext_id_mappings_attributes": [
{
"ext_system_name": "Salesforce",
"ext_id": "006D700000Sm1Z6IAJ"
}
],
"insurances_attributes": [
{
"insurance_company": "",
"insurance_phone": "",
"subscriber_first_name": "",
"subscriber_middle_name": "",
"subscriber_last_name": "",
"subscriber_SSN": "",
"subscriber_DOB": "",
"subscriber_address_street": "",
"subscriber_address_street2": "",
"subscriber_address_city": "",
"subscriber_address_zip": "",
"subscriber_address_state": "",
"subscriber_address_country": "",
"notes": "",
"policy_no": "",
"group_ID": "",
"subscriber_relationship": "",
"insurance_plan_type": "",
"subscriber_employer":"",
"subscriber_gender":""
}
]
}
}
}
-------------------------
Date: 2025-04-21 10:21:02 +00:00 UTC
Salesforce Stage Name =
-------------------------