Incident Rules Based on Customer
- Enterprise IT
- Shilpa K (Deactivated)
Rules are enhanced for Incidents so that rules can be defined for specific Customers. There are categories specific to customers, only those Customers have access to the specific categories. Similarly, Users are mapped to Customers. Hence there should be a restriction on the Incident rules specific to Customers only.
Example: if a User is mapped to Customer A and if a Rule is mapped to customer A, in that case only those rules which are mapped to customer A will be visible to User A.
With the following API request, it is possible to retrieve only those Incidents mapped to Customer IDs.
To authenticate the below API, see API Authentication and Authorization.
Service Name | HTTP Method |
---|---|
IM_GetActionChangedDataMobile | POST |
Sample Request
{ "ServiceName": "IM_GetActionChangedDataMobile", "objCommonParameters": { "_ProxyDetails": { "SAASOrgID": "0", "LoginUID": 0, "RequestType": "mobile", "MobileVersion": "5.10.3", "Password": "test@123", "AuthType": "FORM", "ProxyID": 0, "OrgID": "1", "TokenID": "", "ReturnType": "JSON", "UserName": "hymasri.durga@symphonysummit.com" }, "RequiredParameters": { "WorkgroupID": 0, "SourceActionChange": "ddlWorkgroup", "CustomerID": "872", "InstanceCode": "Info", "CustomerIds": "872,2888" } } }
Request Parameters
Parameter Name | Type | Description | Mandatory |
---|---|---|---|
WorkgroupID | INTEGER | Identification number of the Workgroup for which the required Incident belongs to. | TRUE |
SourceActionChange | STRING | Based on mentioned Customer ID Category List will display but in case of value as "ddlWorkgroup", category list will display based on Workgroup ID. | TRUE |
CustomerID | Unique Identification number of the customer. | TRUE | |
InstanceCode | STRING | Name or Short code of the Instance. Example: Info, Network. | TRUE |
CustomerIds | STRING | Based on Customer Ids we can retrieve categories specific to these Customer IDs. | FALSE |
Sample Response
{ "Errors": "", "Message": "", "Output": "<Root><item id=\"2\" pid=\"\" label=\"-IT - Laptop\" IsCustomerMapped=\"1\"/><item id=\"203\" pid=\"\" label=\"(203) (203) (203) Emaileeyw\" IsCustomerMapped=\"1\"/><item id=\"217\" pid=\"\" label=\"Test Auto Closer134\" IsCustomerMapped=\"1\"/><item id=\"221\" pid=\"\" label=\"ChildTest1\" IsCustomerMapped=\"1\"><item id=\"222\" pid=\"221\" label=\"ChildTest2\" IsCustomerMapped=\"0\"><item id=\"223\" pid=\"222\" label=\"ChildTest3\" IsCustomerMapped=\"1\"><item id=\"224\" pid=\"223\" label=\"ChildTest4\" IsCustomerMapped=\"1\"><item id=\"225\" pid=\"224\" label=\"ChildTest5\" IsCustomerMapped=\"1\"><item id=\"226\" pid=\"225\" label=\"ChildTest6\" IsCustomerMapped=\"1\"><item id=\"227\" pid=\"226\" label=\"ChildTest7\" IsCustomerMapped=\"1\"><item id=\"228\" pid=\"227\" label=\"ChildTest8\" IsCustomerMapped=\"1\"><item id=\"229\" pid=\"228\" label=\"ChildTest9\" IsCustomerMapped=\"1\"><item id=\"230\" pid=\"229\" label=\"ChildTest10\" IsCustomerMapped=\"1\"/></item></item></item></item></item></item></item></item></item><item id=\"971\" pid=\"\" label=\"Test - Network\" IsCustomerMapped=\"1\"/><item id=\"978\" pid=\"\" label=\"Firsttest\" IsCustomerMapped=\"1\"><item id=\"979\" pid=\"978\" label=\"Second\" IsCustomerMapped=\"0\"><item id=\"980\" pid=\"979\" label=\"third\" IsCustomerMapped=\"1\"><item id=\"1010\" pid=\"980\" label=\"(1010) third2\" IsCustomerMapped=\"0\"><item id=\"1011\" pid=\"1010\" label=\"third4\" IsCustomerMapped=\"1\"/></item></item></item></item><item id=\"1068\" pid=\"\" label=\"#\" IsCustomerMapped=\"1\"/><item id=\"1069\" pid=\"\" label=\"(1069) rootNote\" IsCustomerMapped=\"1\"><item id=\"1070\" pid=\"1069\" label=\"(1070) ChildOfRootNote\" IsCustomerMapped=\"0\"/></item><item id=\"994\" pid=\"\" label=\"(994) test\" IsCustomerMapped=\"1\"/><item id=\"1077\" pid=\"\" label=\"TestCustomerCat\" IsCustomerMapped=\"1\"/><item id=\"1089\" pid=\"\" label=\"category001\" IsCustomerMapped=\"1\"/><item id=\"1086\" pid=\"\" label=\"日本のユーザー\" IsCustomerMapped=\"1\"/><item id=\"1087\" pid=\"\" label=\"テストカテゴリ\" IsCustomerMapped=\"0\"><item id=\"1088\" pid=\"1087\" label=\"テストカテクチャイルド1\" IsCustomerMapped=\"1\"/></item><item id=\"1090\" pid=\"\" label=\"Category-A\" IsCustomerMapped=\"0\"/><item id=\"1091\" pid=\"\" label=\"Category-B\" IsCustomerMapped=\"0\"/><item id=\"1092\" pid=\"\" label=\"A Parent\" IsCustomerMapped=\"0\"><item id=\"1093\" pid=\"1092\" label=\"B Child\" IsCustomerMapped=\"0\"><item id=\"1095\" pid=\"1093\" label=\"C Child\" IsCustomerMapped=\"0\"/></item></item><item id=\"1084\" pid=\"\" label=\"ParentCategory\" IsCustomerMapped=\"0\"><item id=\"1085\" pid=\"1084\" label=\"ChildCategory\" IsCustomerMapped=\"0\"/></item></Root>", "TokenID":"FD9522C582C61E0F8AB558A8DBC2E9D9E393F0612030C8BF0A99BF1D69222A6E57347448CFE9137272FDABA38CEF3B7559D73E78AD5A6AF9F21B5EE8D56E44DB6ACABF7D5116807F0BB7DD523EA0F0CC854AFCC21D49299E53A0FF9B82E174DB743C834730394475D63DF7F1D3A9B3177B462F17DFB56900B8C628192A69EE06E1F96BD06C3CEB9E24C0F3E370D3AB36", "OrgID": 0, "OutputObject": null, "OutputID": 0, "Input": null }
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