Not able to assign company to jobrder

23 views
Skip to first unread message

Deepali Sutar

unread,
Apr 12, 2013, 4:52:39 AM4/12/13
to cats...@googlegroups.com
Hi ,

Using CATS API add_joborder I am creating a job order. But when I put company id in that function it is not showing the appropriate data. Can you please suggest for that?


Thanks,

Imran Rahi

unread,
Apr 12, 2013, 5:56:10 AM4/12/13
to cats...@googlegroups.com
Hi,

When you post a job details using API function, add_joborder, you are also passing company_id. The posted job order can be seen in CATS portal, but company id is shown as 0(zero). Why its showing as zero when I have posted a number value for company id?

Also the function return value is 0 (zero) which actually indicates job order id created on CATS portal.

Please help us to solve the above problem.

Thanks,

Imran Rahi

unread,
Apr 12, 2013, 6:30:48 AM4/12/13
to cats...@googlegroups.com
Hi All,

This reply could be helpful.
I was able to solve the first part of my problem.The catsapi.php has comapny_id in add_joborder(). But when I checked the sample URL to add job at http://api.catsone.com/api/add_joborder. It was not having company_id, in fact only company parameter.
I changed the catsapi.php file with this parameter name and now I can see my job posted on CATS portal under given company name(id).
The support staff of CATS has to update their code and need to inform all their customers.


Thanks,

On Friday, April 12, 2013 2:22:39 PM UTC+5:30, Deepali Sutar wrote:

Aaron Baluczynski

unread,
Apr 12, 2013, 12:26:01 PM4/12/13
to cats...@googlegroups.com
Thank you for pointing out that problem. I've updated catsapi.php to fix the field names and also to return the correct ID instead of 0.

http://api.catsone.com/api/help.php?code=php5&file=library
Reply all
Reply to author
Forward
Message has been deleted
0 new messages