Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 3 Next »

Read Complete Release Notes

Feature released in SummitAI Service Request Management (Denali SP3 HF01)

What's New?

Now, the UserID parameter is included in the Approve SR Status Summary Counts API. Using this parameter, you can add a specific UserID of a user. Based on the user id the Approve SR Status Summary counts displayed in response.

Authentication

To authenticate the APIs, use the Form or API login details. Create a user with the required role template access, use these details to authenticate, and execute the APIs. For more information, see Adding Users.

Retrieving SR Status Summary Counts

Use the following API Request to retrieve the status-wise total count of the SRs related to a specific Tenant or all Tenants.

API Details

Sample Request
{
    "ServiceName": "SR_GetApprovalStatusSummaryCount",
    "objCommonParameters": {
        "Instance": "ALL",
		"UserID":8,
        "Status":"Rejected",
         "_ProxyDetails": {
            "Password": "XXXXXXXXXXX",
            "ProxyID": 0,
            "ReturnType": "JSON",
            "UserName": "john@xyz.com",
            "OrgID": "1"
        }
    }
}

Request Parameters

Parameter NameTypeDescriptionNotes

Instance  *

INTEGER

Name of the Instance.

For Example: Info

Status *

STRING

Status of the SRs. 


UserID*

INTEGER

Logged in user id /Delegator user idFor Example: 8
* Indicates mandatory fields
Sample Response
{
    "Errors": "",
    "Message": "",
    "Output": "",
    "TokenID": "F0865A662E5F6C3ABFD163AEF82E3D7C3D04795DD430CC1C24B900F2CA250F30DCE902B830906DD012587102613EFEFFAD37D6B18C037B2C4FB2D9268C151F98DB69DD140310B36E833D3C4D7
C1FEC01B3A79F5AD0017D23FD7097A94BF2CD32C8764A200175DA894F9D7B0F10FA86386CEC941B12942F71C354FB2FA915A7DDA011C339C4B1115A91FA9C74588C2A66",
    "OrgID": 0,
    "OutputObject": {
        "Approval_Status_Summary_Counts": [
            {
                "All": 1,
                "Pending for Approval": null,
                "Approved": null,
                "Rejected": 1,
                "Forwarded": null,
                "On Hold": null,
                "Referred Back": null
            }
        ]
    },
    "OutputID": 0,
    "Input": null
}


  • No labels