Make a HTTP Request : JSON format

Hi all,

I am in difficulty with the Make a HTTP request.

I don’t understand why the field “cd401dea-5438-43be-abf7-e94e49b6e37b“ is “cd401dea-5438-43be-abf7-e94e49b6e37b\”:\“https://developer.airfocus.com/\” in the input but “cd401dea-5438-43be-abf7-e94e49b6e37b\”:{\“text\”:\" in the output…

Thank you for your help.

The input : (from Create a JSON)

[
    {
        "ca": null,
        "qs": [],
        "url": "https://app.airfocus.com/api/workspaces/29172f9c-a0dc-4d81-98d8-39634e0c31d8/items/fa0cbb10-ca33-4af2-9c63-507aa8841f72",
        "data": "{\"name\":\"TEST RHK Mise en forme simple (copy)\",\"color\":\"amber\",\"order\":null,\"archived\":false,\"statusId\":\"988fcefb-e684-4ece-9a40-d0ce074d382f\",\"assigneeUserIds\":[],\"assigneeUserGroupIds\":[],\"cd401dea-5438-43be-abf7-e94e49b6e37b\":\"https://developer.airfocus.com/\"}",
        "gzip": true,
        "method": "put",
        "headers": [
            {
                "name": "Authorization",
                "value": "Bearer airfocus_eu-legacy_ak_******"
            },
            {
                "name": "Content-Type",
                "value": "application/vnd.airfocus.markdown+json"
            }
        ],
        "timeout": null,
        "useMtls": false,
        "authPass": null,
        "authUser": null,
        "bodyType": "raw",
        "contentType": "application/json",
        "serializeUrl": false,
        "shareCookies": false,
        "parseResponse": false,
        "followRedirect": true,
        "useQuerystring": false,
        "followAllRedirects": false,
        "rejectUnauthorized": true
    }
]

The output :

[
    {
        "statusCode": 200,
        "headers": [
            {
                "name": "content-encoding",
                "value": "gzip"
            },
            {
                "name": "x-ratelimit-key",
                "value": "api-key-0a7f6eb7-d782-4d3a-930c-746a30a825f4"
            },
            {
                "name": "cache-control",
                "value": "no-cache, no-store, must-revalidate"
            },
            {
                "name": "x-breach-mitigation",
                "value": "e73ae8"
            },
            {
                "name": "date",
                "value": "Fri, 31 Oct 2025 16:26:39 GMT"
            },
            {
                "name": "transfer-encoding",
                "value": "chunked"
            },
            {
                "name": "content-type",
                "value": "application/json"
            },
            {
                "name": "x-request-id",
                "value": "bb8fb8f8ffdc27b7"
            },
            {
                "name": "x-ratelimit-limit",
                "value": "600"
            },
            {
                "name": "x-ratelimit-remaining",
                "value": "599"
            },
            {
                "name": "x-ratelimit-reset",
                "value": "1761928059"
            },
            {
                "name": "strict-transport-security",
                "value": "max-age=31536000; includeSubdomains"
            }
        ],
        "cookieHeaders": [],
        "data": "{\"id\":\"fa0cbb10-ca33-4af2-9c63-507aa8841f72\",\"workspaceId\":\"29172f9c-a0dc-4d81-98d8-39634e0c31d8\",\"statusId\":\"988fcefb-e684-4ece-9a40-d0ce074d382f\",\"color\":\"amber\",\"name\":\"TEST RHK Mise en forme simple (copy)\",\"description\":{\"blocks\":[],\"richText\":true},\"assigneeUserIds\":[],\"assigneeUserGroupIds\":[],\"fields\":{\"cd401dea-5438-43be-abf7-e94e49b6e37b\":{\"text\":\"\"},\"ef6eb46f-4716-4d59-9a35-550f1aee7d4a\":{\"selection\":[]},\"01ce4824-98e6-42fc-b3ca-d05b6aa98f49\":{\"selection\":[]},\"f60329a0-4318-4de9-a3b5-c340a9ab31bc\":{\"selection\":[]},\"0fc3157b-c658-4325-ac5f-ea1295356e82\":{\"selection\":[]},\"e300eb7f-e6c7-4789-9e3e-c37c0d4e35c9\":{\"selection\":[]},\"0f6c72a7-5255-4853-b36b-81d2e482a448\":{\"selection\":[]},\"6cf5e58f-fb8f-4df0-bd2b-204db5a47d90\":{\"userIds\":[],\"userGroupIds\":[]},\"670955af-1f55-4e12-a6c9-e43e2faca743\":{\"selection\":[]},\"e1f90e90-2783-44c8-a286-8d4a93d74b62\":{\"selection\":[]},\"c7f583a0-583a-417b-9746-ada5160ff789\":{\"text\":\"\"},\"f14acc12-d440-4f19-9ab1-bd5d45ee2e5d\":{\"selection\":[]},\"18a0f782-22cb-400d-96cf-3725c9801927\":{\"selection\":[\"1be3f014-9aa2-4a01-854f-47799f626803\"]},\"f86a9bb7-be26-41e7-9c43-d7e1b4ff267d\":{\"selection\":[]},\"68a52adb-a6b8-43cf-9891-aedfd31794e1\":{\"selection\":[]},\"fe30c17c-1ea3-44b5-b088-c2b7139b1653\":{\"selection\":[]}},\"archived\":false,\"createdAt\":\"2025-10-31T16:26:25.761542Z\",\"lastUpdatedAt\":\"2025-10-31T16:26:39.398334Z\",\"statusUpdatedAt\":\"2025-10-31T16:26:25.761542Z\",\"statusCategoryUpdatedAt\":\"2025-10-31T16:26:25.761542Z\",\"order\":2147483647,\"number\":333,\"_embedded\":{\"alias\":\"FD-333\",\"parents\":[],\"children\":[],\"progress\":{\"closed\":0,\"total\":0},\"apps\":{},\"constraints\":[],\"watched\":false,\"linkCount\":0,\"commentCount\":0,\"attachmentCount\":0,\"workspaceItemType\":\"feedback\"}}",
        "fileSize": 1710
    }
]
1 Like

