Close Problem operation
The Close Problem operation closes a problem record.
The following table describes the elements of the <items>
XML element and the adapter request. If the valid value for an element is not specified, the valid value must be assumed to be a string.
Elements for the <items> XML element and adapter request for the Close Problem operation
Element |
Definition |
Required |
---|---|---|
|
Specifies the name of the operation: |
Yes |
|
Contains the other elements in the request |
Yes |
|
Contains elements that uniquely identify a record |
Yes |
|
Specifies a unique record |
Yes |
|
Specifies the ID of the problem record |
Yes |
|
Specifies the category of incident the problem record |
No |
|
Specifies the subcategory of the problem record
|
No |
|
Specifies the product type of the problem record |
No |
|
Specifies the problem type of the problem record |
No |
|
Specifies the initial impact of the problem record
|
No |
|
Specifies the level of urgency or severity of the problem record
|
No |
|
Specifies a description of the problem record; is an array-type element |
No |
|
Specifies the assignment of the problem record |
No |
|
Specifies the owner of the ticket for the problem record |
No |
|
Specifies the category of the problem record |
No |
|
Specifies the status of the problem record |
No |
|
Specifies the logical name to identify the problem record |
No |
|
Specifies a brief description of the problem record Note The |
No |
|
Specifies the root cause for the problem record; is an array-type element |
No |
|
Specifies the update status of the problem record; is an array-type element |
No |
|
Specifies whether the problem record is open |
No |
|
Specifies the date and time when the problem record was opened or created |
No |
|
Specifies the person who opened the problem record |
No |
|
Specifies the date and time when the problem record was updated |
No |
|
Specifies the person who last updated the problem record |
No |
|
Specifies the date on which the record was closed |
No |
|
Specifies the person who closed the problem record |
No |
|
Specifies the time when the record was reopened |
No |
|
Specifies the person who reopened the problem record |
No |
|
Specifies the priority code of the problem record |
No |
|
Specifies the system time when the record was last modified |
No |
|
Specifies the number of times the record was modified |
No |
|
Specifies the user name that last modified the record |
No |
|
Specifies the assignee of the problem record |
No |
|
Specifies the name of the company associated with the record |
No |
|
Specifies the dump related to the problem record |
No |
|
Specifies the resolution for the problem record |
No |
|
Specifies the work around for the problem |
No |
|
Specifies the current phase of the problem record
|
No |
|
Specifies the incident count of the problem record |
No |
|
Specifies the future impact of the problem record |
No |
|
Specifies the impact of the problem record |
No |
|
Specifies the number of users that are affected by the problem record |
No |
|
Specifies the start time for the problem record |
No |
|
Specifies the expected resolution time of the problem record |
No |
|
Specifies the frequency of the problem record |
No |
|
Specifies the proposed solution of the problem record |
No |
|
Specifies the review notes related to the problem record |
No |
|
Specifies the code for the cause of the problem record |
No |
|
Specifies the affected configuration item of the problem record |
No |
|
Specifies the configuration item device name related to the problem record |
No |
|
Specifies the device type of the configuration item related to the problem record |
No |
|
Specifies the group assigned to the configuration item related to the problem record |
No |
|
Specifies the location of the configuration item related to the problem record |
No |
|
Specifies the companies that are affected related to the problem record |
No |
|
Specifies the count of affected configuration items related to the problem record |
No |
|
Specifies the previous task number for the problem record |
No |
|
Specifies the agreement ID of the problem record |
No |
|
Specifies the contract ID of the problem record |
No |
|
Specifies the whether the Service Level Agreement (SLA) related to the problem record was breached |
No |
|
Specifies the date and time of the next SLA breach |
No |
The following figure displays a sample adapter request for the Close Problem operation.
Sample adapter request for the Close Problem operation
<hp-service-manager-request>
<entity>problem</entity>
<entity-type />
<request>
<operation-name>close-problem</operation-name>
<parameters>
<close-problem-request>
<model>
<keys>
<id>
<value>PM-10037</value>
<type>String</type>
</id>
</keys>
<instance></instance>
</model>
</close-problem-request>
</parameters>
</request>
</hp-service-manager-request>
The following figure displays an adapter response for the Close Problem operation.
Sample adapter response for the Close Problem operation
<hp-service-manager-response>
<metadata>
<count>1</count>
</metadata>
<responses>
<response>
<metadata>
<count>1</count>
</metadata>
<item>
<metadata>
<status>error</status>
<error>No (more) records found...</error>
</metadata>
<parameters>
<model>
<keys>
<id>
<value>PM-10037</value>
<type>String</type>
</id>
</keys>
<instance>
<id>
<value>PM-10037</value>
<type>String</type>
</id>
<uniquequery>id="PM-10037"</uniquequery>
<recordid>PM-10037 - - - </recordid>
</instance>
</model>
<status>FAILURE</status>
<message>No (more) records found</message>
<schema-revision-date>2010.02.02 00:00:00</schema-revision-date>
<schema-revision-level>5</schema-revision-level>
<return-code>9</return-code>
</parameters>
</item>
</response>
</responses>
</hp-service-manager-response>
Comments
Log in or register to comment.