Add the ability to get "Profile" of customer from the customers/individuals api

Wish the API had something it doesn't? Post here!
Forum rules
  • Check the documentation first. Before posting questions, please check the documentation to ensure it doesn't already cover what you need.
  • No spam. All automated messages, advertisements, and links to competitor websites will be deleted immediately.
  • Post in relevant sub-forums only. Messages posted in the wrong topic area will be removed and placed in the correct sub-forum by moderators.
  • Respect other users. No flaming or abusing fellow forum members. Users who continue to post inflammatory, abusive comments will be deleted from the forum after two warnings are issued by moderators.
  • Harassment. No threats or harassment of other users will be tolerated. Any instance of threatening or harassing behavior is grounds for deletion from the forums.
  • Adult content. No profanity or pornography is allowed. Posts containing adult material will be deleted.
  • Bandwidth. All images and signatures must be 500 x 500 pixels or smaller. Posts containing over-sized images and signatures will be removed.
  • Illegal content. No re-posting of copyrighted materials or other illegal content is allowed. Any posts containing illegal content or copyrighted materials will be deleted.
Post Reply
rish
Posts: 17
Joined: Thu Sep 10, 2020 4:59 am

Add the ability to get "Profile" of customer from the customers/individuals api

Post by rish » Mon Mar 21, 2022 3:50 am

Hi,

I am unable to add "Profile" and "Tags" column as a part of the /api/v1.0/companies/{companyID}/customers/individuals/ endpoint

the query param "column" can only have the following values => FamilyName, GivenName, phone etc.

But I'm unable to fetch "Profile" and "Tags" of every customer when fetching multiple customers.

Can we please add "Profile" and "Tags" as well ?

Thanks.
Attachments
Screen Shot 2022-03-21 at 2.43.46 pm.png
Screen Shot 2022-03-21 at 2.43.46 pm.png (42.84 KiB) Viewed 5047 times
Screen Shot 2022-03-21 at 2.24.41 pm.png
Screen Shot 2022-03-21 at 2.24.41 pm.png (232.57 KiB) Viewed 5047 times
PremMarkeli
Posts: 148
Joined: Tue Oct 26, 2021 3:11 am

Re: Add the ability to get "Profile" of customer from the customers/individuals api

Post by PremMarkeli » Mon Mar 21, 2022 5:30 am

Hi Rish,

Adding Columns Profile, Tags in the URL should work without any issues. Please request the URL as follows

Code: Select all

/api/v1.0/companies/0/customers/individuals/?columns=ID,GivenName,FamilyName,Profile,Tags
Response:

Code: Select all

[
    {
        "ID": 2400,
        "GivenName": "Sunny",
        "FamilyName": "Gavaskar comm111",
        "Profile": {
            "Notes": "",
            "CustomerProfile": null,
            "CustomerGroup": null,
            "AccountManager": null,
            "Currency": {
                "ID": "NZD",
                "Name": "New Zealand Dollar",
                "Visible": true
            },
            "ServiceJobCostCenter": null
        },
        "Tags": []
    },
    ...
 ]

Regards.
Prem
API Developer | Simpro Software Group
Post Reply