Hi
I am trying to create a developer app thru a proxy and asigning product to it. If i open trace and copy the exact body of service callout and run thru apigee management API UI, It works fine. If I am doing it through my proxy, developer app is created but there is no product attached to it. Can anyone help?
{ "name" : "Test1", "apiProducts": ["product-v1"], "keyExpiresIn" : "-1", "callbackUrl" : "https://test.com", "attributes" : [ { "name" : "DisplayName", "value" : "Test1" }, { "name" : "Notes", "value" : "Test" } ] }
My code:
POST
https://api.enterprise.apigee.com/v1/organizations/{organization.name}/developers/{email}/apps
{ "name" : "{client_name}", "apiProducts": {allowedProducts}, "keyExpiresIn" : "-1", "callbackUrl" : "{requestRedirectUris}", , "attributes" : [ { "name" : "Notes", "value" : "Test" }]}
value of allowedProducts in trace: ["product-v1"]