You can use the following URL and get the attachment for required modules:
URL: http://********/REST/Summit_RESTWCF.svc/RestService/Summit_GetAttachment
Note:
Cluster storage configuration should be at API level.
The extension should be enabled in the Summit Application Settings (Valid Attachment Extensions).
Service Name | HTTP Method |
Summit_GetAttachment | POST |
Sample Request
Below are the sample requests for different modules.
{
"_ProxyDetails": {
"ProxyID": 0,
"ReturnType": "JSON",
"OrgID": 1,
"AuthType": "****",
"APIKey": "******"
},
"eModule": "PM",
"TicketNo": 46096,
"AttachmentFileName": "Problem attachment.txt"
}Request Parameters
Parameter Name | Mandatory | Description | Type |
|---|---|---|---|
TicketNo | STRING | Ticket number of Problem Record. | TRUE |
AttachmentFileName | STRING | File name of attachment. | TRUE |
eModule | STRING | Module name. Example: For Problem Management it is "PM" | TRUE |
Sample Response
[
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
]{
"_ProxyDetails": {
"ProxyID": 0,
"ReturnType": "JSON",
"OrgID": 1,
"AuthType": "****",
"APIKey": "******"
},
"eModule": "CM",
"TicketNo": 46096,
"AttachmentFileName": "Change attachment.txt"
}Request Parameters
Parameter Name | Mandatory | Description | Type |
|---|---|---|---|
TicketNo | STRING | Ticket number of Change Record. | TRUE |
AttachmentFileName | STRING | File name of attachment. | TRUE |
eModule | STRING | Module name. Example: For Change Management it is "CM" | TRUE |
Sample Response
[
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
]{
"_ProxyDetails": {
"ProxyID": 0,
"ReturnType": "JSON",
"OrgID": 1,
"AuthType": "****",
"APIKey": "******"
},
"eModule": "ServiceRequest",
"TicketNo": 46096,
"AttachmentFileName": "Service Request attachment.txt"
}Request Parameters
Parameter Name | Type | Description | Mandatory |
|---|---|---|---|
TicketNo | STRING | Ticket number of Service Request. | TRUE |
AttachmentFileName | STRING | File name of attachment. | TRUE |
eModule | STRING | Module name. Example: For Service Request it is "SR" | TRUE |
Sample Response
[
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
]{
"_ProxyDetails": {
"ProxyID": 0,
"ReturnType": "JSON",
"OrgID": 1,
"AuthType": "****",
"APIKey": "******"
},
"eModule": "IM",
"TicketNo": 46096,
"AttachmentFileName": "incident attachment.txt"
}Request Parameters
Parameter Name | Type | Description | Mandatory |
|---|---|---|---|
TicketNo | STRING | Ticket number of Incident. | TRUE |
AttachmentFileName | STRING | File name of attachment. | TRUE |
eModule | STRING | Module name. Example: For Incident Management it is "IM" | TRUE |
Sample Response
[
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
]