Here are the 2 users I created for test:
This one using a SCIM POST request:
```
dn: inum=@!D049.06C1.EB6E.23F3!0001!A5E7.9654!0000!403C.3D16.4640.5955,ou=people,o=@!D049.06C1.EB6E.23F3!0001!A5E7.9654,o=gluu
objectClass: top
objectClass: gluuPerson
objectClass: gluuCustomPerson
oxTrustMetaLocation: /scim/v2/Users/@!D049.06C1.EB6E.23F3!0001!A5E7.9654!0000!403C.3D16.4640.5955
mail: test@from.scim
oxCreationTimestamp: 20180312151550.385Z
preferredLanguage: fr-fr
o: 123456789
oxTrustMetaLastModified: 2018-03-12T15:15:50.383Z
givenName: Test
oxTrustActive: true
emailVerified: 0
oxTrustMetaCreated: 2018-03-12T15:15:50.383Z
inum: @!D049.06C1.EB6E.23F3!0001!A5E7.9654!0000!403C.3D16.4640.5955
iname: *person*test@from.scim
oxTrustEmail: {"operation":null,"value":"test@from.scim","display":null,"primary":true,"reference":null,"type":"work"}
oxTrustExternalId: a06fa068-e9dd-409a-80e0-b4650d28d0bc
displayName: Test FromSCIM
oxTrustRole: {"operation":null,"value":"ROLE_USER","display":null,"primary":false,"type":null}
gluuStatus: active
sn: FromSCIM
cn: Test FromSCIM
locale: fr_FR
zoneinfo: Europe/Paris
userPassword: {SSHA512}*****
uid: test@from.scim
```
This one using oxTrust:
```
dn: inum=@!D049.06C1.EB6E.23F3!0001!A5E7.9654!0000!D95D.63FC.9E02.3234,ou=people,o=@!D049.06C1.EB6E.23F3!0001!A5E7.9654,o=gluu
objectClass: eduPerson
objectClass: gluuPerson
objectClass: top
objectClass: gluuCustomPerson
mail: test@from.ui
oxCreationTimestamp: 20180312152053.259Z
givenName: Test
inum: @!D049.06C1.EB6E.23F3!0001!A5E7.9654!0000!D95D.63FC.9E02.3234
iname: *person*test@from.ui
oxTrustEmail: {"operation":null,"value":"test@from.ui","display":"test@from.ui","primary":true,"reference":null,"type":"other"}
displayName: Test FromUI
role: ROLE_USER
gluuStatus: active
sn: FromUI
cn: Test FromUI
userPassword: {SSHA512}*****
uid: test@from.ui
```
And here, the SCIM GET response:
```json
{
"totalResults": 2,
"itemsPerPage": 2,
"startIndex": 1,
"schemas": [
"urn:ietf:params:scim:api:messages:2.0:ListResponse"
],
"Resources": [
{
"id": "@!D049.06C1.EB6E.23F3!0001!A5E7.9654!0000!403C.3D16.4640.5955",
"externalId": "a06fa068-e9dd-409a-80e0-b4650d28d0bc",
"meta": {
"created": "2018-03-12T15:15:50.383Z",
"lastModified": "2018-03-12T15:15:50.383Z",
"location": "https://*****/identity/restv1/scim/v2/Users/@!D049.06C1.EB6E.23F3!0001!A5E7.9654!0000!403C.3D16.4640.5955",
"version": null,
"resourceType": "User"
},
"schemas": [
"urn:ietf:params:scim:schemas:extension:gluu:2.0:User",
"urn:ietf:params:scim:schemas:core:2.0:User"
],
"userName": "test@from.scim",
"name": {
"formatted": "Test FromSCIM",
"familyName": "FromSCIM",
"givenName": "Test",
"middleName": null,
"honorificPrefix": null,
"honorificSuffix": null
},
"displayName": "Test FromSCIM",
"nickName": null,
"profileUrl": null,
"title": null,
"userType": null,
"preferredLanguage": "fr-fr",
"locale": "fr_FR",
"timezone": "Europe/Paris",
"active": true,
"password": "Hidden for Privacy Reasons",
"emails": [
{
"operation": null,
"value": "test@from.scim",
"display": null,
"primary": true,
"reference": null,
"type": "work"
}
],
"phoneNumbers": [],
"ims": [],
"photos": [],
"addresses": [],
"groups": [],
"entitlements": [],
"roles": [
{
"operation": null,
"value": "ROLE_USER",
"display": null,
"primary": false,
"type": null
}
],
"pairwiseIdentitifers": [],
"x509Certificates": [],
"urn:ietf:params:scim:schemas:extension:gluu:2.0:User": {
"emailVerified": "0",
"o": "123456789"
}
},
{
"id": "@!D049.06C1.EB6E.23F3!0001!A5E7.9654!0000!D95D.63FC.9E02.3234",
"externalId": null,
"meta": {
"created": null,
"lastModified": null,
"location": "https://*****/identity/restv1/scim/v2/Users/@!D049.06C1.EB6E.23F3!0001!A5E7.9654!0000!D95D.63FC.9E02.3234",
"version": null,
"resourceType": "User"
},
"schemas": [
"urn:ietf:params:scim:schemas:core:2.0:User"
],
"userName": "test@from.ui",
"name": {
"formatted": "Test FromUI",
"familyName": "FromUI",
"givenName": "Test",
"middleName": null,
"honorificPrefix": null,
"honorificSuffix": null
},
"displayName": "Test FromUi",
"nickName": null,
"profileUrl": null,
"title": null,
"userType": null,
"preferredLanguage": null,
"locale": null,
"timezone": null,
"active": null,
"password": "Hidden for Privacy Reasons",
"emails": [
{
"operation": null,
"value": "test@from.ui",
"display": "test@from.ui",
"primary": true,
"reference": null,
"type": "other"
}
],
"phoneNumbers": [],
"ims": [],
"photos": [],
"addresses": [],
"groups": [],
"entitlements": [],
"roles": [],
"pairwiseIdentitifers": [],
"x509Certificates": []
}
]
}
```