Important Update: Archer Community Scheduled Maintenance on November 23–24 - New Community Launching Soon! Learn More..

cancel
Showing results for 
Search instead for 
Did you mean: 

[NEED HELP] HTTP Post - Send a Report Info.

mperezmoy
Contributor III

Hello everyone,

I am currently doing a PUT/POST integration and it is the first time I do them. I have to make a call to a URL with some specific headers to be able to send information to another system. This information is in an archer report. Back, the call will return me information of each record. The problem is that I don't know how to complete the configuration of the data feed, where and how to indicate which report I want to send.

I have opened several cases to archer support but they don't know how to do it, I just need to know where and how to indicate which report I want to send and with which type of connection I should connect, with user, without user etc.

Thank you very much in advance

 

13 REPLIES 13

@DavidPetty would it be possible to manually generate the json of the report using Archer API Testing, copy the xml or JSON output, paste it in the post data and send it? would that work? if so, in Archer Api Testing, is it possible to get the content of a report in json format? I have only found out how to get the xml.

Archer only outputs report data as XML.  You'd need use and XSLT to transform the XML to JSON and the Archer API Testing tool doesn't have the ability to apply and XSLT.

 Advisory Consultant

@DavidPetty but if i achivethe JSON i'll be able to send it using the HTTP PUT Datafeed ? To send something like that on the Post Data:  this will work?

 

[
{
"codigoRiesgo": "60005433",
"codigoPadre": "60005226",
"abm": "M",
"Nombre_ENG": "ALZ. Insolv. Punibles/Alzamiento bienes - CAMBIO DE NOMBRE"
},
{
"codigoRiesgo": "60060788",
"codigoPadre": "60060788",
"abm": "M",
"Nombre_ENG": "ANTICORRUPTION R2"
}
]

I don't know anything about that remote system, and I can't provide an answer if it will work or not.

Each software's APIs need data in a specific format, so it knows how to process the data.  I would recommend if there's any documentation on that remote systems APIs is to read up on how it needs the data formatted and whether its sent via post data or another way.

 Advisory Consultant