Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Scroll Exporter macro migration
Scroll ignore
scroll-pdftrue
scroll-officetrue
scroll-chmtrue
scroll-docbooktrue
scroll-eclipsehelptrue
scroll-epubtrue
scroll-htmltrue
#F0F0F0#F0F0F0

3

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

You can create SRs along with the Approval using the following API Request. 

To authenticate the below API, see API Authentication and Authorization.

Service NameHTTP Method
SR_ApproveServiceCatalog_Workflow

POST


Ui tabs
Ui tab
titleWith Custom Attributes
DJangoSample Requesttrue

Request Parameters

Parameter NameTypeDescriptionMandatory
Service Name

GreenString

The name of the static service (SR_ApproveServiceCatalog_Workflow).

GreyFalse

APIKey

GreenString

APIKey that is generated that is described in  section.

Value should be APIKey.

GreyFalse

AuthType

GreenString

Type of Authentication.

GreyFalse

ProxyID

Greyinteger

Type of the request return.

The value should be 0.

GreyFalse

ReturnType

GreenString

Type of the request return.

For Example: Json, XML, YAML, etc.

GreyFalse


OrgID

Greyinteger

Unique Identification of the Organization.

The value should be 1. 

GreyFalse


UserID

Greyinteger

Unique Identification of the user. It is a approver User ID.

Greentrue

TicketID

Greyinteger

Identification number of the ticket.

GreyFalse

SupportFunction

GreenString

Type the support function information. For example:  IT.

Greyfalse

WorkgroupID

Greyinteger

Identification number of the Workgroup for which the required Service Request belong to.

Greyfalse

ServiceTicketID

Greyinteger

Unique identification number of the Service ticket number.

Greentrue

Status

GreenString

The status of the service catalog. If input value is “True” then it is Approved and If input value is “False” then it is rejected.

Greentrue

CurrentApprovedLevel

Greyinteger

The level of the current approval. The Level of Approver could be 1,2,3 and so on.

Greentrue

ServiceCatalogID

Greyinteger

Unique Identification number of the Service Catalog. 

If the Service Catalog has mandatory Custom Attributes, the strCustomAttributes parameter is mandatory.

Greentrue

ServiceCategoryID

Greyinteger

Unique Identification number of the Service Category.

Note:

It is mandatory to provide either ServiceCategoryID or ServiceCategoryName value.

Greyfalse

strCustomAttributes

Greenarray

Custom attributes for a specified User. These Custom Fields include the following parameters: 

  • Attribute_ID
  • Attribute_Name
  • Attribute_Value
  • Attribute_Type

Greyfalse

Ui tab
titleWithout Custom Attributes
DJangoSample Requesttrue

Request Parameters

Parameter NameTypeDescriptionMandatory

Service Name

GreenString

The name of the static service 
(SR_ApproveServiceCatalog_Workflow).

GreyFalse

APIKey

GreenString

APIKey that is generated that is described in  section.
Value should be APIKey.

GreyFalse

AuthType

GreenString

Type of Authentication. 

Greyfalse


ProxyID

Greyinteger

Type of the request return.

The value should be 0.

Greyfalse

ReturnType

GreenString

Type of the request return.

For Example: Json, XML, YAML, etc.

Greyfalse


OrgID

Greyinteger

Unique Identification of the Organization.

The value should be 1. 

Greyfalse

UserID

Greyinteger

Unique Identification of the user. It is a approver User ID.

GreenTrue

TicketID

Greyinteger

Identification number of the ticket.

Greyfalse

SupportFunction

Greenstring

Type the support function information. For example:  IT.

Greentrue

WorkgroupID

Greyinteger

Identification number of the Workgroup for which the required Service Request belong to.

Greyfalse

ServiceTicketID

Greyinteger

Unique identification number of the Service ticket number.

Greentrue

Status

Greenstring

The status of the service catalog. If input value is “True” then it is Approved and If input value is “False” then it is rejected.

Greentrue

CurrentApprovalLevel

Greyinteger

The level of the current approval. The Level of Approver could be 1,2,3 and so on.

Greentrue

ServiceCatalogID

Greyinteger

Unique Identification number of the Service Catalog. 

If the Service Catalog has mandatory Custom Attributes, the strCustomAttributes parameter is mandatory.

Greyfalse

ServiceCategoryID

Greyinteger

Unique Identification number of the Service Category.

Note:

It is mandatory to provide either ServiceCategoryID or ServiceCategoryName value.

Greyfalse

Code Block
themeDJango
titleSample Response
linenumberstrue
{
    "Errors": "",
    "Input": null,
    "Message": "{\"ApprovalDetails\":{\"Message\":\"Successfully changed the status of the service request\",\
"RequestDetail\":[],\"AttributeDetail\":[]}}",
    "OrgID": 0,
    "Output": null,
    "OutputID": 0,
    "OutputObject": null,
    "TokenID": "0660103D6A35F4C5B2DADE0349A9B2BAF7F11A203EF77286BDF2D3CCC2709559436D727EF133298B82651C35A6388A16FEC5BF23460E0170D3CECC6A11BD542561FE56B11078BC05921DC49255414E7B5E6854B29DB23A139A6EB1C2E8EB01DEB4461ADF3D4144E3AAA6767A1CB2B9BF2992217B77F8E257D048946D38A70D893C63EE98E0F87CA0744D81DB35CA56987B4ED37019D37E456A55EC1CCC06D592E1524384633CECD164D85643178089A5"
} 

Status and Error Codes

For more information, see Status and Error Messages.

Scroll ignore
scroll-pdftrue
scroll-officetrue
scroll-chmtrue
scroll-docbooktrue
scroll-eclipsehelptrue
scroll-epubtrue
scroll-htmltrue
1

| |