...
Attribute | Required | Type | Description |
---|---|---|---|
id | Y | String | Identifier for the template |
model | Y | String | schema set on which xpath query should be executed |
xpathTemplate | Y | String | xpath template |
apiType | Y | String | API type to be used towards CPS (get, query, edit) |
Get a xpath template by id
...
Attribute | Required | Type | Description |
---|---|---|---|
Inputinput | Y | JSON blob | Input dictionary to be applied to the template |
payload | N | JSON blob | Payload to be used during edit/patch |
Response Codes
Code | Description |
---|---|
200 | Template executed successfully |
400 | Bad Request (Error in request attributes) |
404 | Template Not found |
500 | Internal server error |
...