How do you set whether a customer is a company or individual?

Posts about the simPRO API. Help/support/how-to etc.
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
ndunn
Posts: 4
Joined: Tue Mar 23, 2021 12:20 am

How do you set whether a customer is a company or individual?

Post by ndunn » Tue Mar 23, 2021 12:22 am

Am trying to set a customer to be a company or an individual. When retrieving a customer, the GET request has an attribute called IsCompany (true/false) but this can't be set in a POST.

unnamed.png
unnamed.png (9.41 KiB) Viewed 3892 times

Anyone have any ideas?

Thanks
BrettCrowley
Posts: 38
Joined: Wed Sep 18, 2019 1:44 am

Re: How do you set whether a customer is a company or individual?

Post by BrettCrowley » Tue Mar 23, 2021 1:14 am

Hi ndun,

The API documentation really is quite good.

See here for customers: https://developer.simprogroup.com/apido ... f87e04cd88

And see here for creation specifics:

Company: https://developer.simprogroup.com/apido ... bdea233fc3
Individual: https://developer.simprogroup.com/apido ... 96883a171c
ndunn
Posts: 4
Joined: Tue Mar 23, 2021 12:20 am

Re: How do you set whether a customer is a company or individual?

Post by ndunn » Mon Mar 29, 2021 9:50 am

Sorry, should've pointed out, this is on the old APIs, not the new ones. Thanks.
Muqeet
Posts: 772
Joined: Mon Dec 03, 2018 3:24 am

Re: How do you set whether a customer is a company or individual?

Post by Muqeet » Tue Mar 30, 2021 6:03 am

In old api, look for a field `isCompany`to determine customer type.
Muqeet
API Developer | simPRO Software Group
ndunn
Posts: 4
Joined: Tue Mar 23, 2021 12:20 am

Re: How do you set whether a customer is a company or individual?

Post by ndunn » Tue Mar 30, 2021 10:23 am

That tells me if they are a customer or individual. How do I set this field, as you can't set it, through the API it seems.
Muqeet
Posts: 772
Joined: Mon Dec 03, 2018 3:24 am

Re: How do you set whether a customer is a company or individual?

Post by Muqeet » Tue Mar 30, 2021 11:02 pm

I ll forward this issue to the concerned team who looks after our old api, which is not in active development anymore. However we still patch any bugs/issues when reported.

I ll get back to you with any update on the issue here.
Muqeet
API Developer | simPRO Software Group
Post Reply