You are viewing an old version of this page. View the current version.
Compare with Current View Page History
« Previous Version 6 Next »
You can create a Work Order for Incident Management (IM) using the following API Request.
To authenticate the below API, see API Authentication and Authorization.
POST
{ "ServiceName": "WO_CreateORUpdateWorkOrder", "objCommonParameters": { "_ProxyDetails": { "ProxyID": 0, "OrgID": "1", "ReturnType": "JSON", "AuthType": "APIKey", "APIKey": "**************" }, "oWorkorderParam": { "IsWebServiceRequest": true, "LoggedAnalystEmailID": "abc@xyz.in", "_Sup_Function": "Info", "_Status": "New", "Module": "IM", "ModuleTicketNumber": "123", "_Classification_Name": "Alpha", "_Assigned_WorkGroup_Name": "abc", "Priority_Name": "Priority-1", "Symptom": "Symptom", "_Description": "_Description", "CustomFields": [ { "GroupName": "ServiceNow Details", "Attribute_Name": "Ticket No.", "Attribute_Value": "#Attribute_Value1#" } ] } } }
IsWebServiceRequest
BOOLEAN
Is the Request from Web Service?
TRUE
LoggedAnalystEmailID
STRING
E-mail Id of the logged-in analyst.
Note:It is mandatory to provide LoggedAnalystEmailIDvalue.
_Sup_Function
The name of the instance code. It defines a business unit, an entity, or a department in an organizational hierarchy.
For Example: Info
_Status
Module
The name of the module.
For Example: Incident Management (IM).
ModuleTicketNumber
_Classification_Name
The name of the Priority of a of Incident Management.
Symptom
The symptom of the Work Order.
_Description
The description for the Work Order.
FALSE
The custom fields of the specified Work Order. These custom fields include the following parameters:
{ "Errors": "", "Message": "Successfully WorkOrder Added : WO654", "OrgID": 0, "Output": null, "OutputID": 0, "OutputObject": null, "TokenID": "10505968279EFE37030E29C050C9C8C332E6201838557D5260ACB41B909C15F6D47406ECFA46909C78C77E48977DD3059A7DC4266FDD8DEBCC8E51626F3277C167D0A384BDA3D4EFF7A6B4CFF5993106C1E4BE965E5660CEE1D8566C459887C53FCB955D16D999A80FDA5477B28E8515", "TicketID_Encrypted": null, "TicketID_Internal": 1651, "TicketNo": 654 }
For more information, see Status and Error Messages.