Returns a set of data items of type servicehooks.
GET /api/news/servicehooks
None
None
None.
Method can return success code: OK - 200 or one of these error codes: BadRequest - 400, NotFound - 404, NotImplemented - 501, InternalServerError - 500, Unauthorized - 401.
| Name | Description | Type | Additional Information |
| Title | System.String | Read only: False | |
| Trigger | Telerik.Sitefinity.ServiceHooks.Model.ParameterizedSetting | Read only: False | |
| Action | Telerik.Sitefinity.ServiceHooks.Model.ParameterizedSetting | Read only: False | |
| SuccessfulRunsCount | System.Int32 | Read only: True | |
| FailedRunsCount | System.Int32 | Read only: True |
application/json
[
{
"Title": "sample string 1",
"Trigger": null,
"Action": null,
"SuccessfulRunsCount": 2,
"FailedRunsCount": 3
},
{
"Title": "sample string 1",
"Trigger": null,
"Action": null,
"SuccessfulRunsCount": 2,
"FailedRunsCount": 3
}
]Gets servicehooks item by id.
GET /api/news/servicehooks({key})
| Name | Description | Type | Additional Information |
| key | System.Guid | Required |
None
None.
Method can return success code: OK - 200 or one of these error codes: BadRequest - 400, NotFound - 404, NotImplemented - 501, InternalServerError - 500, Unauthorized - 401.
| Name | Description | Type | Additional Information |
| Title | System.String | Read only: False | |
| Trigger | Telerik.Sitefinity.ServiceHooks.Model.ParameterizedSetting | Read only: False | |
| Action | Telerik.Sitefinity.ServiceHooks.Model.ParameterizedSetting | Read only: False | |
| SuccessfulRunsCount | System.Int32 | Read only: True | |
| FailedRunsCount | System.Int32 | Read only: True |
application/json
{
"Title": "sample string 1",
"Trigger": null,
"Action": null,
"SuccessfulRunsCount": 2,
"FailedRunsCount": 3
}Gets Id property from servicehooks item.
GET /api/news/servicehooks({key})/property
| Name | Description | Type | Additional Information |
| key | System.Guid | Required | |
| property | System.String | Required |
None
None.
Method can return success code: OK - 200 or one of these error codes: BadRequest - 400, NotFound - 404, NotImplemented - 501, InternalServerError - 500, Unauthorized - 401.
| Name | Description | Type | Additional Information |
| Id | System.Guid | Read only: False |
application/json
{
"Id": "75009605-0868-4a5b-8dd1-298dee81fa59"
}Creates a servicehooks item.
POST /api/news/servicehooks
None
| Name | Description | Type | Additional Information |
| Title | System.String | Read only: False | |
| Trigger | Telerik.Sitefinity.ServiceHooks.Model.ParameterizedSetting | Read only: False | |
| Action | Telerik.Sitefinity.ServiceHooks.Model.ParameterizedSetting | Read only: False | |
| SuccessfulRunsCount | System.Int32 | Read only: True | |
| FailedRunsCount | System.Int32 | Read only: True |
application/json
{
"Title": "sample string 1",
"Trigger": null,
"Action": null
}Method can return success code: Created - 201 or one of these error codes: BadRequest - 400, NotFound - 404, NotImplemented - 501, InternalServerError - 500, Unauthorized - 401.
| Name | Description | Type | Additional Information |
| Title | System.String | Read only: False | |
| Trigger | Telerik.Sitefinity.ServiceHooks.Model.ParameterizedSetting | Read only: False | |
| Action | Telerik.Sitefinity.ServiceHooks.Model.ParameterizedSetting | Read only: False | |
| SuccessfulRunsCount | System.Int32 | Read only: True | |
| FailedRunsCount | System.Int32 | Read only: True |
application/json
{
"Title": "sample string 1",
"Trigger": null,
"Action": null,
"SuccessfulRunsCount": 2,
"FailedRunsCount": 3
}Partial update for servicehooks item.
PATCH /api/news/servicehooks({key})
| Name | Description | Type | Additional Information |
| key | System.Guid | Required |
| Name | Description | Type | Additional Information |
| Title | System.String | Read only: False | |
| Trigger | Telerik.Sitefinity.ServiceHooks.Model.ParameterizedSetting | Read only: False | |
| Action | Telerik.Sitefinity.ServiceHooks.Model.ParameterizedSetting | Read only: False | |
| SuccessfulRunsCount | System.Int32 | Read only: True | |
| FailedRunsCount | System.Int32 | Read only: True |
application/json
{
"Title": "sample string 1",
"Trigger": null,
"Action": null
}Method can return success code: NoContent - 204 or one of these error codes: BadRequest - 400, NotFound - 404, NotImplemented - 501, InternalServerError - 500, Unauthorized - 401.
None.
Full update for servicehooks item.
PUT /api/news/servicehooks({key})
| Name | Description | Type | Additional Information |
| key | System.Guid | Required |
| Name | Description | Type | Additional Information |
| Title | System.String | Read only: False | |
| Trigger | Telerik.Sitefinity.ServiceHooks.Model.ParameterizedSetting | Read only: False | |
| Action | Telerik.Sitefinity.ServiceHooks.Model.ParameterizedSetting | Read only: False | |
| SuccessfulRunsCount | System.Int32 | Read only: True | |
| FailedRunsCount | System.Int32 | Read only: True |
application/json
{
"Title": "sample string 1",
"Trigger": null,
"Action": null
}Method can return success code: NoContent - 204 or one of these error codes: BadRequest - 400, NotFound - 404, NotImplemented - 501, InternalServerError - 500, Unauthorized - 401.
None.
Deletes a servicehooks item by Id.
DELETE /api/news/servicehooks({key})
| Name | Description | Type | Additional Information |
| key | System.Guid | Required |
None
None.
Method can return success code: NoContent - 204 or one of these error codes: BadRequest - 400, NotFound - 404, NotImplemented - 501, InternalServerError - 500, Unauthorized - 401.
None.