Hi,
I'm playing around with the VRM API, more specifically the transaction feed using Postman.
I am performing a POST on the following endpoint:
https://sandbox.api.visa.com/visariskmanager/v1/transaction/feed
I am specifying the service type as case creation and supplying the app user id that is provided in the test data.
I have also double checked that the certificate is still valid and that Postman is still making use of the certificates.
I'm not quite sure how to proceed from here
Solved! Go to Solution
Hey @Mickey,
I'm happy to help. For Visa Developer Error Codes, please go here and scroll down to 415 - https://developer.visa.com/pages/visa-developer-error-codes
HTTP STATUS: UNSUPPORTED MEDIA TYPE
HTTP CODE: 415
CAUSE/RESOLUTION: The project is using an unsupported content type in the request.
If the issue persists, please provide the following information:
1. Endpoint
2. Request Header
3. Request Body
4. Response Header (include the x-correlation-id)
5. Response Body
Using SoapUI, you can find the x-correlation-id in the Raw Tab of the response header.
Hi @API_Products,
Thank you for your response, after reviewing your response and the contents of the the link you sent I started having a look at my configuration.
It seems that my body change from json to text, correcting this resolved the issue.
Another question, below is the sample request body for the transaction feed.
{
"serviceType": "Case Creation",
"alertStartTime": "20170530074012",
"alertEndTime": "20170530075012",
"appUserId": "marma2432f"
}
Under the request attribute it states that alertStartTime and alertEndTime are optional, if I remove them from my request I get a response of
Hey @Mickey,
If you are getting that response, it’s not really an “error”. It means that for the query criteria (in this case, the time range in GMT for when alerts were created) that the client sent in the API, there were no alerts that exists that meet that criteria. In other words, in this case, the client is asking: “were there alerts created between the alert start time and the alert end time that can be downloaded?” Visa’s response is: “No, there are not alerts that were created between the start and end time.