GET | /users/me | Gets all the data from the current user |
---|
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
Customers | form | List<UserCustomer> | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
Id | form | Guid | No | |
UserName | form | string | No | |
FirstName | form | string | No | |
LastName | form | string | No | |
Alias | form | string | No | |
EmailAddress | form | string | No | |
City | form | string | No | |
StateCode | form | string | No | |
Address1 | form | string | No | |
Address2 | form | string | No | |
GroupId | form | Guid | No | |
IsActive | form | bool | No | |
IsInternal | form | bool | No | |
LanguageCode | form | string | No | |
MobilePhone | form | string | No | |
Phone | form | string | No | |
TimeZone | form | string | No | |
Zip | form | string | No | |
Status | form | int | No | |
HomePageId | form | int? | No | |
GroupPermissions | form | List<string> | No | |
MobileAppsAllowed | form | bool | No | |
CanUseMIMS | form | bool | No | |
ApiTokenId | form | Guid | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
Id | form | Guid | No | |
Name | form | string | No | |
Code | form | string | No | |
IsActive | form | bool | No | |
UsePreventRelease | form | bool | No | |
PreventReleasePrompt | form | string | No | |
PreventReleaseReason | form | string | No | |
AllowPaymentDuringTow | form | string | No | |
PaymentRule | form | int | No | |
ParkingviewSubDomain | form | string | No | |
ParkingviewClientSubDomain | form | string | No | |
AllowsMandatoryAssistedRelease | form | bool | No | |
HotlistVehicleDebtDetail | form | bool | No | |
HotlistVehicleDebtSummary | form | bool | No | |
AssistingReleaseAvailability | form | string | No | |
Attributes | form | IEnumerable<Municipality_Attribute> | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
Municipality_Attributes_Id | form | Guid | No | |
Municipality_Id | form | Guid | No | |
Att_Name | form | string | No | |
Att_Value | form | string | No | |
Att_Description | form | string | 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.
GET /users/me HTTP/1.1 Host: api.paylock.com Accept: text/jsv
HTTP/1.1 200 OK Content-Type: text/jsv Content-Length: length { customers: [ { name: String, code: String, isActive: False, usePreventRelease: False, preventReleasePrompt: String, preventReleaseReason: String, allowPaymentDuringTow: String, paymentRule: 0, parkingviewSubDomain: String, parkingviewClientSubDomain: String, allowsMandatoryAssistedRelease: False, hotlistVehicleDebtDetail: False, hotlistVehicleDebtSummary: False, assistingReleaseAvailability: String } ], userName: String, firstName: String, lastName: String, alias: String, emailAddress: String, city: String, stateCode: String, address1: String, address2: String, isActive: False, isInternal: False, languageCode: String, mobilePhone: String, phone: String, timeZone: String, zip: String, status: 0, homePageId: 0, groupPermissions: [ String ], mobileAppsAllowed: False, canUseMIMS: False }