I am standing up a development environment of Maximo and I am running into the following error trying to pull down Work Order data:
{ "Error": { "errorattrname": "siteid", "extendedError": { "moreInfo": { "href": "http://WIN-DRHH4QME3HB.mshome.net:80/maximo/oslc/error/messages/BMXAA4153E" } }, "errorobjpath": "workorder", "correlationid": null, "reasonCode": "BMXAA4153E", "message": "BMXAA4153E - null is not a valid site. Enter a valid Site value as defined in the Organization Application.", "statusCode": "400" } }
Here is my request:
POST /maximo/oslc/os/MXAPIWODETAIL?siteid=BEDFORD&lean=1&ignorecollectionref=1&oslc.select=wonum,description,description_longdescription,status,owner,rel.worklog{*}&oslc.where=wonum=1000 HTTP/1.1 Host: WIN-DRHH4QME3HB.mshome.net:80 apikey: <generated api key for maxadmin> Content-Type: application/json Accept: application/json Cookie: JSESSIONID=0000Ri17i6JtQIUNlW1_IxTplNo:-1
I am using postman. I am able to create a SR's just fine. Any help or references to helpful articles would very much appreciated
You nailed it -- my issue was that I was using a POST when I should have used a GET in this scenario... I totally overlooked that after switching from creating an SR to trying to pulling down Work Order info. Thanks Steven!
3815 Harrison AvenueCincinnati, OH 45211contact@moremaximo.com
Join CommunityInvite ColleaguesLearn MoreAbout UsTerms of Use