Skip to content

Not possible to perform put profile by id to replace preferences #99

@meireles4

Description

@meireles4

I was trying to use {{HostName}}/crm/v1/profiles/{{ProfileId}} (Profiles (CRM) -> Profile Preferences) to replace all the preferences on a profile. The service replies with a success but there's no change in the profile.

Here's the body that replies with a success but no change in ohip:

{
    "profileDetails": {
        "preferenceCollection": {
            "preferenceType": [
                {
                    "preference": [
                        {
                            "preferenceValue": "CON",
                            "description": "Conventions",
                            "global": true
                        },
                        {
                            "preferenceValue": "BQT",
                            "description": "Banquets",
                            "global": true
                        }
                    ],
                    "preferenceType": "INTERESTS",
                    "preferenceTypeDescription": "Profile Interests",
                    "reservationPreference": false
                }
            ]
        }
    },
    "profileIdList": [
        {
            "type": "Profile",
            "id": "{{ProfileId}}"
        }
    ]
} 

Also, it would be nice to have a resource to delete all preferences in one request.

Best regards

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions