| POST,GET | /api/Security/GetUserByBranch |
|---|
| 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 | |
| AppQrImageLink | form | string | No | |
| ChangePassword | form | DateTime? | No | |
| Activated | form | DateTime? | No |
| Name | Value | |
|---|---|---|
| AddMember | 1 | |
| EditMember | 2 | |
| AddMembership | 4 | |
| Journal | 8 | |
| Home | 16 | |
| Till | 32 | |
| Accounting | 64 | |
| UnexplainedPayments | 128 | |
| Bookings | 256 | |
| Users | 512 |
To override the Content-type in your clients, use the HTTP Accept Header, append the .csv suffix or ?format=csv
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
POST /api/Security/GetUserByBranch HTTP/1.1
Host: api.clubmanagercentral.com
Accept: text/csv
Content-Type: text/csv
Content-Length: length
{}
HTTP/1.1 200 OK
Content-Type: text/csv
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-01T00:00:00.0000000","Created":"0001-01-01T00:00:00.0000000","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+5MdrKWdOb3jcmCvVCNGhKIjNTe9owUJiS+DVBoBD9FvBgd+a7RymZvUfqARNrUzdJjOHohAtWV1VIcJJL+qOcJsGOr4=","AppRegistrationLink":"https://secure.clubmanagercentral.com/Register?id=7TvtgFvdvABkciG+5MdrKWdOb3jcmCvVCNGhKIjNTe9owUJiS+DVBoBD9FvBgd+a7RymZvUfqARNrUzdJjOHohAtWV1VIcJJL+qOcJsGOr4=","AppQrImageLink":"https://secure.clubmanagercentral.com/User.mvc/GetQrByUserId?id=36xZln01EfE80ZF7GFWKkg==","ChangePassword":"0001-01-01T00:00:00.0000000","Activated":"0001-01-01T00:00:00.0000000"}