UPDATE Incident

The requirements for an HTTP UPDATE request for an Incident resource URI are in the table. An example is also included.

Table 1. UPDATE - Incident
HTTP Method: POST
Request Headers: Authorization Required. See the configuring section of this document.
Host Required
Accept:
application/json
Request Body:  
Example URIs: http://localhost:7001/maximo/oslc/os/oslcincident/_SU5DSURFTlQvMTEyOQ--

Example:

X-Method-Override: PATCH

Body:
{
    "dcterms:title":"My New Incident - Updated",
    "sccd:status":{
        "rdf:resource":"http://localhost:7001/maximo/oslc/os/sccdoslcsyndomain/
					_SU5DSURFTlRTVEFUVVMvUVVFVUVEL35OVUxMfi9_TlVMTH4vfk5VTEx_L1FVRVVFRA--"
    },
    "prefixes":{
        "sccd":"http://jazz.net/ns/ism/helpdesk/sccd#",
        "dcterms":"http://purl.org/dc/terms/"
    }
}
Response:
Status Code: 204 No Content
Content-Length: 0
Date: Sun, 26 May 2013 19:18:22 GMT
Etag: -1269180946
X-Powered-By: Servlet/2.5 JSP/2.1

Optional: Get the reported by person URI by looking for the specific person you want.

Note: Person records are read only.


Feedback