Ok here is an example of a json body with the above issue.
Note that if you run the jsonpath in http://jsonpath.com/? you get the requested result ($…Files…[?(@.Format == ‘DASH_Web’)].URL)
[
{
“MediaID”: “563484”,
“MediaName”: “Первый Канал”,
“MediaTypeID”: “600”,
“MediaTypeName”: “Linear”,
“Rating”: 0.0,
“ViewCounter”: 0,
“Description”: “”,
“CreationDate”: “2018-02-05T15:32:07”,
“LastWatchDate”: null,
“StartDate”: “2018-02-05T08:00:00”,
“CatalogStartDate”: “2018-02-05T08:00:00”,
“PicURL”: null,
“URL”: null,
“MediaWebLink”: “”,
“Duration”: null,
“FileID”: “0”,
“MediaDynamicData”: null,
“SubDuration”: null,
“SubFileFormat”: null,
“SubFileID”: null,
“SubURL”: null,
“GeoBlock”: null,
“TotalItems”: 1011,
“like_counter”: 0,
“EntryId”: “”,
“Tags”: [
{
“Key”: “region_whitelist”,
“Value”: “77|90”
},
{
“Key”: “default_lcn”,
“Value”: “1”
},
{
“Key”: “genre”,
“Value”: “Эфирные”
},
{
“Key”: “beeline_osd”,
“Value”: “sub_id=20879|sub_id=20880|sub_id=20881|sub_id=20882|sub_id=20883|sub_id=20888|sub_id=20950|sub_id=20951|sub_id=20952”
}
],
“Metas”: [
{
“Key”: “series_id”,
“Value”: “”
},
{
“Key”: “series_name”,
“Value”: “”
},
{
“Key”: “episode_name”,
“Value”: “”
},
{
“Key”: “quality”,
“Value”: “”
},
{
“Key”: “collection_id”,
“Value”: “”
},
{
“Key”: “collection_rank”,
“Value”: “”
},
{
“Key”: “content_reference_id”,
“Value”: “”
},
{
“Key”: “playable_start”,
“Value”: “”
},
{
“Key”: “playable_end”,
“Value”: “”
},
{
“Key”: “presentable_end”,
“Value”: “”
},
{
“Key”: “adult”,
“Value”: “0”
},
{
“Key”: “downloadable”,
“Value”: “0”
}
],
“AdvertisingParameters”: [
],
“Files”: [
{
“FileID”: “1246450”,
“URL”: “https://video.test.com/live/h/test343242.isml/index-ios_mobile.m3u8”,
“Duration”: “0”,
“Format”: “HLS_Tablet”,
“PreProvider”: null,
“PostProvider”: null,
“BreakProvider”: null,
“OverlayProvider”: null,
“BreakPoints”: null,
“OverlayPoints”: null,
“Language”: “rus”,
“IsDefaultLang”: false,
“CoGuid”: “test343242”,
“CatalogEndDate”: “1/1/2099 12:00:00 AM”
},
{
“FileID”: “1246451”,
“URL”: “https://video.test.com/live/h/test343242.isml/index-web_hls.m3u8”,
“Duration”: “0”,
“Format”: “HLS_Web”,
“PreProvider”: null,
“PostProvider”: null,
“BreakProvider”: null,
“OverlayProvider”: null,
“BreakPoints”: null,
“OverlayPoints”: null,
“Language”: “rus”,
“IsDefaultLang”: false,
“CoGuid”: “test343242”,
“CatalogEndDate”: “1/1/2099 12:00:00 AM”
},
{
“FileID”: “1246452”,
“URL”: “http://video.test.com/live/d/test343242.isml/testers-stb.mpd”,
“Duration”: “0”,
“Format”: “DASH_STB”,
“PreProvider”: null,
“PostProvider”: null,
“BreakProvider”: null,
“OverlayProvider”: null,
“BreakPoints”: null,
“OverlayPoints”: null,
“Language”: “rus”,
“IsDefaultLang”: false,
“CoGuid”: “Channel1234”,
“CatalogEndDate”: “1/1/2099 12:00:00 AM”
},
{
“FileID”: “1246453”,
“URL”: “http://video.test.com/live/d/test343242.isml/testers-mobile_android.mpd”,
“Duration”: “0”,
“Format”: “DASH_Tablet”,
“PreProvider”: null,
“PostProvider”: null,
“BreakProvider”: null,
“OverlayProvider”: null,
“BreakPoints”: null,
“OverlayPoints”: null,
“Language”: “rus”,
“IsDefaultLang”: false,
“CoGuid”: “test343242”,
“CatalogEndDate”: “1/1/2099 12:00:00 AM”
},
{
“FileID”: “1246454”,
“URL”: “https://video.test.com/live/d/test343242.isml/testers-web_dash.mpd”,
“Duration”: “0”,
“Format”: “DASH_Web”,
“PreProvider”: null,
“PostProvider”: null,
“BreakProvider”: null,
“OverlayProvider”: null,
“BreakPoints”: null,
“OverlayPoints”: null,
“Language”: “rus”,
“IsDefaultLang”: false,
“CoGuid”: “test343242”,
“CatalogEndDate”: “1/1/2099 12:00:00 AM”
},
{
“FileID”: “1246455”,
“URL”: “http://video.test.com/live/s/test343242.isml/testers-smart”,
“Duration”: “0”,
“Format”: “SS_TV”,
“PreProvider”: null,
“PostProvider”: null,
“BreakProvider”: null,
“OverlayProvider”: null,
“BreakPoints”: null,
“OverlayPoints”: null,
“Language”: “”,
“IsDefaultLang”: false,
“CoGuid”: “test343242”,
“CatalogEndDate”: “1/1/2099 12:00:00 AM”
},
{
“FileID”: “1246456”,
“URL”: “https://video.test.com/live/s/test343242.isml/testers-web_ss”,
“Duration”: “0”,
“Format”: “SS_Web”,
“PreProvider”: null,
“PostProvider”: null,
“BreakProvider”: null,
“OverlayProvider”: null,
“BreakPoints”: null,
“OverlayPoints”: null,
“Language”: “rus”,
“IsDefaultLang”: false,
“CoGuid”: “test343242”,
“CatalogEndDate”: “1/1/2099 12:00:00 AM”
}
],
“Pictures”: [
{
“PicSize”: “”,
“URL”: “http://test.com/Service.svc/image/p/438/etity_id/3e1197b93384458ea15421de76cf50a0_1/version/1”,
“ID”: “3e1197b93384458ea15421de76cf50a0_1”,
“Version”: 1,
“Ratio”: “16:9”,
“IsDefault”: false
},
{
“PicSize”: “”,
“URL”: “http://test.com/Service.svc/image/p/438/etity_id/b0653588a0ec4fc4ab660018e3b34f91_50/version/1”,
“ID”: “b0653588a0ec4fc4ab660018e3b34f91_50”,
“Version”: 1,
“Ratio”: “channel_logo_1_1”,
“IsDefault”: false
},
{
“PicSize”: “”,
“URL”: “http://test.com/Service.svc/image/p/438/etity_id/a427d73ea50947ee85d799cd374ece66_51/version/1”,
“ID”: “a427d73ea50947ee85d799cd374ece66_51”,
“Version”: 1,
“Ratio”: “channel_logo_2_1”,
“IsDefault”: false
},
{
“PicSize”: “”,
“URL”: “http://test.com/Service.svc/image/p/438/etity_id/7a5626babf82445ab44624021d0b055c_55/version/2”,
“ID”: “7a5626babf82445ab44624021d0b055c_55”,
“Version”: 2,
“Ratio”: “channel_img_2_3”,
“IsDefault”: false
}
],
“ExternalIDs”: [
{
“Key”: “test_id”,
“Value”: “4478”
}
]
}
]