Live Helper Chat support forum.. Forum is locked. New place for questions - Github Discussions

You are not logged in.

Announcement

#1 2022-10-11 06:24:40

Guilherme
Member
Registered: 2022-10-11
Posts: 10

SOLVED - How to API location value would in Sub item name content_1

I am not able to retrieve a value from a Multidimensional array to use in the content_1

Example of the array I get through the API

{"page":"1","total":1,"records":[{"passwor":"***.com","fullname":"Stone John","facebook":""}]}

if I use page I get 1 however I use records I get array

how to get the value records[fullname]

Last edited by Guilherme (2022-10-13 16:12:50)

Offline

#2 2022-10-13 15:47:07

Guilherme
Member
Registered: 2022-10-11
Posts: 10

Re: SOLVED - How to API location value would in Sub item name content_1

Resolved based on documentation

{
  "response": {
    "location" :  "Lithuania"
  }
}

items:0:name as location value would return Sub item name

doc.livehelperchat.com/docs/bot/rest-api/

Offline

Board footer