Service Manager
This is the latest version of the help for Ivanti Service Manager 2018. If you cannot find some of the features described in the help, you may be using an older version of the application. To upgrade the application, click here.To view the help for the latest version of Service Manager, click here
Create a Business Object
Here is an example to create a change, problem, incident, or any other business object.
URL |
https://tatnet.ivanti.com/api/odata/businessobject/change https://tatnet.ivanti.com/api/odata/businessobject/problem https://tatnet.ivanti.com/api/odata/businessobject/incident |
Method |
POST |
Header Name | Authorization : Sessionkey |
Status Code |
201 |
Request Payload
|
{
} |
{
} |
|
{
} |
|
Response Payload |
{
} |
Unsuccessful Responses
Empty Request Body
Scenario: To create a business object instance, an empty request body is provided.
Example:
https://tatnet.ivanti.com/api/odata/businessobject/alerts
Header Name:
Authorization: Authentication token
Code | ISM_4000 |
Description | Invalid Request Payload |
Message |
{ "Message body cannot be empty." } |
HTTP STATUS CODE |
400 |
Invalid Request Body
Scenario: To create a business object instance, an empty request body is passed.
Example:
https://tatnet.ivanti.com/api/odata/businessobject/alerts
Header Name:
Authorization: Authentication token
HTTP POST |
Request body is {random} Request body is {name: test} |
Code |
ISM_4000 |
Description | Invalid Request Payload |
Message |
[ "Invalid Business Object." ], |
HTTP STATUS CODE |
400 |
Missing Required Fields
Scenario: To create a business object instance, an invalid request body is passed or the required fields are missing.
Example:
https://tatnet.ivanti.com/api/odata/businessobject/alerts
Header Name:
Authorization: Authentication token
HTTP POST |
Request pay load : {"name": "test"} |
Code |
ISM_4000 |
Description | Invalid Request Payload |
Message |
[ "Required field Alert.Category value must be provided.", "Required field Alert.Description value must be provided.", "Required field Alert.Status value must be provided." ], |
HTTP STATUS CODE |
400 |
Invalid Response
Scenario: To create an incident or update an incident, the system fails to save and give a proper response from our API.
Header Name:
Authorization: Authentication token
HTTP POST/PUT/PATCH |
|
Code |
ISM_5000 |
Description | Internal server error |
Message |
[ "The server encountered an internal error. Please retry the request." ], |
HTTP STATUS CODE |
500 |
Was this article useful?
The topic was:
Inaccurate
Incomplete
Not what I expected
Other
Copyright © 2018, Ivanti. All rights reserved.