Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Composing odata request for Configurator Service methods #2

Open
Salahudeen opened this issue Mar 1, 2020 · 0 comments
Open

Composing odata request for Configurator Service methods #2

Salahudeen opened this issue Mar 1, 2020 · 0 comments

Comments

@Salahudeen
Copy link

Could you please let me know how to compose the odata request object for method execution with the follwoing params.
{ "targetScope": { "Item": { "@aras.type": "Method", "@aras.action": "builder_method_name", "@aras.id": "item_id_componentA" } } }

Here is what i tried, but gets bad request error. Probably a trivial question...I am new to odata.

string odataUrl = innovatorUrl + "/server/odata/method.cfg_GetScopeStructure " + "{" + "\"targetScope\": {" + "\"Item\": {" + "\"@aras.type\": \"Method\"," + "\"@aras.action\": \"vm_scopeBuilder\"," + "\"@aras.id\": \"534B0B2819BD48D58E133D39E6BC596C\"" + "}" + "}" + "}";

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant