object(stdClass)#10 (2) {
["response"]=>
object(stdClass)#3 (2) {
["dataInfo"]=>
object(stdClass)#2 (6) {
["database"]=>
string(6) "1_REST"
["layout"]=>
string(13) "REST_Products"
["table"]=>
string(13) "REST_Products"
["totalRecordCount"]=>
int(4)
["foundCount"]=>
int(2)
["returnedCount"]=>
int(2)
}
["data"]=>
array(2) {
[0]=>
object(stdClass)#5 (4) {
["fieldData"]=>
object(stdClass)#4 (6) {
["Availability"]=>
string(8) "In stock"
["Category"]=>
string(8) "Computer"
["Image"]=>
string(142) "https://fms.itware.ch/Streaming_SSL/MainDB/35F056310B2D5776582BE90F450175598E7731FBF6F231048E0DE43D589E9177.png?RCType=EmbeddedRCFileProcessor"
["Name"]=>
string(20) "Logitech MX Vertical"
["Part Number"]=>
string(10) "LogiMXVert"
["Unit Price"]=>
int(119)
}
["portalData"]=>
object(stdClass)#6 (0) {
}
["recordId"]=>
string(1) "3"
["modId"]=>
string(1) "5"
}
[1]=>
object(stdClass)#8 (4) {
["fieldData"]=>
object(stdClass)#7 (6) {
["Availability"]=>
string(8) "In stock"
["Category"]=>
string(8) "Computer"
["Image"]=>
string(142) "https://fms.itware.ch/Streaming_SSL/MainDB/37864033F6CCE7EAF83E4D9E85FF8879A07AA43777E6505CA580664C6FFAB7BD.png?RCType=EmbeddedRCFileProcessor"
["Name"]=>
string(10) "Logitech G"
["Part Number"]=>
string(5) "LogiG"
["Unit Price"]=>
int(79)
}
["portalData"]=>
object(stdClass)#9 (0) {
}
["recordId"]=>
string(1) "4"
["modId"]=>
string(1) "7"
}
}
}
["messages"]=>
array(1) {
[0]=>
object(stdClass)#11 (2) {
["code"]=>
string(1) "0"
["message"]=>
string(2) "OK"
}
}
}
This sample file was created by Sounds Essential LLC. For more information visit the FileMaker Data API: A Beginner's Guide To Using PHP To Display Data On A Webpage blog post.
This is the session token: 8521b45c84f86f5810aa996446c1d17d8c4d5b66399cd28d45c4
This is the data returned: Logitech MX Vertical
This is the result of the request to delete the token: {"response":{},"messages":[{"code":"0","message":"OK"}]}