YM REST Services

<back to all web services

OAuthClientAppName

Requires Authentication
Requires the role:admin
The following routes are available for this service:
PUT/Ams/{ClientID}/OAuthClientAppNameUpdate an OAuth client app name.
OAuthClientAppName Parameters:
NameParameterData TypeRequiredDescription
AppIDbodyintNo
ClientAppIDbodystringNo
ClientAppNamebodystringNo
BaseDto Parameters:
NameParameterData TypeRequiredDescription
UsingRedisformboolNo
AppInitTimeformDateTimeNo
ServerIDformstringNo
BaseSharedDto Parameters:
NameParameterData TypeRequiredDescription
ClientIDformintNo
ResponseStatusformResponseStatusNo
BypassCacheformboolNo
DateCachedformDateTimeNo
DeviceformDeviceNo
OAuthClientAppsResponse Parameters:
NameParameterData TypeRequiredDescription
ClientAppListformList<ClientApp>No
KeyValueformstringNo
OAuthClientApps Parameters:
NameParameterData TypeRequiredDescription
AppIDformintNo
ClientAppformOAuthClientAppNo
KeyTypeformKeyTypesNo
MemberBaseSharedDto Parameters:
NameParameterData TypeRequiredDescription
MemberIDformintNo
OAuthClientApp Parameters:
NameParameterData TypeRequiredDescription
LogoImageContentformstringNo
ClientApp Parameters:
NameParameterData TypeRequiredDescription
AppIDformintNo
ClientAppIDformstringNo
ClientAppSecretformstringNo
AppNameformstringNo
CompanyNameformstringNo
EmailformstringNo
WebSiteUrlformstringNo
DescriptionformstringNo
ContactNameformstringNo
ContactNumberformstringNo
IsActiveformboolNo
ScopeApprovedformintNo
LogoImageformstringNo
CreatedformDateTimeNo
ModifiedformDateTimeNo
RedirectsformRedirectCollectionNo
IsExternalformboolNo
Redirect Parameters:
NameParameterData TypeRequiredDescription
RedirectIDformintNo
RedirectUrlformstringNo

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

HTTP + CSV

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

PUT /Ams/{ClientID}/OAuthClientAppName HTTP/1.1 
Host: ws.yourmembership.com 
Accept: text/csv
Content-Type: text/csv
Content-Length: length

{"AppID":0,"ClientAppID":"String","ClientAppName":"String","UsingRedis":true,"AppInitTime":"2024-09-07T20:46:45.6781770-04:00","ServerID":"WS-4-10-510","ClientID":0,"ResponseStatus":{"ErrorCode":"String","Message":"String","StackTrace":"String","Errors":[{"ErrorCode":"String","FieldName":"String","Message":"String","Meta":{"String":"String"}}],"Meta":{"String":"String"}},"BypassCache":false,"DateCached":"2024-09-07T23:09:35.7524427-04:00","Device":"Desktop"}
HTTP/1.1 200 OK
Content-Type: text/csv
Content-Length: length

{"ClientAppList":[{"AppID":0,"ClientAppID":"String","ClientAppSecret":"String","AppName":"String","CompanyName":"String","Email":"String","WebSiteUrl":"String","Description":"String","ContactName":"String","ContactNumber":"String","IsActive":false,"ScopeApproved":0,"LogoImage":"String","Created":"0001-01-01T00:00:00.0000000","Modified":"0001-01-01T00:00:00.0000000","Redirects":[{"RedirectID":0,"RedirectUrl":"String"}],"IsExternal":false}],"KeyValue":"String","AppID":0,"ClientApp":{"LogoImageContent":"String","ClientID":0,"AppID":0,"ClientAppID":"String","ClientAppSecret":"String","AppName":"String","CompanyName":"String","Email":"String","WebSiteUrl":"String","Description":"String","ContactName":"String","ContactNumber":"String","IsActive":false,"ScopeApproved":0,"LogoImage":"String","Created":"0001-01-01T00:00:00.0000000","Modified":"0001-01-01T00:00:00.0000000","Redirects":[{"RedirectID":0,"RedirectUrl":"String"}],"IsExternal":false},"KeyType":"None","MemberID":0,"ClientID":0,"ResponseStatus":{"ErrorCode":"String","Message":"String","StackTrace":"String","Errors":[{"ErrorCode":"String","FieldName":"String","Message":"String","Meta":{"String":"String"}}],"Meta":{"String":"String"}},"BypassCache":false,"DateCached":"2024-09-07T23:09:35.7836441-04:00","Device":"Desktop"}