Python code in AWS Lambda
Budget: €30 – €250 EUR
Using LAMBDA – GetCoDetailsByName I’m trying to return the following data:
(start your chat with te word "Tenant" so I can avoid bot responses pls )
Using these APIs as a source in the LAMBDA you would create
Source API 1 = http://informationhub.mocklab.io/consumption/tenantorganizations/v3
Source API 2 = http://informationhub.mocklab.io/consumption/metrics/v3
*identified = where the name used in as event input is equal to one of the returned customerName values
1. TenId – Should be the TenantId of the customer identified* –
2. CoName – Should be the first CustomerName of a company identified*
3. CoCSM – Should be the username in eGainRoles for the company identified
4. CoAdvDTLic – Should be the limit value of the item in licences where the metric is equal to “AdvisorDesktopLicences” – (using the TenId previously returned (1) to look for the
e.g. with the following test event
{ "CoInputName": "Acme LTD"}
Result should be:
{
" TenId ": " TM89472",
"CoName": "Acme",
"CoCSM": "Lorell Green",
" CoAdvDTLic ": "120"
}
(start your chat with te word "Tenant" so I can avoid bot responses pls )
Using these APIs as a source in the LAMBDA you would create
Source API 1 = http://informationhub.mocklab.io/consumption/tenantorganizations/v3
Source API 2 = http://informationhub.mocklab.io/consumption/metrics/v3
*identified = where the name used in as event input is equal to one of the returned customerName values
1. TenId – Should be the TenantId of the customer identified* –
2. CoName – Should be the first CustomerName of a company identified*
3. CoCSM – Should be the username in eGainRoles for the company identified
4. CoAdvDTLic – Should be the limit value of the item in licences where the metric is equal to “AdvisorDesktopLicences” – (using the TenId previously returned (1) to look for the
e.g. with the following test event
{ "CoInputName": "Acme LTD"}
Result should be:
{
" TenId ": " TM89472",
"CoName": "Acme",
"CoCSM": "Lorell Green",
" CoAdvDTLic ": "120"
}