-
1. Re: Receive attach file via Web services.
Carl WilsonFeb 19, 2015 3:08 AM (in response to TeamRemedy Agilex)
1 of 1 people found this helpfulHi,
You can search for additional responses to this question as there have been a number of discussion previously:
Attachements in Remedy Web Service
Re: Is it possible to add an attachment via Web Service?
Re: Remedy Web Services development doubts
Cheers
Carl
-
2. Re: Receive attach file via Web services.
Sylvain YVON Feb 19, 2015 3:11 AM (in response to TeamRemedy Agilex)Hi team,
Yes you can, just pass base64 encoded data to the WorkInfoAttachment1Data, along with its name in WorkInfoAttachment1Name. You can try a base64 conversion example here :
-
3. Re: Receive attach file via Web services.
TeamRemedy Agilex Feb 20, 2015 6:06 AM (in response to TeamRemedy Agilex)hello everyone, It's correct what you told me, but now I have the problem that the attachment file name remains the same, never changes .... Is it possible that I must transmit the name of the attached file with the given MIME64? how can I do that? a greeting and thank you very much Pietro
-
4. Re: Receive attach file via Web services.
Carl WilsonFeb 20, 2015 6:11 AM (in response to TeamRemedy Agilex)
Hi,
yes you do need to provide the file name and Mime Type when creating the attachment. The source server should provide this to Remedy, where Remedy uses the Mime Type to determine how to open the file.
As you are supplying the file, the name and extension should be known before you transmit it to Remedy.
Cheers
Carl
-
5. Re: Re: Receive attach file via Web services.
TeamRemedy Agilex Feb 20, 2015 9:29 AM (in response to Carl Wilson)Hi Carl,
attached two pictures of the Web service created. The form of support is HPD:CreateIncidentInterface.
I have highlighted in yellow the field type MIME64 where I pass the Atthach (attach1 is connected to the field z2Af_Act_Attachment_1)
what is the field must contain the file name ?
could you help me ?
thanks in advance
Pietro
-
Cattura1.PNG 10.2 K
-
Cattura.PNG 39.7 K
-
-
6. Re: Re: Receive attach file via Web services.
Carl WilsonFeb 20, 2015 9:49 AM (in response to TeamRemedy Agilex)
Hi,
please refer back to the links that I posted, you need to expose the 3 attributes related to the Attachment - Name, OrigSize and Data.
You then populate each of these parameters in your call.
Cheers
Carl
-
7. Re: Receive attach file via Web services.
TeamRemedy Agilex Feb 23, 2015 3:56 AM (in response to Carl Wilson)Great! Created attribute field and problem fixed ! Thanks a lot ! bye Pietro