POST,GET | /api/Security/GetUserByBranchForApp |
---|
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
UserId | form | int | No | |
UserName | form | string | No | |
Name | form | string | No | |
form | string | No | ||
EmailConfirmed | form | bool | No | |
MobilePhone | form | string | No | |
MobilePhoneConfirmed | form | bool | No | |
ConfirmPassword | form | string | No | |
Password | form | string | No | |
PasswordSalt | form | string | No | |
Enabled | form | bool | No | |
Training | form | bool | No | |
LastLogin | form | DateTime? | No | |
Created | form | DateTime | No | |
BranchId | form | int | No | |
ParentBranchId | form | int | No | |
MemberId | form | int? | No | |
Roles | form | string[] | No | |
CoursesCompleted | form | TrainingCourse | No | |
DisplayHomeNotification | form | bool | No | |
TwoFactorEnabled | form | bool | No | |
BranchName | form | string | No | |
BranchKey | form | Guid | No | |
Notifications | form | bool | No | |
PublishableKey | form | string | No | |
SecretKey | form | string | No | |
AppRegistrationId | form | string | No | |
AppRegistrationLink | form | string | No | |
ChangePassword | form | DateTime? | No | |
Activated | 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.
POST /api/Security/GetUserByBranchForApp HTTP/1.1
Host: api.clubmanagercentral.com
Accept: text/jsv
Content-Type: text/jsv
Content-Length: length
{
AppUserId: 0
}
HTTP/1.1 200 OK Content-Type: text/jsv Content-Length: length { UserId: 0, UserName: String, Name: String, Email: String, EmailConfirmed: False, MobilePhone: String, MobilePhoneConfirmed: False, ConfirmPassword: String, Password: String, PasswordSalt: String, Enabled: False, Training: False, LastLogin: 0001-01-01, Created: 0001-01-01, BranchId: 0, ParentBranchId: 0, MemberId: 0, Roles: [ String ], CoursesCompleted: 1, DisplayHomeNotification: False, TwoFactorEnabled: False, BranchName: String, BranchKey: 00000000000000000000000000000000, Notifications: False, PublishableKey: String, SecretKey: String, AppRegistrationId: 7TvtgFvdvABkciG+5MdrKWdOb3jcmCvVCNGhKIjNTe+m7Bzfn29HJBQlxJgcOSPZMoor8FZs6B61isHi+HE77Mp3emSFXE5in0JVmyRI7HI=, AppRegistrationLink: "https://secure.clubmanagercentral.com/Register?id=7TvtgFvdvABkciG+5MdrKWdOb3jcmCvVCNGhKIjNTe+m7Bzfn29HJBQlxJgcOSPZMoor8FZs6B61isHi+HE77Mp3emSFXE5in0JVmyRI7HI=", ChangePassword: 0001-01-01, Activated: 0001-01-01 }