Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Operation

Returns a list of all the User by chain.

Style
table {
width: 100%;
}
body.page-gadget {
padding-top: 20px;
}
.separator{
margin: 5px 0;
}



Div
style background-color: green; color: white; display: inline-block; padding: 5px; border-radius: 3px;

GET



Div
stylebackground-color: #0a2b1d; padding: 10px 1em; display: inline-block; color: white; border-radius: 3px;

http://{urlName}/tesiproPMS/api/{version}/chain/{chainId}/user



Request

PropertyTypeRequiredDefault valueDescription
chainIdIntegertrue
The id of the chain. This parameter will be in the URL. Path parameter.
statusIntegerfalse
Filter by StatusCode
excludeByPropertyIdIntegerfalse
Filter by PropertyId.
searchStringfalse
Search by username
offsetIntegerfalse0The offset of the list of results
limitIntegerfalse10The limit amount of the list of results
sortStringfalseIdField of User to sort by.
sortModeStringfalseAscMode of sorting: asc, desc..


Example request

Code Block
languagepowershell
themeDJango
GET http://81.184.0.161:9696/tesiproPMS/api/v1/chain/1/user



Response

PropertyTypeRequiredDescription
PagePagetrueDescription of the response of the success operation

Entity



Example response

Code Block
themeDJango
{
  "count": 46,
  "offset": 0,
  "limit": 10,
  "list": [
    {
      "id": 1,
      "createdDate": "2018-07-16T15:23:54.897Z",
      "modifiedDate": "2018-07-16T15:23:55.170Z",
      "createdUser": 0,
      "modifiedUser": 0,
      "chain": null,
      "userName": "TesiproUsername",
      "passwordLastChangeDate": 1531747435193,
      "email": "dusername@tesipro.martin@tesipro.com",
      "language": null,
      "statusCode": {
        "id": 1,
        "code": "1",
        "name": "Open",
        "colorCode": "#43a047",
        "nameI18n": "Open"
      },
      "userRoleSet": null,
      "userPropertySet": null,
      "gridColumnUserSet": null,
      "dashboardSet": null,
      "userPreferenceSet": null,
      "dateFormatType": null,
      "timeFormatType": null,
      "dayOfWeek": null
    },
    {
      "id": 2,
      "createdDate": "2018-07-16T15:23:55.223Z",
      "modifiedDate": "2018-07-16T15:23:55.420Z",
      "createdUser": 0,
      "modifiedUser": 0,
      "chain": null,
      "userName": "TesiproESusername2",
      "passwordLastChangeDate": 1531747435420,
      "email": "d.martin@tesiprousername2@tesipro.com",
      "language": null,
      "statusCode": {
        "id": 1,
        "code": "1",
        "name": "Open",
        "colorCode": "#43a047",
        "nameI18n": "Open"
      },
      "userRoleSet": null,
      "userPropertySet": null,
      "gridColumnUserSet": null,
      "dashboardSet": null,
      "userPreferenceSet": null,
      "dateFormatType": null,
      "timeFormatType": null,
      "dayOfWeek": null
    }
]}