Service Desk Practitioners Forum
cancel

Generate ID

Highlighted
Lakoshko
Frequent Contributor.

Generate ID

I`m using HP ServiceDesk, and wrote some c++ program for my organization task.
Problem in one thing - i don`t know how to generate OID fields in insert query, in MS SQL server database.
If someone know pls - let me answer
4 REPLIES
Mike Bush
Acclaimed Contributor.

Re: Generate ID

You're not supposed to write directly to the database - hence you don't need to know how to generate an OID! The web-api is provided for this kind of work, it uses the Application Server logic and preserves the database integrity!
Lakoshko
Frequent Contributor.

Re: Generate ID

Ok, but does WebApi work with C++?
And how to use it?
Have you some examples?
thanks
Ramaprasad N
Outstanding Contributor.

Re: Generate ID

The OVSD CDROM will have the Web-API and the related documentation. Refer/check the Web-API.jar file and the Web-API-javadoc.zip file (under the doc directory) for more details/information.
Lakoshko
Frequent Contributor.

Re: Generate ID

thanks all