| Required role: | SAU-Integration |
| PUT | /external/worship_options/{Id} |
|---|
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| Id | path | int | No | |
| WorshipCategory | body | string | No | |
| Name | body | string | No | |
| Credits | body | int | No | |
| DefaultTime | body | string | No | |
| Description | body | string | No | |
| PresenterBonus | body | int | No | |
| WeeklyLimit | body | int | No | |
| DailyLimit | body | int | No | |
| TermLimit | body | int | No | |
| AllowOverrideLimit | body | bool | No | |
| Code | body | string | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| Result | form | ExtWorshipOptionDTO | No | |
| ResponseStatus | form | ResponseStatus | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| Id | form | int | No | |
| WorshipCategory | form | string | No | |
| Name | form | string | No | |
| Credits | form | int | No | |
| DefaultTime | form | string | No | |
| Description | form | string | No | |
| PresenterBonus | form | int | No | |
| WeeklyLimit | form | int | No | |
| DailyLimit | form | int | No | |
| TermLimit | form | int | No | |
| AllowOverrideLimit | form | bool | No | |
| Code | form | string | No | |
| CreatedBy | form | string | No | |
| CreatedDt | form | DateTime? | No | |
| ModifiedBy | form | string | No | |
| ModifiedDt | form | DateTime? | 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.
PUT //external/worship_options/{Id} HTTP/1.1
Host: api.lsu-staging.abodehms.com
Accept: text/jsv
Content-Type: text/jsv
Content-Length: length
{
id: 0,
worshipCategory: String,
name: String,
credits: 0,
defaultTime: String,
description: String,
presenterBonus: 0,
weeklyLimit: 0,
dailyLimit: 0,
termLimit: 0,
allowOverrideLimit: False,
code: String
}
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length
{
result:
{
id: 0,
worshipCategory: String,
name: String,
credits: 0,
defaultTime: String,
description: String,
presenterBonus: 0,
weeklyLimit: 0,
dailyLimit: 0,
termLimit: 0,
allowOverrideLimit: False,
code: String,
createdBy: String,
createdDt: 0001-01-01,
modifiedBy: String,
modifiedDt: 0001-01-01
},
responseStatus:
{
errorCode: String,
message: String,
stackTrace: String,
errors:
[
{
errorCode: String,
fieldName: String,
message: String,
meta:
{
String: String
}
}
],
meta:
{
String: String
}
}
}