- Joined
- Nov 20, 2019
- Messages
- 25
- Reaction score
- 10
Hoping you can help me again! my SMS Chats aren't logging which is a pain. I also can't find the requests in my phone system log to see what might be going wrong.
<Scenario Id="ReportChat" Type="REST">
<Request SkipIf="[ReportChatEnabled]!=True" Url="https://app.loxo.co/api/the-comm-guys/person_events" MessagePasses="0" RequestContentType="x-www-form-urlencoded" RequestEncoding="UrlEncoded" RequestType="Post" ResponseType="Json">
<Headers>
<Value Key="Authorization">Bearer d0cf2ebc6170b32023d852721daa0e2355b3c2064502a347b13dd6ec15c533f63fab849923b4bc38bdb2d1a7f0d97c9ca3fe459dbd35159a82d50dc164e0ea992828621131aafbbe99c42fd99bbeaccdbe9b2826f48471798b7e580e71b638684974ebc2423ce9dece862f6fe3859acb3dbfc61e384f18720ab8e0d77ba77c5c</Value>
</Headers>
<PostValues Key="">
<Value Key="person_event[activity_type_id]" Passes="1" Type="Integer"> 1539711</Value>
<Value Key="person_event[notes]" Passes="1" Type="String">[[ChatMessages].Replace("","").Replace("","<br/>").Replace("\","")]</Value>
<Value Key="person_event[person_id]" Passes="1" Type="Integer"> "[EntityId]"</Value>
</PostValues>
</Request>
<Variables />
<Outputs AllowEmpty="false" />
</Scenario>
</Scenarios>
</Crm>
<Scenario Id="ReportChat" Type="REST">
<Request SkipIf="[ReportChatEnabled]!=True" Url="https://app.loxo.co/api/the-comm-guys/person_events" MessagePasses="0" RequestContentType="x-www-form-urlencoded" RequestEncoding="UrlEncoded" RequestType="Post" ResponseType="Json">
<Headers>
<Value Key="Authorization">Bearer d0cf2ebc6170b32023d852721daa0e2355b3c2064502a347b13dd6ec15c533f63fab849923b4bc38bdb2d1a7f0d97c9ca3fe459dbd35159a82d50dc164e0ea992828621131aafbbe99c42fd99bbeaccdbe9b2826f48471798b7e580e71b638684974ebc2423ce9dece862f6fe3859acb3dbfc61e384f18720ab8e0d77ba77c5c</Value>
</Headers>
<PostValues Key="">
<Value Key="person_event[activity_type_id]" Passes="1" Type="Integer"> 1539711</Value>
<Value Key="person_event[notes]" Passes="1" Type="String">[[ChatMessages].Replace("","").Replace("","<br/>").Replace("\","")]</Value>
<Value Key="person_event[person_id]" Passes="1" Type="Integer"> "[EntityId]"</Value>
</PostValues>
</Request>
<Variables />
<Outputs AllowEmpty="false" />
</Scenario>
</Scenarios>
</Crm>