find your Yaas client id here:

/wp-content/uploads/2016/05/clipboard1_946305.png

and client id and client secret could be found here:

/wp-content/uploads/2016/05/clipboard2_946306.png

This will be used as tenant id:

/wp-content/uploads/2016/05/clipboard3_946307.png

Now you can get OAuth token here:


/wp-content/uploads/2016/05/clipboard4_946308.png

scope = hybris.document_view hybris.document_manage hybris.tenant=wishlistjerry

Then we can get access token from response:

{

    “token_type”: “Bearer”,

    “access_token”: “020-8c0a4050-c662-4d85-b5fd-e1ac5fe996d2”,

    “expires_in”: 3600,

    “scope”: “hybris.document_view hybris.document_manage hybris.tenant=wishlistjerry”

}

first create a new document via POST and its id would be found from creation result:

/wp-content/uploads/2016/05/clipboard5_946309.png

Perform get test. Note here the client is not the tenant id, but the client id: wishlistjerry.wishlist

/wp-content/uploads/2016/05/clipboard6_946310.png

response header:


/wp-content/uploads/2016/05/clipboard7_946311.png

And response body is the document sample data we created using post in previous step:

/wp-content/uploads/2016/05/clipboard8_946312.png

To report this post you need to login first.

Be the first to leave a comment

You must be Logged on to comment or reply to a post.

Leave a Reply