Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

AttributeRequiredTypeDescription
idYStringIdentifier for the template
modelYStringschema set on which xpath query should be executed
xpathTemplateYStringxpath template
apiTypeYStringAPI type to be used towards CPS (get, query, edit)

Get a xpath template by id

...

AttributeRequiredTypeDescription
InputinputYJSON blobInput dictionary to be applied to the template
payloadNJSON blobPayload to be used during edit/patch

Response Codes

CodeDescription
200Template executed successfully
400Bad Request (Error in request attributes)
404Template Not  found
500Internal server error

...