All Verbs | /service/LockUser | ||
---|---|---|---|
All Verbs | /service/LockUser/{Id} |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
Id | path | int | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
ContactId | form | string | No | |
RetailerId | form | string | No | |
SalesRepId | form | string | No | |
AspMembershipId | form | Guid | No | |
Meta | form | Dictionary<string, string> | No | |
Tags | form | Dictionary<string, HashSet<String>> | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
Shard | form | string | No | |
form | string | No | ||
UserName | form | string | No | |
Meta | form | Dictionary<string, string> | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
Id | form | int | No | |
UserName | form | string | No | |
form | string | No | ||
PrimaryEmail | form | string | No | |
PhoneNumber | form | string | No | |
FirstName | form | string | No | |
LastName | form | string | No | |
DisplayName | form | string | No | |
Company | form | string | No | |
BirthDate | form | DateTime? | No | |
BirthDateRaw | form | string | No | |
Address | form | string | No | |
Address2 | form | string | No | |
City | form | string | No | |
State | form | string | No | |
Country | form | string | No | |
Culture | form | string | No | |
FullName | form | string | No | |
Gender | form | string | No | |
Language | form | string | No | |
MailAddress | form | string | No | |
Nickname | form | string | No | |
PostalCode | form | string | No | |
TimeZone | form | string | No | |
Salt | form | string | No | |
PasswordHash | form | string | No | |
DigestHa1Hash | form | string | No | |
Roles | form | List<string> | No | |
Permissions | form | List<string> | No | |
CreatedDate | form | DateTime | No | |
ModifiedDate | form | DateTime | No | |
InvalidLoginAttempts | form | int | No | |
LastLoginAttempt | form | DateTime? | No | |
LockedDate | form | DateTime? | No | |
RecoveryToken | form | string | No | |
RefId | form | int? | No | |
RefIdStr | form | string | No | |
Meta | form | Dictionary<string, string> | 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
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
POST /service/LockUser HTTP/1.1
Host: www.bernhardthospitality.com
Accept: application/json
Content-Type: application/json
Content-Length: length
{"id":0}
HTTP/1.1 200 OK Content-Type: application/json Content-Length: length {"contactId":"String","retailerId":"String","salesRepId":"String","meta":{"String":"String","Tags":"{String:[String]}"},"tags":{"String":["String"]},"shard":"String","email":"String","userName":"String","id":0,"primaryEmail":"String","phoneNumber":"String","firstName":"String","lastName":"String","displayName":"String","company":"String","birthDate":"0001-01-01T00:00:00.0000000Z","birthDateRaw":"String","address":"String","address2":"String","city":"String","state":"String","country":"String","culture":"String","fullName":"String","gender":"String","language":"String","mailAddress":"String","nickname":"String","postalCode":"String","timeZone":"String","salt":"String","passwordHash":"String","digestHa1Hash":"String","roles":["String"],"permissions":["String"],"createdDate":"0001-01-01T00:00:00.0000000Z","modifiedDate":"0001-01-01T00:00:00.0000000Z","invalidLoginAttempts":0,"lastLoginAttempt":"0001-01-01T00:00:00.0000000Z","lockedDate":"0001-01-01T00:00:00.0000000Z","recoveryToken":"String","refId":0,"refIdStr":"String"}