Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Updated the code macro with the following parameter(s): [theme]

Read Complete Release Notes

Scroll export button
scopecurrent
template-id4fda9400-a7df-4ede-a95f-e4ae5fcf4796
captionDownload this Page
add-onScroll PDF Exporter

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.

Anchor
Retrieving SR Status Summary Counts
Retrieving SR Status Summary Counts
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

theme
Code Block
DJangotitleSample Request
linenumberstrue
collapsetrue
{
    "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  *

Status
titleInteger

Name of the Instance.

For Example: Info

Status *

Status
colourGreen
titleString

Status of the SRs. 


UserID*

Status
titleInteger

Logged in user id /Delegator user idFor Example: 8
* Indicates mandatory fields
Midnight
Code Block
theme
titleSample Response
collapsetrue
{
    "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
}