Is there a way to link an existing customer and existing contact together using the API, becuase I can't see if/how it can be done.
Creating a Customer Contact using the API works as expected, and creates a link between the two, but I can't figure out how to do it if the contact already exists.
TIA.
Marc.
Link a customer and a contact using the API
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.
Re: Link a customer and a contact using the API
Hi MarcSS,
Thank you for raising this questions. This is currently not offered by the API but I will move this post into out feature requests.
For a temporary fix please do this in SimPRO directly on your customer. There is a field there to add an existing contact.
Regards
Thank you for raising this questions. This is currently not offered by the API but I will move this post into out feature requests.
For a temporary fix please do this in SimPRO directly on your customer. There is a field there to add an existing contact.
Regards
Sindre
API Developer | Simpro Software Group
API Developer | Simpro Software Group
Re: Link a customer and a contact using the API
Thanks,
Marc
Marc
Re: Link a customer and a contact using the API
Hi Sindre,
Has there been any update on this. It seems a pretty rudimentary requirement. We are importing loads of contacts from the other system and would like to link them to the companies without manually doing it.
Has there been any update on this. It seems a pretty rudimentary requirement. We are importing loads of contacts from the other system and would like to link them to the companies without manually doing it.
-
PremMarkeli
- Posts: 148
- Joined: Tue Oct 26, 2021 3:11 am
Re: Link a customer and a contact using the API
Hi,
It is currently possible to link an existing contact to add against a Customer, Site or Supplier as follows
URL:
Request Body:
Links to API doc about posting contact to Customer, Site and Supplier are
https://developer.simprogroup.com/apido ... 269e8392a6
https://developer.simprogroup.com/apido ... 73a3e66d14
https://developer.simprogroup.com/apido ... 1b0741d8d1
Regards.
It is currently possible to link an existing contact to add against a Customer, Site or Supplier as follows
Code: Select all
method: POSTCode: Select all
https://{buildURL}/api/v1.0/companies/{companyID}/customers/{customerID}/contacts/Code: Select all
{
"Contact": {contactID}
}
https://developer.simprogroup.com/apido ... 269e8392a6
https://developer.simprogroup.com/apido ... 73a3e66d14
https://developer.simprogroup.com/apido ... 1b0741d8d1
Regards.
Prem
API Developer | Simpro Software Group
API Developer | Simpro Software Group
DEVELOPER CENTER