[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Ftpapi] Send PDF within JSON POST



Hi,

 

Need to be able to send a PDF document from the iSeries to an external company using JSON POST command.

 

PDF needs to be in Binary. 

 

Request is as follows:

 

POST/invoices/{id}/attachments

Upload an attachment to the invoice

This resource represents a digital copy of the invoice as generated by the source DMS.

Attachments can be uploaded using the POST method. To upload an attachment, a POST http request is made to a specific url created for each attachment. The body of the http request contains the raw attachment content.

Parameters

Name

Description

id *

integer

(path)

Unique TMCA ID of the invoice, received after submitting the invoice.

APIVersionNumber

string

(header)

API specification version number applicable.

Available values : 0.0.5, 0.0.6, 1.1

image

file

(formData)

A digital invoice in application/PDF format.

 

 

Thanks in advance for any support.

 

Regards,

Tony Cesarios

 

 

 

-- 
_______________________________________________
Ftpapi mailing list
Ftpapi@xxxxxxxxxxxxxxxxxxxxxx
http://scottklement.com/mailman/listinfo/ftpapi