| Required role: | Admin |
| GET | /worship_options |
|---|
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| WorshipCategoryId | query | int? | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| Result | form | List<WorshipOptionDTO> | No | |
| ResponseStatus | form | ResponseStatus | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| WorshipOptionId | form | int | No | |
| WorshipCategoryId | form | int? | No | |
| Name | form | string | No | |
| Description | form | string | No | |
| Credits | form | int | No | |
| PresenterBonus | form | int | No | |
| DefaultTime | form | DateTime? | No | |
| DailyLimit | form | int | No | |
| WeeklyLimit | form | int | No | |
| TermLimit | form | int | No | |
| AllowLimitOverride | form | bool | No | |
| Code | form | string | No |
To override the Content-type in your clients, use the HTTP Accept Header, append the .jsv suffix or ?format=jsv
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
GET //worship_options HTTP/1.1 Host: api.lsu-staging.abodehms.com Accept: text/jsv
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length
{
result:
[
{
worshipOptionId: 0,
worshipCategoryId: 0,
name: String,
description: String,
credits: 0,
presenterBonus: 0,
defaultTime: 0001-01-01,
dailyLimit: 0,
weeklyLimit: 0,
termLimit: 0,
allowLimitOverride: False,
code: String
}
],
responseStatus:
{
errorCode: String,
message: String,
stackTrace: String,
errors:
[
{
errorCode: String,
fieldName: String,
message: String,
meta:
{
String: String
}
}
],
meta:
{
String: String
}
}
}