You can use the following URL and upload the attachment using byte array for required modules:
URL: http://**************/REST/Summit_RESTWCF.svc/RestService/Summit_UploadAttachment
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_UploadAttachment | POST |
Sample Request
Below are the sample requests for different modules.
Ui tabs |
---|
Ui tab |
---|
| DJangoJson FormattrueIncident ManagementRequest ParametersParameter Name | Type | Description | Mandatory |
---|
TicketNo | | Ticket number of Incident. | | AttachmentFileName | | File name of attachment. | | eModule | | Module name. Example: For Incident Management it is "IM" | | FileByte | | File format must be byte array. | | DJangoSample Responsetrue |
Ui tab |
---|
| DJangoJson FormattrueService RequestRequest ParametersParameter Name | Type | Description | Mandatory |
---|
TicketNo | | Ticket number of Service Request. | | AttachmentFileName | | File name of attachment. | | eModule | | Module name. Example: For Service Request it is "SR" | | FileByte | | File format must be byte array. | | DJangoSample Responsetrue |
Ui tab |
---|
| DJangoJson FormattrueChange ManagementRequest ParametersParameter Name | Type | Description | Mandatory |
---|
TicketNo | | Ticket number of Change Record. | | AttachmentFileName | | File name of attachment. | | eModule | | Module name. Example: For Change Management it is "CM" | | FileByte | | File format must be byte array. | | DJangoSample Responsetrue |
Ui tab |
---|
| DJangoJson FormattrueProblem ManagementRequest ParametersParameter Name | Type | Description | Mandatory |
---|
TicketNo | | Ticket number of Problem Record. | | AttachmentFileName | | File name of attachment. | | eModule | | Module name. Example: For Problem Management it is "PM" | | FileByte | | File format must be byte array. | | DJangoSample Responsetrue |
|
Status and Error Codes
For more information, see Status and Error Messages
Scroll ignore |
---|
scroll-pdf | true |
---|
scroll-office | true |
---|
scroll-chm | true |
---|
scroll-docbook | true |
---|
scroll-eclipsehelp | true |
---|
scroll-epub | true |
---|
scroll-html | true |
---|
|
1 | | |