Create Work Order for SR
- Enterprise IT
You can create a Work Order for Service Request (SR) using the following API Request.
To authenticate the below API, see API Authentication and Authorization.
Service Name | HTTP Method |
---|---|
WO_CreateORUpdateWorkOrder | 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": "SR", "ModuleTicketNumber": "123", "_Classification_Name": "Alpha", "Priority_Name": "Priority-1", "_Assigned_WorkGroup_Name": "abc", "Symptom": "Symptom", "_Description": "_Description", "CustomFields": [ { "GroupName": "ServiceNow Details", "Attribute_Name": "Ticket No.", "Attribute_Value": "Attribute_Value" } ] } } }
Request Parameters
Parameter Name | Type | Description | Mandatory |
---|---|---|---|
IsWebServiceRequest | BOOLEAN | Is the Request from Web Service? | TRUE |
LoggedAnalystEmailID | STRING | The e-mail Id of the logged-in analyst. Note: | TRUE |
_Sup_Function | STRING | The name of the Instance code. It defines a business unit, an entity, or a department in an organizational hierarchy. For Example: Info | TRUE |
_Status | STRING | The status of the work order. The value of the status should be assigned for this request. | TRUE |
Module | STRING | The name of the module. For Example: Service Request (SR). | TRUE |
ModuleTicketNumber | STRING | The module ticket number of a Service Request. | TRUE |
_Classification_Name | STRING | The name of the classification of a Service Request. | TRUE |
Priority_Name | STRING | The name of the priority of a Service Request. | TRUE |
Symptom | STRING | The symptom of the Work Order. | TRUE |
_Description | STRING | The description for the Work Order. | TRUE |
_Assigned_WorkGroup_Name | STRING | The workgroup defines a group of members in an instance or a unit of an organization. | FALSE |
CustomFields | STRING | The custom fields of the specified work order.
| FALSE |
{ "Errors": "", "Message": "Successfully WorkOrder Added : WO653", "OrgID": 0, "Output": null, "OutputID": 0, "OutputObject": null, "TokenID": "10505968279EFE37030E29C050C9C8C332E6201838557D5260ACB41B909C15F6D47406ECFA46909C78C77E48977DD3059A7DC4266FDD8DEBCC8E51626F3277C167D0A384BDA3D4EFF7A6B4CFF5993106C1E4BE965E5660CEE1D8566C459887C53FCB955D16D999A80FDA5477B28E8515", "TicketID_Encrypted": null, "TicketID_Internal": 1650, "TicketNo": 653 }
Status and Error Codes
For more information, see Status and Error Messages.
Confluence Cloud Migration Alert: Please refer to known issues you may encounter in Confluence Cloud: https://eitdocs.atlassian.net/wiki/x/wDGwAQ