UserRole

Structure

FieldTypeRequiredDescription
idinttrueUnique identifier for the relation.
userUsertrueUser for the relation
roleRoletrueRole for the relation

JSON representation

{
    "id": 1,
	"createdDate": "2018-07-16T09:08:03.320Z",
	"modifiedDate": "2018-07-16T09:08:03.320Z",
	"createdUser": 0,
	"modifiedUser": 0,
	"role": {
		"id": 1,
		"createdDate": "2018-07-16T09:07:58.057Z",
		"modifiedDate": "2018-07-16T09:07:58.050Z",
		"createdUser": 0,
		"modifiedUser": 0,
		"code": "ADM",
		"name": "Administrator",
		"userRoleSet": null,
		"rolePermissionTypeSet": null
	},
	"user": {
		"id": 1,
		"createdDate": "2018-07-16T09:08:00.150Z",
		"modifiedDate": "2018-07-16T09:08:00.437Z",
		"createdUser": 0,
		"modifiedUser": 0,
		"chain": null,
		"userName": "Tesipro",
		"passwordLastChangeDate": 1531724880460,
		"email": "d.martin@tesipro.com",
		"language": {
			"id": 2,
			"codeISO6391": "EN",
			"name": "English",
			"nativeName": "English"
		},
		"statusCode": {
			"id": 1,
			"code": "1",
			"name": "Open",
			"colorCode": "#43a047",
			"nameI18n": "Open"
		},
		"userRoleSet": null,
		"userPropertySet": null,
		"gridColumnUserSet": null,
		"dashboardSet": null,
		"userPreferenceSet": null,
		"dateFormatType": {
			"id": 1,
			"code": "dd/MM/aaaa",
			"name": "dd/MM/aaaa",
			"pattern": "DD/MM/YYYY",
			"nameI18n": "Dd/Mm/Yyyy"
		},
		"timeFormatType": {
			"id": 1,
			"code": "HH:mm:ss 24h",
			"name": "HH:mm:ss",
			"pattern": "HH:mm:ss",
			"nameI18n": "Hh:Mm:Ss"
		},
		"dayOfWeek": {
			"id": 1,
			"code": "Sun",
			"name": "Sunday",
			"nameI18n": "Sunday"
		}
	}
}