Hi,
I have created a custom object structure to update the data and configured the Object Structure authorization and Security.
I have given the headers as
Content Type - application/json
x-method-override - SYNC
patchtype - MERGE
When i am trying to update the data of the records, i am getting below error
{
"oslc:Error": {
"oslc:statusCode": "400",
"errorattrname": "siteid",
"spi:reasonCode": "BMXAA4153E",
"errorobjpath": "operations",
"correlationid": null,
"oslc:message": "BMXAA4153E - null is not a valid site. Enter a valid Site value as defined in the Organization Application.",
"oslc:extendedError": {
"oslc:moreInfo": {
"rdf:resource": "http://localhost/maximo/oslc/error/messages/BMXAA4153E"
}
}
}
}
Raw Data -
{
"orgid":"US001",
"siteid":"US13",
"location": "98088",
"operatingcosttotal": "223469"
}
Any advise will be really helpful.
Thanks
------------------------------
Chaitanya Kumar R
------------------------------