AbodeONE

<back to all web services

ExtUpdateWorshipCredit

Requires Authentication
Required role:SAU-Integration
The following routes are available for this service:
PUT/external/worship_credits/{Id}
ExtUpdateWorshipCredit Parameters:
NameParameterData TypeRequiredDescription
IdpathintNo
WorshipCategorybodystringNo
WorshipOptionbodystringNo
WorshipOptionIdbodyint?No
SchoolIdbodystringNo
NamebodystringNo
WorshipDatebodyDateTimeNo
CreditsbodyintNo
IsPresenterbodybool?No
IsCultureCreditbodybool?No
CommentbodystringNo
ExtUpdateWorshipCreditResponse Parameters:
NameParameterData TypeRequiredDescription
ResultformExtWorshipCreditDTONo
ResponseStatusformResponseStatusNo
ExtWorshipCreditDTO Parameters:
NameParameterData TypeRequiredDescription
IdformintNo
WorshipCategoryformstringNo
WorshipOptionformstringNo
SchoolIdformstringNo
NameformstringNo
WorshipDateformDateTimeNo
CreditsformintNo
IsPresenterformboolNo
IsCultureCreditformboolNo
CommentformstringNo
CreatedByformstringNo
CreatedDtformDateTime?No
ModifiedByformstringNo
ModifiedDtformDateTime?No

To override the Content-type in your clients, use the HTTP Accept Header, append the .json suffix or ?format=json

To embed the response in a jsonp callback, append ?callback=myCallback

HTTP + JSON

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

PUT //external/worship_credits/{Id} HTTP/1.1 
Host: api.lsu-staging.abodehms.com 
Accept: application/json
Content-Type: application/json
Content-Length: length

{"id":0,"worshipCategory":"String","worshipOption":"String","worshipOptionId":0,"schoolId":"String","name":"String","worshipDate":"0001-01-01T00:00:00.0000000","credits":0,"isPresenter":false,"isCultureCredit":false,"comment":"String"}
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: length

{"result":{"id":0,"worshipCategory":"String","worshipOption":"String","schoolId":"String","name":"String","worshipDate":"0001-01-01T00:00:00.0000000","credits":0,"isPresenter":false,"isCultureCredit":false,"comment":"String","createdBy":"String","createdDt":"0001-01-01T00:00:00.0000000","modifiedBy":"String","modifiedDt":"0001-01-01T00:00:00.0000000"},"responseStatus":{"errorCode":"String","message":"String","stackTrace":"String","errors":[{"errorCode":"String","fieldName":"String","message":"String","meta":{"String":"String"}}],"meta":{"String":"String"}}}