I want to fetch value of key “email” in a Variable strEmail . Please find the JsonResponse (type: newtonsoft.json.linq.jobject)below from a API Call.
{
“Accounts”:
[
{
“CloudAccountNumber”: “1437”,
“name”: “Platform Experience”,
“status”: “Active”,
“currency”: “USD”,
“awsAccounts”:
[
{
“id”: “00f6109dc83c49018ee1244800”,
“name”: “[Dev Env] App 1”,
“AccountNumber”: “868122223753”,
“alias”: “00f6109dc83c490187997c9ee1244800”,
“email”: “00f6109dc83c490800@mail.dev.manage.xyz.com”,
“externalId”: “313d7673f93f1d769ad32099b”,
“createdAt”: “2020-07-21T23:13:43.000Z”,
“xgtCloudAccountNumber”: “1335437”,
“serviceLevelId”: “aws.service_blocks”,
“assignDate”: “2021-02-23T14:55:07.000Z”,
“status”: “ASSID”,
“provisionedVersion”: “14”,
“provisionedAt”: “2021-03-25T15:34:04.000Z”,
“serviceBlockIds”: [
“platform_essentials”
]
},
{
“id”: “08b028b1c3e14776b82c96873e9572d1”,
“name”: “[Dev Env] App 2”,
“AccountNumber”: “506755724335”,
“alias”: “rax-08b028b1c3e14776b82c96873e9572d1”,
“email":"08b028b1c3e14776b82c96873e9572d1@mail.dev.manage.xyz.com”,
“externalId”: “e436e481d58e47ccb705eeb0cdaccbd8”,
“createdAt”: “2019-12-04T19:51:59.000Z”,
“sdfeCloudAccountNumber”: “1335437”,
“serviceLevelId”: “aws.service_blocks”,
“assignDate”: “2021-02-23T14:58:09.000Z”,
“status”: “ASSIGNED”,
“provisionedVersion”: “14”,
“provisionedAt”: “2021-03-25T15:33:58.000Z”,
“serviceBlockIds”: [
“.platform_essentials”
]
}
],
“masterPayer”: {
“id”: “8ed8e6fb597c458e8a549de9c0”,
“asdfacctNumber”: “28507663”,
“name”: “DEV Master Payer”
}
}]}
Can someone please help
7 posts - 3 participants