GET
/users/my-committee-users
curl \
-X GET swift.croissant-rouge.org.tn/api/v1/users/my-committee-users \
-H "Authorization: Bearer $ACCESS_TOKEN"
Response examples (200)
# Headers
Cross-Origin-Embedder-Policy: require-corp
Cross-Origin-Opener-Policy: same-origin
Cross-Origin-Resource-Policy: same-origin
Origin-Agent-Cluster: ?1
Referrer-Policy: no-referrer
Strict-Transport-Security: max-age=15552000; includeSubDomains
X-Content-Type-Options: nosniff
X-DNS-Prefetch-Control: off
X-Download-Options: noopen
X-Frame-Options: SAMEORIGIN
X-Permitted-Cross-Domain-Policies: none
X-XSS-Protection: 0
Access-Control-Allow-Origin: *
Access-Control-Allow-Credentials: true
Retry-After: 242.349
X-RateLimit-Limit: 100
X-RateLimit-Remaining: 92
X-RateLimit-Reset: Fri Oct 06 2023 02:49:03 GMT+0100 (Central European Standard Time)
x-powered-by: TUNISIAN RED CRESSCENT
Content-Type: application/json; charset=utf-8
Content-Length: 3259
ETag: W/"cbb-0meJcJQ3QVJoRwYbxN/auWRSkzY"
Date: Fri, 06 Oct 2023 01:45:02 GMT
Connection: keep-alive
Keep-Alive: timeout=5
# Payload
{
"code": 200,
"users": [
{
"userID": "57dd5610-5896-4cf3-9f58-2e7e77feb888",
"name": "Mohamed Hassen",
"lastName": "JAHHA",
"email": "mohamedhassen.jahha@assistdigital.com",
"DoC": "2023-04-17T07:46:10.000Z",
"avatar": "/media/2bc45102-9487-4e87-8dd6-87f03e34752c.png",
"phoneCode": "216",
"phone": "58076667",
"isActive": true,
"isVerified": true,
"profile": "AL",
"role": null,
"lastActive": "2023-10-06T01:45:01.975Z",
"isOtpEnabled": false,
"isOtpVerified": true,
"committeeID": "af7c1fe6-d669-414e-b066-e9733f0de7a8",
"Committee": {
"committeeID": "af7c1fe6-d669-414e-b066-e9733f0de7a8",
"nameArabe": "الهيئة المركزية",
"type": "NAT",
"nameLatin": "Comité central",
"dateOfEst": "1956-11-07T00:00:00.000Z",
"VAT": "33049Y/N/P/N/000",
"address": "19, Rue d'Angleterre",
"region": "Tunis",
"city": "Tunis",
"postalCode": 1000,
"isActive": true,
"primaryEmail": "contact@croissant-rouge.tn",
"secondaryEmail": null,
"primaryPhone": "+21671325572",
"secondaryPhone": "+21671320630"
},
"LoginActivity": [
{
"loginActivityID": 1,
"userID": "57dd5610-5896-4cf3-9f58-2e7e77feb888",
"ip": ":1",
"continent": null,
"countryCode": null,
"browser": "Other",
"os": "Other",
"device": "Other",
"lat": null,
"lon": null,
"country": null,
"city": null,
"region": null,
"isp": null,
"createdAt": "2023-10-04T05:03:20.399Z"
},
{
"loginActivityID": 2,
"userID": "57dd5610-5896-4cf3-9f58-2e7e77feb888",
"ip": ":1",
"continent": null,
"countryCode": null,
"browser": "Other",
"os": "Other",
"device": "Other",
"lat": null,
"lon": null,
"country": null,
"city": null,
"region": null,
"isp": null,
"createdAt": "2023-10-04T05:05:23.254Z"
},
{
"loginActivityID": 3,
"userID": "57dd5610-5896-4cf3-9f58-2e7e77feb888",
"ip": ":1",
"continent": null,
"countryCode": null,
"browser": "Other",
"os": "Other",
"device": "Other",
"lat": null,
"lon": null,
"country": null,
"city": null,
"region": null,
"isp": null,
"createdAt": "2023-10-04T05:11:10.348Z"
},
{
"loginActivityID": 4,
"userID": "57dd5610-5896-4cf3-9f58-2e7e77feb888",
"ip": ":1",
"continent": null,
"countryCode": null,
"browser": "Other",
"os": "Other",
"device": "Other",
"lat": null,
"lon": null,
"country": null,
"city": null,
"region": null,
"isp": null,
"createdAt": "2023-10-04T05:11:13.609Z"
},
{
"loginActivityID": 5,
"userID": "57dd5610-5896-4cf3-9f58-2e7e77feb888",
"ip": ":1",
"continent": null,
"countryCode": null,
"browser": "Other",
"os": "Other",
"device": "Other",
"lat": null,
"lon": null,
"country": null,
"city": null,
"region": null,
"isp": null,
"createdAt": "2023-10-04T05:12:14.383Z"
}
]
},
{
"userID": "c558a80a-f319-4c10-95d4-4282ef745b4b",
"name": "ADMIN",
"lastName": "INTRANET",
"email": "admin@croissant-rouge.org.tn",
"DoC": "2023-04-30T23:00:00.000Z",
"avatar": "/media/27901bbd-b816-4af1-9c54-2ee3fb952a72.png",
"phoneCode": "216",
"phone": "58076667",
"isActive": true,
"isVerified": true,
"profile": "AN",
"role": "ADMIN",
"lastActive": "2023-07-06T02:51:02.000Z",
"isOtpEnabled": false,
"isOtpVerified": true,
"committeeID": "af7c1fe6-d669-414e-b066-e9733f0de7a8",
"Committee": {
"committeeID": "af7c1fe6-d669-414e-b066-e9733f0de7a8",
"nameArabe": "الهيئة المركزية",
"type": "NAT",
"nameLatin": "Comité central",
"dateOfEst": "1956-11-07T00:00:00.000Z",
"VAT": "33049Y/N/P/N/000",
"address": "19, Rue d'Angleterre",
"region": "Tunis",
"city": "Tunis",
"postalCode": 1000,
"isActive": true,
"primaryEmail": "contact@croissant-rouge.tn",
"secondaryEmail": null,
"primaryPhone": "+21671325572",
"secondaryPhone": "+21671320630"
},
"LoginActivity": []
}
]
}
Response examples (200)
# Headers
Cross-Origin-Embedder-Policy: require-corp
Cross-Origin-Opener-Policy: same-origin
Cross-Origin-Resource-Policy: same-origin
Origin-Agent-Cluster: ?1
Referrer-Policy: no-referrer
Strict-Transport-Security: max-age=15552000; includeSubDomains
X-Content-Type-Options: nosniff
X-DNS-Prefetch-Control: off
X-Download-Options: noopen
X-Frame-Options: SAMEORIGIN
X-Permitted-Cross-Domain-Policies: none
X-XSS-Protection: 0
Access-Control-Allow-Origin: *
Access-Control-Allow-Credentials: true
Retry-After: 242.349
X-RateLimit-Limit: 100
X-RateLimit-Remaining: 92
X-RateLimit-Reset: Fri Oct 06 2023 02:49:03 GMT+0100 (Central European Standard Time)
x-powered-by: TUNISIAN RED CRESSCENT
Content-Type: application/json; charset=utf-8
Content-Length: 3259
ETag: W/"cbb-0meJcJQ3QVJoRwYbxN/auWRSkzY"
Date: Fri, 06 Oct 2023 01:45:02 GMT
Connection: keep-alive
Keep-Alive: timeout=5
# Payload
{}