Get Organization Count Based on User Role

02/11/2020 | Less than 1 minute to read

Info Note

API TYPE: GET
End Point: GET /org/{orgUuid}/user-role/{roleName}/count
Description: Get Organization Count Based on User Role

Request (Get Organization Count Based on User Role)

02/11/2020 | 2 minutes to read


Parameters
orgUuid, roleName
Parameter Value Description DataType
orgUuid required UUID Format String
roleName required String String

Response (Get Organization Count Based on User Role)

02/11/2020 | Less than 1 minute to read



{
  "data": [
    {}
  ],
  "metadata": {
    "fileCodeUuid": "string",
    "orgUuid": "string",
    "userUuid": "string"
  },
  "statusCode": "OK"
}

ErrorCode (Get Organization Count Based on User Role)

02/11/2020 | 3 minutes to read

HTTP Status Code Reason Response Model Headers
200 We received the request and created Successfully    
200 CCP-HTTP-017 | Invalid UUID Identifier    
400 CCP-HTTP-003 | Request method not supported    
401 You are not authorized to view the resource    
403 Accessing the resource you were trying to reach is forbidden    
404 The resource you were trying to reach is not found    

©2024 Developer.CSensorNet.com. All rights reserved | Powered by www.clovity.com