Creating an attribute from response data - PingAuthorize - 9.1

PingAuthorize

bundle
pingauthorize-91
ft:publication_title
PingAuthorize
Product_Version_ce
PingAuthorize 9.1
category
ContentType
Product
Productdocumentation
paz-91
pingauthorize
ContentType_ce
Product documentation

Create an attribute to represent the age rating of the meme being requested.

  1. From the PingAuthorize Policy Editor, go to Trust Framework and click Attributes.
  2. From the + menu, select Add new Attribute.
  3. For the name, replace Untitled with Meme game answer rating.
  4. Verify that in the Parent field, no parent is selected.
    To remove a parent, click the trash can icon to the right of the Parent field.
  5. Click the + next to Resolvers and click + Add Resolver.
  6. For Resolver type, select Attribute and specify a value of HttpRequest.ResponseBody.
  7. Click the + next to Value Processors and click + Add Processor.
  8. For Processor, select JSON Path and specify a value of $.data.attributes.rating.
  9. For the processor's Value type, select Number.
  10. For Value Settings, set the Type to Number.
  11. Click Save changes.
    You have a new attribute for the answer's age rating.

    Screen capture of the attribute definition window