Summit_UploadAttachment

Read Complete Release Notes

Upload an attachment to a SR catalog form using the following API Request with details such as User Name, Organization ID and so on. Enter all the following request parameters which are mandatory. 

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

Service NameHTTP Method
Summit_UploadAttachment

POST

Sample Request
{
    "_ProxyDetails": {
        "UserName": "abc@xyz.com",
        "OrgID": "1",
        "SAASOrgID": "0",
        "ProxyID": 0,
        "ReturnType": "JSON",
        "Password": "test@123",
        "RequestType": "mobile",
        "AuthType": "FORM"
    },
    "eModule": "SR_Dynamic",
    "TicketNo": 46096,
    "AttributeId": 138,
    "FileByte": [
        101,
        114,
        116,
        101,
        114,
        116,
        101,
        114,
        116,
        114,
        101,
        116,
        114,
        101,
        116,
        101,
        114,
        116,
        114,
        101,
        116,
        101,
        114,
        116,
        114,
        101,
        116,
        114,
        101,
        116,
        114,
        101,
        116,
        114,
        101,
        116,
        114,
        101
    ],
    "AttachmentFileName": "incident attachment.txt"
}

Request Parameters

Parameter NameTypeDescriptionMandatory

UserName

STRING

User name of the requester.

TRUE

OrgID

BIT

Unique Identification number of the Organization.

By default, this value is 1. 

TRUE

SAASOrgID

BIT

Mention the SAAS ID of the organization.

The value should be 0.

TRUE

ProxyID

BIT

Type of the request return.

The value should be 0.

TRUE

RequestType

STRING

Type of the request.

By default, the value is Mobile.

TRUE

AuthType

STRING

Mention the type of authorization.

TRUE

Sample Response
"{\"Errors\":\"\",\"Input\":null,\"Message\":\"Uploaded Successfully\",\"OrgID\":0,\"Output\":null,\"OutputID\":0,\"OutputObject\":null,\"TokenID\":\"5D43E03E1473C9E0EFDF21533C009F84603B2B9C11F8FF2475554A99C4867D5CBEBBC9E6123FE8A17F5BE18016009B5176ED32F3C93FB8B4A2A430F95F63E95755641499C6AFC904328B3BD49031544EF324095518A6BB7958CBE1551E607AC273FF180E48E537792EE3CA10156B7790\",\"Priority\":null,\"ResolutionDeadLine\":null,\"Resolution_DeadLine\":null,\"SLA\":null,\"TicketID_Encrypted\":null,\"TicketID_Internal\":0,\"TicketNo\":0}"