Hi @Marketing_Incotec,

It looks like your PUT request went through successfully (200 response). Is what you were looking to accomplish accurate in the UI of Airfocus? The output could be a reflection of how developers at Airfocus wanted the output to appear as.

-@Trainward_Consulting

Hi,

Thank you for your reply.

The request went successfully (Name field has been updated) ; but the result is not good for field cd401dea-5438-43be-abf7-e94e49b6e37b.

I don’t know why, in HTTP request the value is here ; but in the output it is not.

PS : I test fields one by one.

Here are the scenario’s step :

  1. Webhook output

    [
        {
            "value": "{\"event\":{\"id\":\"069b1732-f732-4b98-8a57-3797a923fab6\",\"initiator\":{\"userId\":\"0a7f6eb7-d782-4d3a-930c-746a30a825f4\"},\"data\":{\"itemId\":\"f527c788-318f-46b7-a6b2-68ba2af450c3\",\"status\":{\"next\":\"988fcefb-e684-4ece-9a40-d0ce074d382f\"},\"color\":{\"next\":\"amber\"},\"assigneeUserIds\":{\"next\":[]},\"assigneeUserGroupIds\":{\"next\":[]},\"name\":{\"next\":\"TEST RHK Mise en forme simple (copy)\"},\"description\":{\"next\":{\"blocks\":[{\"content\":[{\"content\":\"Texte simple\",\"type\":\"text\"}],\"type\":\"paragraph\"}],\"richText\":true}},\"fields\":{\"cd401dea-5438-43be-abf7-e94e49b6e37b\":{\"next\":{\"text\":\"https://developer.airfocus.com/\"}},\"ef6eb46f-4716-4d59-9a35-550f1aee7d4a\":{\"next\":{\"selection\":[\"cbfbb3dd-3daa-41e9-bfd4-381e29629554\"]}},\"01ce4824-98e6-42fc-b3ca-d05b6aa98f49\":{\"next\":{\"selection\":[]}},\"f60329a0-4318-4de9-a3b5-c340a9ab31bc\":{\"next\":{\"selection\":[]}},\"0fc3157b-c658-4325-ac5f-ea1295356e82\":{\"next\":{\"selection\":[]}},\"e300eb7f-e6c7-4789-9e3e-c37c0d4e35c9\":{\"next\":{\"selection\":[]}},\"0f6c72a7-5255-4853-b36b-81d2e482a448\":{\"next\":{\"selection\":[]}},\"6cf5e58f-fb8f-4df0-bd2b-204db5a47d90\":{\"next\":{\"userIds\":[],\"userGroupIds\":[]}},\"670955af-1f55-4e12-a6c9-e43e2faca743\":{\"next\":{\"selection\":[]}},\"e1f90e90-2783-44c8-a286-8d4a93d74b62\":{\"next\":{\"selection\":[]}},\"c7f583a0-583a-417b-9746-ada5160ff789\":{\"next\":{\"text\":\"\"}},\"f14acc12-d440-4f19-9ab1-bd5d45ee2e5d\":{\"next\":{\"selection\":[]}},\"18a0f782-22cb-400d-96cf-3725c9801927\":{\"next\":{\"selection\":[]}},\"f86a9bb7-be26-41e7-9c43-d7e1b4ff267d\":{\"next\":{\"selection\":[]}},\"68a52adb-a6b8-43cf-9891-aedfd31794e1\":{\"next\":{\"selection\":[]}},\"fe30c17c-1ea3-44b5-b088-c2b7139b1653\":{\"next\":{\"selection\":[]}}},\"archived\":{\"next\":false},\"reason\":{\"type\":\"copied\"},\"type\":\"createdItem\"},\"createdAt\":\"2025-11-03T16:18:36.432010945Z\"},\"embed\":{\"teams\":{\"8c110fff-ae36-4569-99bb-f4c308c1ec0b\":{\"name\":\"Incotec\",\"slug\":\"incotec\",\"baseUrl\":\"https://incotec.airfocus.com\"}},\"users\":{\"0a7f6eb7-d782-4d3a-930c-746a30a825f4\":{\"teamId\":\"8c110fff-ae36-4569-99bb-f4c308c1ec0b\",\"fullName\":\"Romain\"}},\"userGroups\":{\"4e77b4f4-6642-4e99-906b-ee5d8a0e785f\":{\"teamId\":\"8c110fff-ae36-4569-99bb-f4c308c1ec0b\",\"name\":\"Roadmap - Full permission\"},\"6c0510ec-cd30-4188-acc5-a0be68c6e71b\":{\"teamId\":\"8c110fff-ae36-4569-99bb-f4c308c1ec0b\",\"name\":\"Planification - Full permission\"},\"02f4fb4e-aa1a-41bd-8a21-a5b6dd818971\":{\"teamId\":\"8c110fff-ae36-4569-99bb-f4c308c1ec0b\",\"name\":\"Gestion des temps - Full permission\"}},\"workspaces\":{\"29172f9c-a0dc-4d81-98d8-39634e0c31d8\":{\"teamId\":\"8c110fff-ae36-4569-99bb-f4c308c1ec0b\",\"name\":\"Test Romain\",\"alias\":\"FD\"}},\"statuses\":{\"988fcefb-e684-4ece-9a40-d0ce074d382f\":{\"workspaceId\":\"29172f9c-a0dc-4d81-98d8-39634e0c31d8\",\"name\":\"Nouveau\",\"category\":\"draft\",\"color\":\"daulphine\"}},\"items\":{\"f527c788-318f-46b7-a6b2-68ba2af450c3\":{\"workspaceId\":\"29172f9c-a0dc-4d81-98d8-39634e0c31d8\",\"statusId\":\"988fcefb-e684-4ece-9a40-d0ce074d382f\",\"name\":\"TEST RHK Mise en forme simple (copy)\",\"aliasNumber\":336,\"description\":{\"blocks\":[{\"content\":[{\"content\":\"Texte simple\",\"type\":\"text\"}],\"type\":\"paragraph\"}],\"richText\":true}}}},\"matchedFilter\":{\"type\":\"itemCreated\"}}"
        }
    ]
    
  2. Parse JSON output

    [
        {
            "event": {
                "id": "069b1732-f732-4b98-8a57-3797a923fab6",
                "initiator": {
                    "userId": "0a7f6eb7-d782-4d3a-930c-746a30a825f4"
                },
                "data": {
                    "itemId": "f527c788-318f-46b7-a6b2-68ba2af450c3",
                    "status": {
                        "next": "988fcefb-e684-4ece-9a40-d0ce074d382f"
                    },
                    "color": {
                        "next": "amber"
                    },
                    "assigneeUserIds": {
                        "next": []
                    },
                    "assigneeUserGroupIds": {
                        "next": []
                    },
                    "name": {
                        "next": "TEST RHK Mise en forme simple (copy)"
                    },
                    "description": {
                        "next": {
                            "blocks": [
                                {
                                    "content": [
                                        {
                                            "content": "Texte simple",
                                            "type": "text"
                                        }
                                    ],
                                    "type": "paragraph"
                                }
                            ],
                            "richText": true
                        }
                    },
                    "fields": {
                        "cd401dea-5438-43be-abf7-e94e49b6e37b": {
                            "next": {
                                "text": "https://developer.airfocus.com/"
                            }
                        },
                        "ef6eb46f-4716-4d59-9a35-550f1aee7d4a": {
                            "next": {
                                "selection": [
                                    "cbfbb3dd-3daa-41e9-bfd4-381e29629554"
                                ]
                            }
                        },
                        "01ce4824-98e6-42fc-b3ca-d05b6aa98f49": {
                            "next": {
                                "selection": []
                            }
                        },
                        "f60329a0-4318-4de9-a3b5-c340a9ab31bc": {
                            "next": {
                                "selection": []
                            }
                        },
                        "0fc3157b-c658-4325-ac5f-ea1295356e82": {
                            "next": {
                                "selection": []
                            }
                        },
                        "e300eb7f-e6c7-4789-9e3e-c37c0d4e35c9": {
                            "next": {
                                "selection": []
                            }
                        },
                        "0f6c72a7-5255-4853-b36b-81d2e482a448": {
                            "next": {
                                "selection": []
                            }
                        },
                        "6cf5e58f-fb8f-4df0-bd2b-204db5a47d90": {
                            "next": {
                                "userIds": [],
                                "userGroupIds": []
                            }
                        },
                        "670955af-1f55-4e12-a6c9-e43e2faca743": {
                            "next": {
                                "selection": []
                            }
                        },
                        "e1f90e90-2783-44c8-a286-8d4a93d74b62": {
                            "next": {
                                "selection": []
                            }
                        },
                        "c7f583a0-583a-417b-9746-ada5160ff789": {
                            "next": {
                                "text": ""
                            }
                        },
                        "f14acc12-d440-4f19-9ab1-bd5d45ee2e5d": {
                            "next": {
                                "selection": []
                            }
                        },
                        "18a0f782-22cb-400d-96cf-3725c9801927": {
                            "next": {
                                "selection": []
                            }
                        },
                        "f86a9bb7-be26-41e7-9c43-d7e1b4ff267d": {
                            "next": {
                                "selection": []
                            }
                        },
                        "68a52adb-a6b8-43cf-9891-aedfd31794e1": {
                            "next": {
                                "selection": []
                            }
                        },
                        "fe30c17c-1ea3-44b5-b088-c2b7139b1653": {
                            "next": {
                                "selection": []
                            }
                        }
                    },
                    "archived": {
                        "next": false
                    },
                    "reason": {
                        "type": "copied"
                    },
                    "type": "createdItem"
                },
                "createdAt": "2025-11-03T16:18:36.432010945Z"
            },
            "embed": {
                "teams": {
                    "8c110fff-ae36-4569-99bb-f4c308c1ec0b": {
                        "name": "Incotec",
                        "slug": "incotec",
                        "baseUrl": "https://incotec.airfocus.com"
                    }
                },
                "users": {
                    "0a7f6eb7-d782-4d3a-930c-746a30a825f4": {
                        "teamId": "8c110fff-ae36-4569-99bb-f4c308c1ec0b",
                        "fullName": "Romain"
                    }
                },
                "userGroups": {
                    "4e77b4f4-6642-4e99-906b-ee5d8a0e785f": {
                        "teamId": "8c110fff-ae36-4569-99bb-f4c308c1ec0b",
                        "name": "Roadmap - Full permission"
                    },
                    "6c0510ec-cd30-4188-acc5-a0be68c6e71b": {
                        "teamId": "8c110fff-ae36-4569-99bb-f4c308c1ec0b",
                        "name": "Planification - Full permission"
                    },
                    "02f4fb4e-aa1a-41bd-8a21-a5b6dd818971": {
                        "teamId": "8c110fff-ae36-4569-99bb-f4c308c1ec0b",
                        "name": "Gestion des temps - Full permission"
                    }
                },
                "workspaces": {
                    "29172f9c-a0dc-4d81-98d8-39634e0c31d8": {
                        "teamId": "8c110fff-ae36-4569-99bb-f4c308c1ec0b",
                        "name": "Test Romain",
                        "alias": "FD"
                    }
                },
                "statuses": {
                    "988fcefb-e684-4ece-9a40-d0ce074d382f": {
                        "workspaceId": "29172f9c-a0dc-4d81-98d8-39634e0c31d8",
                        "name": "Nouveau",
                        "category": "draft",
                        "color": "daulphine"
                    }
                },
                "items": {
                    "f527c788-318f-46b7-a6b2-68ba2af450c3": {
                        "workspaceId": "29172f9c-a0dc-4d81-98d8-39634e0c31d8",
                        "statusId": "988fcefb-e684-4ece-9a40-d0ce074d382f",
                        "name": "TEST RHK Mise en forme simple (copy)",
                        "aliasNumber": 336,
                        "description": {
                            "blocks": [
                                {
                                    "content": [
                                        {
                                            "content": "Texte simple",
                                            "type": "text"
                                        }
                                    ],
                                    "type": "paragraph"
                                }
                            ],
                            "richText": true
                        }
                    }
                }
            },
            "matchedFilter": {
                "type": "itemCreated"
            }
        }
    ]
    
  3. Create JSON output
    cd401dea-5438-43be-abf7-e94e49b6e37b is mapped with

    [
        {
            "name": "\"Make OK\"",
            "color": "amber",
            "order": null,
            "archived": false,
            "statusId": "988fcefb-e684-4ece-9a40-d0ce074d382f",
            "assigneeUserIds": [],
            "assigneeUserGroupIds": [],
            "cd401dea-5438-43be-abf7-e94e49b6e37b": "https://developer.airfocus.com/"
        }
    ]
    
  4. HTTP Request input

    [
        {
            "ca": null,
            "qs": [],
            "url": "https://app.airfocus.com/api/workspaces/29172f9c-a0dc-4d81-98d8-39634e0c31d8/items/f527c788-318f-46b7-a6b2-68ba2af450c3",
            "data": "{\"name\":\"\\\"Make OK\\\"\",\"color\":\"amber\",\"order\":null,\"archived\":false,\"statusId\":\"988fcefb-e684-4ece-9a40-d0ce074d382f\",\"assigneeUserIds\":[],\"assigneeUserGroupIds\":[],\"cd401dea-5438-43be-abf7-e94e49b6e37b\":\"https://developer.airfocus.com/\"}",
            "gzip": true,
            "method": "put",
            "headers": [
                {
                    "name": "Authorization",
                    "value": "Bearer airfocus_eu-legacy_ak_******"
                },
                {
                    "name": "Content-Type",
                    "value": "application/vnd.airfocus.markdown+json"
                }
            ],
            "timeout": null,
            "useMtls": false,
            "authPass": null,
            "authUser": null,
            "bodyType": "raw",
            "contentType": "application/json",
            "serializeUrl": false,
            "shareCookies": false,
            "parseResponse": false,
            "followRedirect": true,
            "useQuerystring": false,
            "followAllRedirects": false,
            "rejectUnauthorized": true
        }
    ]
    
  5. HTTP Request output

    [
        {
            "statusCode": 200,
            "headers": [
                {
                    "name": "content-encoding",
                    "value": "gzip"
                },
                {
                    "name": "x-ratelimit-key",
                    "value": "api-key-0a7f6eb7-d782-4d3a-930c-746a30a825f4"
                },
                {
                    "name": "cache-control",
                    "value": "no-cache, no-store, must-revalidate"
                },
                {
                    "name": "x-breach-mitigation",
                    "value": "6d4967029248bf75f12face9d2"
                },
                {
                    "name": "date",
                    "value": "Mon, 03 Nov 2025 16:27:24 GMT"
                },
                {
                    "name": "transfer-encoding",
                    "value": "chunked"
                },
                {
                    "name": "content-type",
                    "value": "application/json"
                },
                {
                    "name": "x-request-id",
                    "value": "9523587fdf109894"
                },
                {
                    "name": "x-ratelimit-limit",
                    "value": "600"
                },
                {
                    "name": "x-ratelimit-remaining",
                    "value": "599"
                },
                {
                    "name": "x-ratelimit-reset",
                    "value": "1762187303"
                },
                {
                    "name": "strict-transport-security",
                    "value": "max-age=31536000; includeSubdomains"
                }
            ],
            "cookieHeaders": [],
            "data": "{\"id\":\"f527c788-318f-46b7-a6b2-68ba2af450c3\",\"workspaceId\":\"29172f9c-a0dc-4d81-98d8-39634e0c31d8\",\"statusId\":\"988fcefb-e684-4ece-9a40-d0ce074d382f\",\"color\":\"amber\",\"name\":\"\\\"Make OK\\\"\",\"description\":{\"blocks\":[],\"richText\":true},\"assigneeUserIds\":[],\"assigneeUserGroupIds\":[],\"fields\":{\"cd401dea-5438-43be-abf7-e94e49b6e37b\":{\"text\":\"\"},\"ef6eb46f-4716-4d59-9a35-550f1aee7d4a\":{\"selection\":[]},\"01ce4824-98e6-42fc-b3ca-d05b6aa98f49\":{\"selection\":[]},\"f60329a0-4318-4de9-a3b5-c340a9ab31bc\":{\"selection\":[]},\"0fc3157b-c658-4325-ac5f-ea1295356e82\":{\"selection\":[]},\"e300eb7f-e6c7-4789-9e3e-c37c0d4e35c9\":{\"selection\":[]},\"0f6c72a7-5255-4853-b36b-81d2e482a448\":{\"selection\":[]},\"6cf5e58f-fb8f-4df0-bd2b-204db5a47d90\":{\"userIds\":[],\"userGroupIds\":[]},\"670955af-1f55-4e12-a6c9-e43e2faca743\":{\"selection\":[]},\"e1f90e90-2783-44c8-a286-8d4a93d74b62\":{\"selection\":[]},\"c7f583a0-583a-417b-9746-ada5160ff789\":{\"text\":\"\"},\"f14acc12-d440-4f19-9ab1-bd5d45ee2e5d\":{\"selection\":[]},\"18a0f782-22cb-400d-96cf-3725c9801927\":{\"selection\":[\"1be3f014-9aa2-4a01-854f-47799f626803\"]},\"f86a9bb7-be26-41e7-9c43-d7e1b4ff267d\":{\"selection\":[]},\"68a52adb-a6b8-43cf-9891-aedfd31794e1\":{\"selection\":[]},\"fe30c17c-1ea3-44b5-b088-c2b7139b1653\":{\"selection\":[]}},\"archived\":false,\"createdAt\":\"2025-11-03T16:18:36.379259Z\",\"lastUpdatedAt\":\"2025-11-03T16:18:39.860393Z\",\"statusUpdatedAt\":\"2025-11-03T16:18:36.379259Z\",\"statusCategoryUpdatedAt\":\"2025-11-03T16:18:36.379259Z\",\"order\":2147483647,\"number\":336,\"_embedded\":{\"alias\":\"FD-336\",\"parents\":[],\"children\":[],\"progress\":{\"closed\":0,\"total\":0},\"apps\":{},\"constraints\":[],\"watched\":false,\"linkCount\":0,\"commentCount\":0,\"attachmentCount\":0,\"workspaceItemType\":\"feedback\"}}",
            "fileSize": 1685
        }
    ]