This is an archive of the Maximo Yahoo Community. The content of this pages may be a sometimes obsolete so please check post dates.
Thanks to the community owner Christopher Wanko for providing the content.
Hey Andrew,
I tried this URL -> http://<SERVER & POST>/maxrest/rest/os/mxwo?_lid=maxadmin&_lpwd=maxtest&_wonum=627544
and I get this error now...have you seen this?
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>500 Internal Server Error</title>
</head><body>
<h1>Internal Server Error</h1>
<p>The server encountered an internal error or
misconfiguration and was unable to complete
your request.</p>
<p>Please contact the server administrator,
itadmins@empiredistrict.com and inform them of the time the error occurred,
and anything you might have done that may have
caused the error.</p>
<p>More information about this error may be available
in the server error log.</p>
<hr>
<address>IBM_HTTP_Server at srv-empire102v Port 80</address>
</body></html>
John
unfortunately I have no input on this beyond suggesting the normal looking
at 500 issues and confirm proper install.
On Sat, Jun 14, 2014 at 8:21 PM, John Ballnik jballnik@yahoo.com [MAXIMO] <
MAXIMO@yahoogroups.com> wrote:
>
>
> Hey Andrew,
>
> I tried this URL -> http://<SERVER &
> POST>/maxrest/rest/os/mxwo?_lid=maxadmin&_lpwd=maxtest&_wonum=627544
>
> and I get this error now...have you seen this?
>
> <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
> <html><head>
> <title>500 Internal Server Error</title>
> </head><body>
> <h1>Internal Server Error</h1>
> <p>The server encountered an internal error or
> misconfiguration and was unable to complete
> your request.</p>
> <p>Please contact the server administrator,
> itadmins@empiredistrict.com and inform them of the time the error
> occurred,
> and anything you might have done that may have
> caused the error.</p>
> <p>More information about this error may be available
> in the server error log.</p>
> <hr>
> <address>IBM_HTTP_Server at srv-empire102v Port 80</address>
> </body></html>
>
>
> John
>
>
>
>
>
If you are trying to post and update you need to pass in the WORKORDERID field
If your trying to post and add you need to pass a unique key WONUM SITEID
The following is an example of an add
<HTML>
<form name="input" action="http://maxint/maxrest/rest/mbo/asset?_lid=maxadmin&_lpwd=maxadmin&_ulcr=1&assetnum=ian129&siteid=4001&description=IAN JUST DID THIS&type=OPERATING" method="POST">
<input type="submit" value="Submit">
</form>
</HTML>
The following is an example of an update
<HTML>
<form name="input" action="http://maxint/maxrest/rest/os/MXASSET/5602?_lid=maxadmin&_lpwd=maxadmin" method="POST">
UPDATE DESCRIPTION <input name="DESCRIPTION" value="A NEW DESCRIPTION" type="text">
UPDATE STATUS <input name="STATUS" value="NOT READY" type="text">
<input type="submit" value="Submit">
</form>
</HTML>
From: MAXIMO@yahoogroups.com [mailto:MAXIMO@yahoogroups.com]
Sent: 04 July 2014 05:05
To: MAXIMO@yahoogroups.com
Subject: Re: [MAXIMO List] Error when using REST
unfortunately I have no input on this beyond suggesting the normal looking
at 500 issues and confirm proper install.
On Sat, Jun 14, 2014 at 8:21 PM, John Ballnik jballnik@yahoo.com [MAXIMO] <
MAXIMO@yahoogroups.com> wrote:
>
>
> Hey Andrew,
>
> I tried this URL -> http://<SERVER &
> POST>/maxrest/rest/os/mxwo?_lid=maxadmin&_lpwd=maxtest&_wonum=627544
>
> and I get this error now...have you seen this?
>
> <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
> <html><head>
> <title>500 Internal Server Error</title>
> </head><body>
> <h1>Internal Server Error</h1>
> <p>The server encountered an internal error or
> misconfiguration and was unable to complete
> your request.</p>
> <p>Please contact the server administrator,
> itadmins@empiredistrict.com and inform them of the time the error
> occurred,
> and anything you might have done that may have
> caused the error.</p>
> <p>More information about this error may be available
> in the server error log.</p>
> <hr>
> <address>IBM_HTTP_Server at srv-empire102v Port 80</address>
> </body></html>
>
>
> John
>
>
>
>
>
GDF SUEZ E&P UK Ltd (Company Number 3386464), registered in England and Wales with a registered office address at: 40 Holborn Viaduct, London, EC1N 2PB.
**************************************************************************************************************
This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed.
If you have received this email in error please notify the system manager.
**************************************************************************************************************