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.
Anyone have any ideas?
Thanks
How do you set whether a customer is a company or individual?
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.
-
BrettCrowley
- Posts: 38
- Joined: Wed Sep 18, 2019 1:44 am
Re: How do you set whether a customer is a company or individual?
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
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
Re: How do you set whether a customer is a company or individual?
Sorry, should've pointed out, this is on the old APIs, not the new ones. Thanks.
Re: How do you set whether a customer is a company or individual?
In old api, look for a field `isCompany`to determine customer type.
Muqeet
API Developer | simPRO Software Group
API Developer | simPRO Software Group
Re: How do you set whether a customer is a company or individual?
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.
Re: How do you set whether a customer is a company or individual?
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.
I ll get back to you with any update on the issue here.
Muqeet
API Developer | simPRO Software Group
API Developer | simPRO Software Group
DEVELOPER CENTER