Hi Team,
I'm trying to add my jobs in simpro by using API
here is my api call which i'm sending jobs dynamically
unirest
.post('https:XXXXXXX/'/api/v1.0/companies/companyID/jobs/')
.headers({
Accept: 'application/json',
'Content-Type': 'application/json',
Authorization: 'Bearer ' + accessToken,
})
.send({
Type: 'Service',
Customer: parseInt(integrationCustomerId), // 12345
Site: parseInt(integrationSiteId) // 67890
})
.end(function (data) {
cb(data.body);
})
But i'm getting error that few jobs are going to simpro and few are failing to go to simpro
i'm sending 6 jobs continuously to simpro in that 6 jobs only 2 or 3 jobs gng to simpro end remaining jobs are failure..
Thanks in advance
Jobs not going to simpro
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.
-
rajeshbogoju
- Posts: 30
- Joined: Tue Jan 28, 2020 11:25 am
DEVELOPER CENTER