| 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 | |
| TowingFee | form | decimal | No | |
| ImpoundingFee | form | decimal | No | |
| TowDispatchFee | form | decimal | 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 .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.
GET /users/me HTTP/1.1 Host: api.paylock.com Accept: application/json
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: length
{"customers":[{"id":"00000000000000000000000000000000","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","towingFee":0,"impoundingFee":0,"towDispatchFee":0,"attributes":null}],"id":"00000000000000000000000000000000","userName":"String","firstName":"String","lastName":"String","alias":"String","emailAddress":"String","city":"String","stateCode":"String","address1":"String","address2":"String","groupId":"00000000000000000000000000000000","isActive":false,"isInternal":false,"languageCode":"String","mobilePhone":"String","phone":"String","timeZone":"String","zip":"String","status":0,"homePageId":0,"groupPermissions":["String"],"mobileAppsAllowed":false,"canUseMIMS":false,"apiTokenId":"00000000000000000000000000000000"}