Property transfer unable to parse json array
I have a below response from which I want to extract original_message_identification.
Response :
[
{
"batch_id": 23019,
"creditor_name": "test123",
"debtor_name": "debitor 123",
"original_create_date_time": "2019-06-05T07:07:00",
"original_message_identification": "00000109",
"status": "ACCEPTED",
"timeout": false
}
]
Getting below error :
Wed Sep 28 16:01:57 IST 2022 original_message_identification [Invalid JSON:
[
{
"batch_id": 23019,
"creditor_name": "test123",
"debtor_name": "debitor 123",
"original_create_date_time": "2019-06-05T07:07:00",
"original_message_identification": "00000109",
"status": "ACCEPTED",
"timeout": false
}
]]
Dan T (Staff) [10/26/2023 - 17:09 ET]
Hi MariusSc78, the key to that is the portability of the Open API Specifications (OAS) that you are creating in Stoplight. Most of API Management tooling (and I believe Azure is included) should allow you to import existing OAS files to be able begin provisioning your proxied endpoints.
You could either export the OAS files from the Stoplight workspace UI to import then into your gateway, or you can leverage the OAS files stored in your VCS, or you can use the Stoplight Catalog API to get access to your project bundled references to use with your gateway.
https://docs.stoplight.io/docs/stoplight-api-docs/f6hiiufckkwgf-catalog-api-overview