Virima API



Home
Commons
Constructs
Error Codes
Tester


SERVICES
CertificateManagementService
AgentResourceMonitor
AndroidService
AnnouncementService
AssetLicenseEntitlementService
ConsumableService
HardwareAssetService
OtherAssetService
SoftwareLicenseAssetService
StockRoomService
StockRoomTypeService
UserLicenseEntitlementService
AuditRecordService
BSMService
AvailabilityService
CommitmentScheduleService
OutagesService
OutScopeService
BusinessService
ServiceCommitment
ServiceOffering
InScopeService
ChangeAttributeService
ChangeApprovalServices
CherwellIntegrationService
CmdbAuditService
CMDBCIRelationship
CMDBCIVersion
CMDBCIService
CommentService
CommonService
ConfigurationServices
ContractService
CorrelationService
CostCenterService
CredentialService
CustomerService
CustomizedColumnsService
CyberArkService
DemandService
DesignationService
DevOpsService
DiscoveryService
DiscoveryMonitoringProfileService
DiscoveryClientService
DiscoveryPattern
DiscoveryScanService
DiscoveryScanSplitService
Document
DuplicatesAndRemediation
EMEmailService
EventService
ExternalAlertService
FederationService
FileService
FinanceService
GetRecordService
GroupProbeService
HelpDeskDashboardService
HomePageService
ImportCIService
ImportITILService
IncidentService
PriorityService
TimescaleService
IncidentAttributeService
InfoBloxService
AssetsAuditService
ITILMetricService
ITSMChangeService
ITSMTicketMgtService
IvantiIntegrationService
JiraIntegrationService
KnowledgeAttributeService
KnowledgeManagementService
LocationService
LoginService
MajorSoftwareService
MFAService
MMCCertificateService
OwnerService
PreprocessorService
PurchaseOrderService
PurchaseOrderLineItemService
ReceivingSlipService
ReceivingSlipsLineService
RequestItemService
RequestProcurementService
TransferOrderService
ProbeService
ProblemService
ProblemAttributeService
ProcessNetworkConnections
ProcessjobsService
ProgramService
ProjectService
PropertyGroupService
ReleaseManagementService
ReportDashBoardService
ReportingService
ReportingClauseService
ReportingOrderService
ReportPresentationService
RequestService
RequestAttributeService
AssessmentMasterAndQuestionService
RiskMangaementService
RoleAccessService
RuleService
RunBookService
SAMLService
SampleService
ScanService
SDPService
SearchService
SensorService
ServiceCatalog
ServiceNowMappingService
ServiceNowRecordService
SLAService
SoftwareMetricsService
ImportSpiceWorkTicketsService
SurveyMastersAndQuestions
TagService
TaskService
TaskTimeTrackingService
TimeTrackingExportService
TimeTrackingService
UCFADService
UnfuddleService
UserDepartmentService
UserGroupService
UserRoleService
UserService
VCenterHeirarchyService
VCenterTagsService
VendorService
WorkflowService
MenuService

Virima API Specification - UserService Services

The requests documented in this section are directed to UserService resources, which represent User login, logout,createAccount and gets loggedin user -- as called by a partner or directly by a webapp using the API..

Contents

editUser POST Interface

Method: POST

Relative URL: userservice/edit

Request Headers: Accept, Authorization

Response Headers: Content-Length, Content-Type.

Request Structure:

Field NameTypeDescription
userinfoUserInfo

Response Structure:

Field NameTypeDescription
responseResponse

Example Request:

EDITUSER 
Host: example.com
Authorization: Basic xxxxxxxxxxxxxxxxxxx
Content-Type : nnn
{
   "createdOn":?,
   "lastModifiedOn":?,
   "email":"?",
   "ldap":?,
   "ldapConfig": {
         "stringobj":"?",
         "shortName":"?",
         "s3Name":"?",
         "uniqueId":"?",
         "lineType":"?",
      },
   "ad":?,
   "adConfig": {
         "stringobj":"?",
         "shortName":"?",
         "s3Name":"?",
         "uniqueId":"?",
         "lineType":"?",
      },
   "azureAdAuthentication":?,
   "azureAdConfig": {
         "stringobj":"?",
         "shortName":"?",
         "s3Name":"?",
         "uniqueId":"?",
         "lineType":"?",
      },
   "isVIP":?,
   "clientUser":?,
   "online":?,
   "password":"?",
   "userName":"?",
   "firstName":"?",
   "lastName":"?",
   "displayName":"?",
   "address":"?",
   "allowAccess":?,
   "role":[
      {
         "stringobj":"?",
         "shortName":"?",
         "s3Name":"?",
         "uniqueId":"?",
         "lineType":"?",
      }   ],
   "department":[
      {
         "stringobj":"?",
         "shortName":"?",
         "s3Name":"?",
         "uniqueId":"?",
         "lineType":"?",
      }   ],
   "group":[
      {
         "stringobj":"?",
         "shortName":"?",
         "s3Name":"?",
         "uniqueId":"?",
         "lineType":"?",
      }   ],
   "location": {
         "stringobj":"?",
         "shortName":"?",
         "s3Name":"?",
         "uniqueId":"?",
         "lineType":"?",
      },
   "phone":"?",
   "archive":?,
   "lastModifiedBy": {
         "stringobj":"?",
         "shortName":"?",
         "s3Name":"?",
         "uniqueId":"?",
         "lineType":"?",
      },
   "createdBy": {
         "stringobj":"?",
         "shortName":"?",
         "s3Name":"?",
         "uniqueId":"?",
         "lineType":"?",
      },
   "uniqueId":"?",
   "reportTo": {
         "stringobj":"?",
         "shortName":"?",
         "s3Name":"?",
         "uniqueId":"?",
         "lineType":"?",
      },
   "designation": {
         "stringobj":"?",
         "shortName":"?",
         "s3Name":"?",
         "uniqueId":"?",
         "lineType":"?",
      },
   "landingPage": {
         "stringobj":"?",
         "shortName":"?",
         "s3Name":"?",
         "uniqueId":"?",
         "lineType":"?",
      },
   "language":"?",
   "isVendor":?,
   "samlAuthentication":?,
   "samlConfig": {
         "stringobj":"?",
         "shortName":"?",
         "s3Name":"?",
         "uniqueId":"?",
         "lineType":"?",
      },
   "normalAuthentication":?,
   "driveId":"?",
   "superAdmin":?,
   "customerList":[
      {
         "stringobj":"?",
         "shortName":"?",
         "s3Name":"?",
         "uniqueId":"?",
         "lineType":"?",
      }   ],
   "enableMFA":?,
   "twoFactorSecretKey":"?",
   "mfaType":"?",
   "isImport":?
}

Example Response:

{
   "id":2147483647,
   "response":"?"
}

setEmailPreference POST Interface

Method: POST

Relative URL: userservice/set-email-preferenece

Request Headers: Accept, Authorization

Response Headers: Content-Length, Content-Type.

Request Structure:

Field NameTypeDescription
preferncelistArrayOfPreference

Response Structure:

Field NameTypeDescription
responseResponse

Example Request:

SETEMAILPREFERENCE 
Host: example.com
Authorization: Basic xxxxxxxxxxxxxxxxxxx
Content-Type : nnn
{
   "preference":[
      {
         "entity":"?",
         "isNotify":?
      }   ]
}

Example Response:

{
   "id":2147483647,
   "response":"?"
}

getEmailPreferenceEntity GET Interface

Method: GET

Relative URL: userservice/get-email-preferenece-entities/user-id

Request Headers: Accept, Authorization

Response Headers: Content-Length, Content-Type.

Response Structure:

Field NameTypeDescription
responseResponse

Example Request:

Example Response:

{
   "id":2147483647,
   "response":"?"
}

getAllUser GET Interface

getAllUser Service (GET) is called when a partner, or the application is trying to get all user associated with loggedin customer id.

  • Kills an active session

Method: GET

Relative URL: userservice/getalluser

Request Headers: Accept, Authorization

Response Headers: Content-Length, Content-Type.

Response Structure:

Field NameTypeDescription
userListValueList

Example Request:

Example Response:

{
   "id":2147483647,
   "StringList":[
      {
         "id":2147483647,
         "stringobj":"?",
         "shortName":"?",
         "s3Name":"?",
         "uniqueId":"?",
         "lineType":"?",
      }   ],
   "projectList":[
      {
         "id":2147483647,
         "name":"?",
         "description":?,
         "plannedStart":?,
         "plannedEnd":?,
         "actualStart":?,
         "actualEnd":?,
         "baselineStart":?,
         "baselineEnd":?,
         "status":"?",
         "billingCode":"?",
         "costCenter": {
               "id":2147483647,
               "stringobj":"?",
               "shortName":"?",
               "s3Name":"?",
               "uniqueId":"?",
               "lineType":"?",
            },
         "percentageComplete":?,
         "duration":?,
         "archive":?,
         "projectManager": {
               "id":2147483647,
               "stringobj":"?",
               "shortName":"?",
               "s3Name":"?",
               "uniqueId":"?",
               "lineType":"?",
            },
         "isTemplate":?,
         "templateName":"?",
         "createdFromTemplate":?,
         "createdFromTemplateName":"?",
         "validationError":?,
         "programs":[
            {
               "id":2147483647,
               "stringobj":"?",
               "shortName":"?",
               "s3Name":"?",
               "uniqueId":"?",
               "lineType":"?",
            }         ],
         "associatedCis":[
            {
               "id":2147483647,
               "stringobj":"?",
               "shortName":"?",
               "s3Name":"?",
               "uniqueId":"?",
               "lineType":"?",
            }         ],
         "lastModifiedBy": {
               "id":2147483647,
               "stringobj":"?",
               "shortName":"?",
               "s3Name":"?",
               "uniqueId":"?",
               "lineType":"?",
            },
         "createdBy": {
               "id":2147483647,
               "stringobj":"?",
               "shortName":"?",
               "s3Name":"?",
               "uniqueId":"?",
               "lineType":"?",
            },
         "createdOn":?,
         "lastModifiedOn":?,
         "uniqueId":"?",
         "totalTimeSpent":?
      }   ]
}

getAllVendor GET Interface

getAllVendor Service (GET) is called when a partner, or the application is trying to get all user associated with loggedin customer id.

  • Kills an active session

Method: GET

Relative URL: userservice/getallvendor

Request Headers: Accept, Authorization

Response Headers: Content-Length, Content-Type.

Response Structure:

Field NameTypeDescription
vendorListValueList

Example Request:

Example Response:

{
   "id":2147483647,
   "StringList":[
      {
         "id":2147483647,
         "stringobj":"?",
         "shortName":"?",
         "s3Name":"?",
         "uniqueId":"?",
         "lineType":"?",
      }   ],
   "projectList":[
      {
         "id":2147483647,
         "name":"?",
         "description":?,
         "plannedStart":?,
         "plannedEnd":?,
         "actualStart":?,
         "actualEnd":?,
         "baselineStart":?,
         "baselineEnd":?,
         "status":"?",
         "billingCode":"?",
         "costCenter": {
               "id":1213676690,
               "stringobj":"?",
               "shortName":"?",
               "s3Name":"?",
               "uniqueId":"?",
               "lineType":"?",
            },
         "percentageComplete":?,
         "duration":?,
         "archive":?,
         "projectManager": {
               "id":2037024163,
               "stringobj":"?",
               "shortName":"?",
               "s3Name":"?",
               "uniqueId":"?",
               "lineType":"?",
            },
         "isTemplate":?,
         "templateName":"?",
         "createdFromTemplate":?,
         "createdFromTemplateName":"?",
         "validationError":?,
         "programs":[
            {
               "id":2147483647,
               "stringobj":"?",
               "shortName":"?",
               "s3Name":"?",
               "uniqueId":"?",
               "lineType":"?",
            }         ],
         "associatedCis":[
            {
               "id":1768537717,
               "stringobj":"?",
               "shortName":"?",
               "s3Name":"?",
               "uniqueId":"?",
               "lineType":"?",
            }         ],
         "lastModifiedBy": {
               "id":2147483647,
               "stringobj":"?",
               "shortName":"?",
               "s3Name":"?",
               "uniqueId":"?",
               "lineType":"?",
            },
         "createdBy": {
               "id":2147483647,
               "stringobj":"?",
               "shortName":"?",
               "s3Name":"?",
               "uniqueId":"?",
               "lineType":"?",
            },
         "createdOn":?,
         "lastModifiedOn":?,
         "uniqueId":"?",
         "totalTimeSpent":?
      }   ]
}

getAllUserDetails POST Interface

Method: POST

Relative URL: userservice/get-all-user-details/page-number/number

Request Headers: Accept, Authorization

Response Headers: Content-Length, Content-Type.

Request Structure:

Field NameTypeDescription
filterInputFilterInput

Response Structure:

Field NameTypeDescription
arrayOfUserDetailsArrayOfUserDetails

Example Request:

GETALLUSERDETAILS 
Host: example.com
Authorization: Basic xxxxxxxxxxxxxxxxxxx
Content-Type : nnn
{
   "id":1208914583,
   "module":"?",
   "className":"?",
   "dbClassName":"?",
   "isDashboard":?,
   "snKey":"?",
   "snValue":"?",
   "mainTabSubListSubTab":"?",
   "importType":"?",
   "sort": {
         "id":10882313,
         "sortKey":"?",
         "sortOrder":"?",
         "propertyName":"?",
         "mapProperty":?
      },
   "filters":[
      {
         "id":2147483647,
         "display":"?",
         "filterKey":"?",
         "value1":"?",
         "value2":"?",
         "operator":"?",
         "dbPropertyType":"?",
         "mapProperty":?
      }   ]
}

Example Response:

{
   "id":2147483647,
   "totalResults":?,
   "filterRuleList":[
      {
         "id":2147483647,
         "filterKey":"?",
         "filterValue":"?",
         "operatorDisplayName":"?"
      }   ],
   "responseList":[
      {
         "id":2147483647,
         "createdOn":?,
         "lastModifiedOn":?,
         "email":"?",
         "ldap":?,
         "ldapConfig": {
               "id":2147483647,
               "stringobj":"?",
               "shortName":"?",
               "s3Name":"?",
               "uniqueId":"?",
               "lineType":"?",
            },
         "ad":?,
         "adConfig": {
               "id":2147483647,
               "stringobj":"?",
               "shortName":"?",
               "s3Name":"?",
               "uniqueId":"?",
               "lineType":"?",
            },
         "azureAdAuthentication":?,
         "azureAdConfig": {
               "id":2147483647,
               "stringobj":"?",
               "shortName":"?",
               "s3Name":"?",
               "uniqueId":"?",
               "lineType":"?",
            },
         "isVIP":?,
         "clientUser":?,
         "online":?,
         "password":"?",
         "userName":"?",
         "firstName":"?",
         "lastName":"?",
         "displayName":"?",
         "address":"?",
         "allowAccess":?,
         "role":[
            {
               "id":1556628580,
               "stringobj":"?",
               "shortName":"?",
               "s3Name":"?",
               "uniqueId":"?",
               "lineType":"?",
            }         ],
         "department":[
            {
               "id":1115542260,
               "stringobj":"?",
               "shortName":"?",
               "s3Name":"?",
               "uniqueId":"?",
               "lineType":"?",
            }         ],
         "group":[
            {
               "id":792196396,
               "stringobj":"?",
               "shortName":"?",
               "s3Name":"?",
               "uniqueId":"?",
               "lineType":"?",
            }         ],
         "location": {
               "id":2147483647,
               "stringobj":"?",
               "shortName":"?",
               "s3Name":"?",
               "uniqueId":"?",
               "lineType":"?",
            },
         "phone":"?",
         "archive":?,
         "lastModifiedBy": {
               "id":2147483647,
               "stringobj":"?",
               "shortName":"?",
               "s3Name":"?",
               "uniqueId":"?",
               "lineType":"?",
            },
         "createdBy": {
               "id":2147483647,
               "stringobj":"?",
               "shortName":"?",
               "s3Name":"?",
               "uniqueId":"?",
               "lineType":"?",
            },
         "uniqueId":"?",
         "reportTo": {
               "id":2147483647,
               "stringobj":"?",
               "shortName":"?",
               "s3Name":"?",
               "uniqueId":"?",
               "lineType":"?",
            },
         "designation": {
               "id":2147483647,
               "stringobj":"?",
               "shortName":"?",
               "s3Name":"?",
               "uniqueId":"?",
               "lineType":"?",
            },
         "landingPage": {
               "id":2147483647,
               "stringobj":"?",
               "shortName":"?",
               "s3Name":"?",
               "uniqueId":"?",
               "lineType":"?",
            },
         "language":"?",
         "isVendor":?,
         "samlAuthentication":?,
         "samlConfig": {
               "id":1589508994,
               "stringobj":"?",
               "shortName":"?",
               "s3Name":"?",
               "uniqueId":"?",
               "lineType":"?",
            },
         "normalAuthentication":?,
         "driveId":"?",
         "superAdmin":?,
         "customerList":[
            {
               "id":2062325736,
               "stringobj":"?",
               "shortName":"?",
               "s3Name":"?",
               "uniqueId":"?",
               "lineType":"?",
            }         ],
         "enableMFA":?,
         "twoFactorSecretKey":"?",
         "mfaType":"?",
         "isImport":?
      }   ]
}

getAllEntity GET Interface

Method: GET

Relative URL: userservice/get-all-entity

Request Headers: Accept, Authorization

Response Headers: Content-Length, Content-Type.

Response Structure:

Field NameTypeDescription
entityListArrayOfEntity

Example Request:

Example Response:

{
   "id":1118559927,
   "responseList":[
      {
         "id":250673362,
         "entityName":"?",
         "displayName":"?",
         "moduleName":"?"
      }   ]
}

addLDAPConfiguration POST Interface

Method: POST

Relative URL: userservice/add-ldap-configuration

Request Headers: Accept, Authorization

Response Headers: Content-Length, Content-Type.

Request Structure:

Field NameTypeDescription
detailLDAPPojo

Response Structure:

Field NameTypeDescription
responseResponse

Example Request:

ADDLDAPCONFIGURATION 
Host: example.com
Authorization: Basic xxxxxxxxxxxxxxxxxxx
Content-Type : nnn
{
   "name":"?",
   "host":"?",
   "domain":"?",
   "authenticationMethod":"?",
   "baseDN":"?",
   "bindDN":"?",
   "bindPassword":"?",
   "searchAttribute":"?",
   "clientId": {
         "stringobj":"?",
         "shortName":"?",
         "s3Name":"?",
         "uniqueId":"?",
         "lineType":"?",
      },
   "archive":?,
   "map":[
      {
         "name":"?",
         "mapName":"?",
         "map":?
      }   ],
   "isInitialImportDone":?,
   "importTriggeredAt":?,
   "importCompletedAt":?
}

Example Response:

{
   "id":2147483647,
   "response":"?"
}

authenticateLDAPConfiguration POST Interface

Method: POST

Relative URL: userservice/authenticate-ldap-configuration

Request Headers: Accept, Authorization

Response Headers: Content-Length, Content-Type.

Request Structure:

Field NameTypeDescription
detailLDAPPojo

Response Structure:

Field NameTypeDescription
responseResponse

Example Request:

AUTHENTICATELDAPCONFIGURATION 
Host: example.com
Authorization: Basic xxxxxxxxxxxxxxxxxxx
Content-Type : nnn
{
   "name":"?",
   "host":"?",
   "domain":"?",
   "authenticationMethod":"?",
   "baseDN":"?",
   "bindDN":"?",
   "bindPassword":"?",
   "searchAttribute":"?",
   "clientId": {
         "stringobj":"?",
         "shortName":"?",
         "s3Name":"?",
         "uniqueId":"?",
         "lineType":"?",
      },
   "archive":?,
   "map":[
      {
         "name":"?",
         "mapName":"?",
         "map":?
      }   ],
   "isInitialImportDone":?,
   "importTriggeredAt":?,
   "importCompletedAt":?
}

Example Response:

{
   "id":2147483647,
   "response":"?"
}

saveLDAPPropertyMapping POST Interface

Method: POST

Relative URL: userservice/save-ldap-property-mapping

Request Headers: Accept, Authorization

Response Headers: Content-Length, Content-Type.

Request Structure:

Field NameTypeDescription
detailLDAPPojo

Response Structure:

Field NameTypeDescription
responseResponse

Example Request:

SAVELDAPPROPERTYMAPPING 
Host: example.com
Authorization: Basic xxxxxxxxxxxxxxxxxxx
Content-Type : nnn
{
   "name":"?",
   "host":"?",
   "domain":"?",
   "authenticationMethod":"?",
   "baseDN":"?",
   "bindDN":"?",
   "bindPassword":"?",
   "searchAttribute":"?",
   "clientId": {
         "stringobj":"?",
         "shortName":"?",
         "s3Name":"?",
         "uniqueId":"?",
         "lineType":"?",
      },
   "archive":?,
   "map":[
      {
         "name":"?",
         "mapName":"?",
         "map":?
      }   ],
   "isInitialImportDone":?,
   "importTriggeredAt":?,
   "importCompletedAt":?
}

Example Response:

{
   "id":495090125,
   "response":"?"
}

getLDAPUserProperties GET Interface

Method: GET

Relative URL: userservice/get-ldap-user-properties/id

Request Headers: Accept, Authorization

Response Headers: Content-Length, Content-Type.

Response Structure:

Field NameTypeDescription
responseResponse

Example Request:

Example Response:

{
   "id":2147483647,
   "response":"?"
}

getLDAPConfiguration GET Interface

Method: GET

Relative URL: userservice/get-ldap-configuration

Request Headers: Accept, Authorization

Response Headers: Content-Length, Content-Type.

Response Structure:

Field NameTypeDescription
responseLDAPPojo

Example Request:

Example Response:

{
   "id":2147483647,
   "name":"?",
   "host":"?",
   "domain":"?",
   "authenticationMethod":"?",
   "baseDN":"?",
   "bindDN":"?",
   "bindPassword":"?",
   "searchAttribute":"?",
   "clientId": {
         "id":2147483647,
         "stringobj":"?",
         "shortName":"?",
         "s3Name":"?",
         "uniqueId":"?",
         "lineType":"?",
      },
   "archive":?,
   "map":[
      {
         "id":2147483647,
         "name":"?",
         "mapName":"?",
         "map":?
      }   ],
   "isInitialImportDone":?,
   "importTriggeredAt":?,
   "importCompletedAt":?
}

syncWithLDAP GET Interface

Method: GET

Relative URL: userservice/sync-with-ldap/id/type-of-import/ldap-import-is-acticve

Request Headers: Accept, Authorization

Response Headers: Content-Length, Content-Type.

Response Structure:

Field NameTypeDescription
responseResponse

Example Request:

Example Response:

{
   "id":2147483647,
   "response":"?"
}

testLDAPConnection GET Interface

Method: GET

Relative URL: userservice/test-ldap-connection/id

Request Headers: Accept, Authorization

Response Headers: Content-Length, Content-Type.

Response Structure:

Field NameTypeDescription
responseResponse

Example Request:

Example Response:

{
   "id":1488891846,
   "response":"?"
}

testAzureADConnection GET Interface

Method: GET

Relative URL: userservice/test-azure-ad-connection/id

Request Headers: Accept, Authorization

Response Headers: Content-Length, Content-Type.

Response Structure:

Field NameTypeDescription
responseResponse

Example Request:

Example Response:

{
   "id":2147483647,
   "response":"?"
}

addADConfiguration POST Interface

Method: POST

Relative URL: userservice/add-ad-configuration

Request Headers: Accept, Authorization

Response Headers: Content-Length, Content-Type.

Request Structure:

Field NameTypeDescription
detailLDAPPojo

Response Structure:

Field NameTypeDescription
responseResponse

Example Request:

ADDADCONFIGURATION 
Host: example.com
Authorization: Basic xxxxxxxxxxxxxxxxxxx
Content-Type : nnn
{
   "name":"?",
   "host":"?",
   "domain":"?",
   "authenticationMethod":"?",
   "baseDN":"?",
   "bindDN":"?",
   "bindPassword":"?",
   "searchAttribute":"?",
   "clientId": {
         "stringobj":"?",
         "shortName":"?",
         "s3Name":"?",
         "uniqueId":"?",
         "lineType":"?",
      },
   "archive":?,
   "map":[
      {
         "name":"?",
         "mapName":"?",
         "map":?
      }   ],
   "isInitialImportDone":?,
   "importTriggeredAt":?,
   "importCompletedAt":?
}

Example Response:

{
   "id":2147483647,
   "response":"?"
}

addADConfigurationForPrivateCon POST Interface

Method: POST

Relative URL: userservice/add-ad-configuration-for-private-con

Request Headers: Accept, Authorization

Response Headers: Content-Length, Content-Type.

Request Structure:

Field NameTypeDescription
detailLDAPPojo

Response Structure:

Field NameTypeDescription
responseResponse

Example Request:

ADDADCONFIGURATIONFORPRIVATECON 
Host: example.com
Authorization: Basic xxxxxxxxxxxxxxxxxxx
Content-Type : nnn
{
   "name":"?",
   "host":"?",
   "domain":"?",
   "authenticationMethod":"?",
   "baseDN":"?",
   "bindDN":"?",
   "bindPassword":"?",
   "searchAttribute":"?",
   "clientId": {
         "stringobj":"?",
         "shortName":"?",
         "s3Name":"?",
         "uniqueId":"?",
         "lineType":"?",
      },
   "archive":?,
   "map":[
      {
         "name":"?",
         "mapName":"?",
         "map":?
      }   ],
   "isInitialImportDone":?,
   "importTriggeredAt":?,
   "importCompletedAt":?
}

Example Response:

{
   "id":1510985638,
   "response":"?"
}

authenticateADConfigurationForPrivateCon POST Interface

Method: POST

Relative URL: userservice/authenticate-ad-configuration-for-private-con

Request Headers: Accept, Authorization

Response Headers: Content-Length, Content-Type.

Request Structure:

Field NameTypeDescription
detailLDAPPojo

Response Structure:

Field NameTypeDescription
responseResponse

Example Request:

AUTHENTICATEADCONFIGURATIONFORPRIVATECON 
Host: example.com
Authorization: Basic xxxxxxxxxxxxxxxxxxx
Content-Type : nnn
{
   "name":"?",
   "host":"?",
   "domain":"?",
   "authenticationMethod":"?",
   "baseDN":"?",
   "bindDN":"?",
   "bindPassword":"?",
   "searchAttribute":"?",
   "clientId": {
         "stringobj":"?",
         "shortName":"?",
         "s3Name":"?",
         "uniqueId":"?",
         "lineType":"?",
      },
   "archive":?,
   "map":[
      {
         "name":"?",
         "mapName":"?",
         "map":?
      }   ],
   "isInitialImportDone":?,
   "importTriggeredAt":?,
   "importCompletedAt":?
}

Example Response:

{
   "id":2147483647,
   "response":"?"
}

saveADPropertyMapping POST Interface

Method: POST

Relative URL: userservice/save-ad-property-mapping

Request Headers: Accept, Authorization

Response Headers: Content-Length, Content-Type.

Request Structure:

Field NameTypeDescription
detailLDAPPojo

Response Structure:

Field NameTypeDescription
responseResponse

Example Request:

SAVEADPROPERTYMAPPING 
Host: example.com
Authorization: Basic xxxxxxxxxxxxxxxxxxx
Content-Type : nnn
{
   "name":"?",
   "host":"?",
   "domain":"?",
   "authenticationMethod":"?",
   "baseDN":"?",
   "bindDN":"?",
   "bindPassword":"?",
   "searchAttribute":"?",
   "clientId": {
         "stringobj":"?",
         "shortName":"?",
         "s3Name":"?",
         "uniqueId":"?",
         "lineType":"?",
      },
   "archive":?,
   "map":[
      {
         "name":"?",
         "mapName":"?",
         "map":?
      }   ],
   "isInitialImportDone":?,
   "importTriggeredAt":?,
   "importCompletedAt":?
}

Example Response:

{
   "id":789179736,
   "response":"?"
}

getADUserProperties GET Interface

Method: GET

Relative URL: userservice/get-ad-user-properties/id

Request Headers: Accept, Authorization

Response Headers: Content-Length, Content-Type.

Response Structure:

Field NameTypeDescription
responseResponse

Example Request:

Example Response:

{
   "id":189231924,
   "response":"?"
}

getADUserPropertiesForPrivateCon GET Interface

Method: GET

Relative URL: userservice/get-ad-user-properties-for-private-con/id

Request Headers: Accept, Authorization

Response Headers: Content-Length, Content-Type.

Response Structure:

Field NameTypeDescription
responseResponse

Example Request:

Example Response:

{
   "id":1185954743,
   "response":"?"
}

syncWithADforPublicCon GET Interface

Method: GET

Relative URL: userservice/sync-with-ad-for-public-con/id

Request Headers: Accept, Authorization

Response Headers: Content-Length, Content-Type.

Response Structure:

Field NameTypeDescription
responseResponse

Example Request:

Example Response:

{
   "id":194824043,
   "response":"?"
}

syncWithADforPrivateCon GET Interface

Method: GET

Relative URL: userservice/sync-with-ad-for-private-con/id/type-of-import/ad-import-is-acticve/reflect-account-status/mail-permission

Request Headers: Accept, Authorization

Response Headers: Content-Length, Content-Type.

Response Structure:

Field NameTypeDescription
responseResponse

Example Request:

Example Response:

{
   "id":545252184,
   "response":"?"
}

isInitialImportDone GET Interface

Method: GET

Relative URL: userservice/is-initial-import-done/id

Request Headers: Accept, Authorization

Response Headers: Content-Length, Content-Type.

Response Structure:

Field NameTypeDescription
responseResponse

Example Request:

Example Response:

{
   "id":2147483647,
   "response":"?"
}

isInitialImportDoneLDAP GET Interface

Method: GET

Relative URL: userservice/is-initial-import-done-ldap/id

Request Headers: Accept, Authorization

Response Headers: Content-Length, Content-Type.

Response Structure:

Field NameTypeDescription
responseResponse

Example Request:

Example Response:

{
   "id":2147483647,
   "response":"?"
}

testADConnection GET Interface

Method: GET

Relative URL: userservice/test-ad-connection/id

Request Headers: Accept, Authorization

Response Headers: Content-Length, Content-Type.

Response Structure:

Field NameTypeDescription
responseResponse

Example Request:

Example Response:

{
   "id":2147483647,
   "response":"?"
}

testADConnectionForPrivateCon GET Interface

Method: GET

Relative URL: userservice/test-ad-connection-for-private-con/id

Request Headers: Accept, Authorization

Response Headers: Content-Length, Content-Type.

Response Structure:

Field NameTypeDescription
responseResponse

Example Request:

Example Response:

{
   "id":2147483647,
   "response":"?"
}

getUserRoles GET Interface

Method: GET

Relative URL: userservice/get-all-user-roles/user-id

Request Headers: Accept, Authorization

Response Headers: Content-Length, Content-Type.

Response Structure:

Field NameTypeDescription
responseResponse

Example Request:

Example Response:

{
   "id":2147483647,
   "response":"?"
}

savePassword POST Interface

Method: POST

Relative URL: userservice/save-password

Request Headers: Accept, Authorization

Response Headers: Content-Length, Content-Type.

Request Structure:

Field NameTypeDescription
passwordPassword

Response Structure:

Field NameTypeDescription
responseResponse

Example Request:

SAVEPASSWORD 
Host: example.com
Authorization: Basic xxxxxxxxxxxxxxxxxxx
Content-Type : nnn
{
   "oldPassword":"?",
   "newPassword":"?"
}

Example Response:

{
   "id":2147483647,
   "response":"?"
}

setThemeForUser GET Interface

Method: GET

Relative URL: userservice/set-theme-for-user/theme

Request Headers: Accept, Authorization

Response Headers: Content-Length, Content-Type.

Response Structure:

Field NameTypeDescription
responseResponse

Example Request:

Example Response:

{
   "id":2147483647,
   "response":"?"
}

getCartItemCount GET Interface

Service to get the count of items in the cart

Method: GET

Relative URL: userservice/get-cart-item-count

Request Headers: Accept, Authorization

Response Headers: Content-Length, Content-Type.

Response Structure:

Field NameTypeDescription
responseResponse

Example Request:

Example Response:

{
   "id":2147483647,
   "response":"?"
}

getCustomerId GET Interface

Service to get customerId

Method: GET

Relative URL: userservice/get-customer-id/email-id

Request Headers: Accept, Authorization

Response Headers: Content-Length, Content-Type.

Response Structure:

Field NameTypeDescription
responseResponse

Example Request:

Example Response:

{
   "id":1005688362,
   "response":"?"
}

getAzureADUserProperties GET Interface

Service to get customerId

Method: GET

Relative URL: userservice/get-azure-ad-user-properties/is-azure-import

Request Headers: Accept, Authorization

Response Headers: Content-Length, Content-Type.

Response Structure:

Field NameTypeDescription
responseResponse

Example Request:

Example Response:

{
   "id":2147483647,
   "response":"?"
}

saveAzureADConfig POST Interface

Method: POST

Relative URL: userservice/save-azure-ad

Request Headers: Accept, Authorization

Response Headers: Content-Length, Content-Type.

Request Structure:

Field NameTypeDescription
userinfoAzureAdConfiguration

Response Structure:

Field NameTypeDescription
responseResponse

Example Request:

SAVEAZUREADCONFIG 
Host: example.com
Authorization: Basic xxxxxxxxxxxxxxxxxxx
Content-Type : nnn
{
   "name":"?",
   "clientId":"?",
   "secretKey":"?",
   "tenantId":"?",
   "propertyMap":"?",
   "archive":?,
   "uniqueId":"?",
   "createdOn":?,
   "lastModifiedOn":?,
   "lastModifiedBy": {
         "stringobj":"?",
         "shortName":"?",
         "s3Name":"?",
         "uniqueId":"?",
         "lineType":"?",
      },
   "createdBy": {
         "stringobj":"?",
         "shortName":"?",
         "s3Name":"?",
         "uniqueId":"?",
         "lineType":"?",
      },
   "authType":"?",
   "certificate":"?",
   "privateKey":"?"
}

Example Response:

{
   "id":2147483647,
   "response":"?"
}

saveAzureADPropertyMapping POST Interface

Method: POST

Relative URL: userservice/save-azure-ad-property-mapping

Request Headers: Accept, Authorization

Response Headers: Content-Length, Content-Type.

Request Structure:

Field NameTypeDescription
propertyMappingResponse

Response Structure:

Field NameTypeDescription
responseResponse

Example Request:

SAVEAZUREADPROPERTYMAPPING 
Host: example.com
Authorization: Basic xxxxxxxxxxxxxxxxxxx
Content-Type : nnn
{
   "response":"?"
}

Example Response:

{
   "id":2147483647,
   "response":"?"
}

importAzureADUsers GET Interface

Method: GET

Relative URL: userservice/import-azure-ad-users/config-id/notify-user/is-schedule/activate-user/reflect-account-status

Request Headers: Accept, Authorization

Response Headers: Content-Length, Content-Type.

Response Structure:

Field NameTypeDescription
responseResponse

Example Request:

Example Response:

{
   "id":2147483647,
   "response":"?"
}

getAzureAdImportScheduleDetails GET Interface

Method: GET

Relative URL: userservice/get-azure-ad-import-schedule/azure-ad-config

Request Headers: Accept, Authorization

Response Headers: Content-Length, Content-Type.

Response Structure:

Field NameTypeDescription
azureAdImportScheduleAzureAdImportSchedule

Example Request:

Example Response:

{
   "id":2147483647,
   "azureAdConfig":?,
   "importFrequency":"?",
   "scheduleSeconds":"?",
   "scheduleMinutes":"?",
   "scheduleHours":"?",
   "scheduleDays":"?",
   "scheduleWeeks":"?",
   "scheduleMonths":"?",
   "scheduleYears":"?",
   "cronExpression":"?",
   "timeZone":"?",
   "isEnabled":?,
   "reflectAccountStatus":?,
   "isEnabledSendNotification":?,
   "isAccess":?
}

editAzureAdImportScheduleDetails POST Interface

Method: POST

Relative URL: userservice/edit-azure-ad-import-schedule

Request Headers: Accept, Authorization

Response Headers: Content-Length, Content-Type.

Request Structure:

Field NameTypeDescription
azureAdImportScheduleAzureAdImportSchedule

Response Structure:

Field NameTypeDescription
responseResponse

Example Request:

EDITAZUREADIMPORTSCHEDULEDETAILS 
Host: example.com
Authorization: Basic xxxxxxxxxxxxxxxxxxx
Content-Type : nnn
{
   "azureAdConfig":?,
   "importFrequency":"?",
   "scheduleSeconds":"?",
   "scheduleMinutes":"?",
   "scheduleHours":"?",
   "scheduleDays":"?",
   "scheduleWeeks":"?",
   "scheduleMonths":"?",
   "scheduleYears":"?",
   "cronExpression":"?",
   "timeZone":"?",
   "isEnabled":?,
   "reflectAccountStatus":?,
   "isEnabledSendNotification":?,
   "isAccess":?
}

Example Response:

{
   "id":2147483647,
   "response":"?"
}

getAllGroup GET Interface

Method: GET

Relative URL: userservice/getallgroup

Request Headers: Accept, Authorization

Response Headers: Content-Length, Content-Type.

Response Structure:

Field NameTypeDescription
groupListValueList

Example Request:

Example Response:

{
   "id":122598632,
   "StringList":[
      {
         "id":2147483647,
         "stringobj":"?",
         "shortName":"?",
         "s3Name":"?",
         "uniqueId":"?",
         "lineType":"?",
      }   ],
   "projectList":[
      {
         "id":2147483647,
         "name":"?",
         "description":?,
         "plannedStart":?,
         "plannedEnd":?,
         "actualStart":?,
         "actualEnd":?,
         "baselineStart":?,
         "baselineEnd":?,
         "status":"?",
         "billingCode":"?",
         "costCenter": {
               "id":2147483647,
               "stringobj":"?",
               "shortName":"?",
               "s3Name":"?",
               "uniqueId":"?",
               "lineType":"?",
            },
         "percentageComplete":?,
         "duration":?,
         "archive":?,
         "projectManager": {
               "id":2147483647,
               "stringobj":"?",
               "shortName":"?",
               "s3Name":"?",
               "uniqueId":"?",
               "lineType":"?",
            },
         "isTemplate":?,
         "templateName":"?",
         "createdFromTemplate":?,
         "createdFromTemplateName":"?",
         "validationError":?,
         "programs":[
            {
               "id":2147483647,
               "stringobj":"?",
               "shortName":"?",
               "s3Name":"?",
               "uniqueId":"?",
               "lineType":"?",
            }         ],
         "associatedCis":[
            {
               "id":2147483647,
               "stringobj":"?",
               "shortName":"?",
               "s3Name":"?",
               "uniqueId":"?",
               "lineType":"?",
            }         ],
         "lastModifiedBy": {
               "id":2147483647,
               "stringobj":"?",
               "shortName":"?",
               "s3Name":"?",
               "uniqueId":"?",
               "lineType":"?",
            },
         "createdBy": {
               "id":981846873,
               "stringobj":"?",
               "shortName":"?",
               "s3Name":"?",
               "uniqueId":"?",
               "lineType":"?",
            },
         "createdOn":?,
         "lastModifiedOn":?,
         "uniqueId":"?",
         "totalTimeSpent":?
      }   ]
}

getAllGroupsIncludingInactiveUser GET Interface

Method: GET

Relative URL: userservice/getallgroup-includinginactiveuser

Request Headers: Accept, Authorization

Response Headers: Content-Length, Content-Type.

Response Structure:

Field NameTypeDescription
groupListValueList

Example Request:

Example Response:

{
   "id":2147483647,
   "StringList":[
      {
         "id":1183789295,
         "stringobj":"?",
         "shortName":"?",
         "s3Name":"?",
         "uniqueId":"?",
         "lineType":"?",
      }   ],
   "projectList":[
      {
         "id":1036161532,
         "name":"?",
         "description":?,
         "plannedStart":?,
         "plannedEnd":?,
         "actualStart":?,
         "actualEnd":?,
         "baselineStart":?,
         "baselineEnd":?,
         "status":"?",
         "billingCode":"?",
         "costCenter": {
               "id":2147483647,
               "stringobj":"?",
               "shortName":"?",
               "s3Name":"?",
               "uniqueId":"?",
               "lineType":"?",
            },
         "percentageComplete":?,
         "duration":?,
         "archive":?,
         "projectManager": {
               "id":2147483647,
               "stringobj":"?",
               "shortName":"?",
               "s3Name":"?",
               "uniqueId":"?",
               "lineType":"?",
            },
         "isTemplate":?,
         "templateName":"?",
         "createdFromTemplate":?,
         "createdFromTemplateName":"?",
         "validationError":?,
         "programs":[
            {
               "id":2147483647,
               "stringobj":"?",
               "shortName":"?",
               "s3Name":"?",
               "uniqueId":"?",
               "lineType":"?",
            }         ],
         "associatedCis":[
            {
               "id":2147483647,
               "stringobj":"?",
               "shortName":"?",
               "s3Name":"?",
               "uniqueId":"?",
               "lineType":"?",
            }         ],
         "lastModifiedBy": {
               "id":2147483647,
               "stringobj":"?",
               "shortName":"?",
               "s3Name":"?",
               "uniqueId":"?",
               "lineType":"?",
            },
         "createdBy": {
               "id":2147483647,
               "stringobj":"?",
               "shortName":"?",
               "s3Name":"?",
               "uniqueId":"?",
               "lineType":"?",
            },
         "createdOn":?,
         "lastModifiedOn":?,
         "uniqueId":"?",
         "totalTimeSpent":?
      }   ]
}

getAllDepartment GET Interface

Method: GET

Relative URL: userservice/getalldepartment

Request Headers: Accept, Authorization

Response Headers: Content-Length, Content-Type.

Response Structure:

Field NameTypeDescription
departmentListValueList

Example Request:

Example Response:

{
   "id":2147483647,
   "StringList":[
      {
         "id":2147483647,
         "stringobj":"?",
         "shortName":"?",
         "s3Name":"?",
         "uniqueId":"?",
         "lineType":"?",
      }   ],
   "projectList":[
      {
         "id":2147483647,
         "name":"?",
         "description":?,
         "plannedStart":?,
         "plannedEnd":?,
         "actualStart":?,
         "actualEnd":?,
         "baselineStart":?,
         "baselineEnd":?,
         "status":"?",
         "billingCode":"?",
         "costCenter": {
               "id":734759161,
               "stringobj":"?",
               "shortName":"?",
               "s3Name":"?",
               "uniqueId":"?",
               "lineType":"?",
            },
         "percentageComplete":?,
         "duration":?,
         "archive":?,
         "projectManager": {
               "id":2147483647,
               "stringobj":"?",
               "shortName":"?",
               "s3Name":"?",
               "uniqueId":"?",
               "lineType":"?",
            },
         "isTemplate":?,
         "templateName":"?",
         "createdFromTemplate":?,
         "createdFromTemplateName":"?",
         "validationError":?,
         "programs":[
            {
               "id":2147483647,
               "stringobj":"?",
               "shortName":"?",
               "s3Name":"?",
               "uniqueId":"?",
               "lineType":"?",
            }         ],
         "associatedCis":[
            {
               "id":2147483647,
               "stringobj":"?",
               "shortName":"?",
               "s3Name":"?",
               "uniqueId":"?",
               "lineType":"?",
            }         ],
         "lastModifiedBy": {
               "id":2147483647,
               "stringobj":"?",
               "shortName":"?",
               "s3Name":"?",
               "uniqueId":"?",
               "lineType":"?",
            },
         "createdBy": {
               "id":2000198041,
               "stringobj":"?",
               "shortName":"?",
               "s3Name":"?",
               "uniqueId":"?",
               "lineType":"?",
            },
         "createdOn":?,
         "lastModifiedOn":?,
         "uniqueId":"?",
         "totalTimeSpent":?
      }   ]
}

generateAPIKeyForUser GET Interface

Method: GET

Relative URL: userservice/generate-api-key

Request Headers: Accept, Authorization

Response Headers: Content-Length, Content-Type.

Response Structure:

Field NameTypeDescription
apiKeyObjectResponse

Example Request:

Example Response:

{
   "id":2147483647,
   "response":"?"
}

getAdImportScheduleDetails GET Interface

Method: GET

Relative URL: userservice/get-ad-import-schedule/ad-config

Request Headers: Accept, Authorization

Response Headers: Content-Length, Content-Type.

Response Structure:

Field NameTypeDescription
adImportScheduleADImportSchedule

Example Request:

Example Response:

{
   "id":2147483647,
   "adConfig":?,
   "typeOfImport":"?",
   "importFrequency":"?",
   "scheduleSeconds":"?",
   "scheduleMinutes":"?",
   "scheduleHours":"?",
   "scheduleDays":"?",
   "scheduleWeeks":"?",
   "scheduleMonths":"?",
   "scheduleYears":"?",
   "timeZone":"?",
   "cronExpression":"?",
   "isEnabled":?,
   "reflectAccountStatus":?,
   "isEnabledSendNotification":?,
   "isAccess":?
}

editAdImportScheduleDetails POST Interface

Method: POST

Relative URL: userservice/edit-ad-import-schedule

Request Headers: Accept, Authorization

Response Headers: Content-Length, Content-Type.

Request Structure:

Field NameTypeDescription
adImportScheduleADImportSchedule

Response Structure:

Field NameTypeDescription
responseResponse

Example Request:

EDITADIMPORTSCHEDULEDETAILS 
Host: example.com
Authorization: Basic xxxxxxxxxxxxxxxxxxx
Content-Type : nnn
{
   "adConfig":?,
   "typeOfImport":"?",
   "importFrequency":"?",
   "scheduleSeconds":"?",
   "scheduleMinutes":"?",
   "scheduleHours":"?",
   "scheduleDays":"?",
   "scheduleWeeks":"?",
   "scheduleMonths":"?",
   "scheduleYears":"?",
   "timeZone":"?",
   "cronExpression":"?",
   "isEnabled":?,
   "reflectAccountStatus":?,
   "isEnabledSendNotification":?,
   "isAccess":?
}

Example Response:

{
   "id":1078565058,
   "response":"?"
}

getDefaultLandingPage GET Interface

Method: GET

Relative URL: userservice/get-default-landing-page

Request Headers: Accept, Authorization

Response Headers: Content-Length, Content-Type.

Response Structure:

Field NameTypeDescription
defaultLandingPageResponse

Example Request:

Example Response:

{
   "id":2147483647,
   "response":"?"
}

getAllPropertiesForWorkflow GET Interface

Method: GET

Relative URL: userservice/getallpropertiesforworkflow/module

Request Headers: Accept, Authorization

Response Headers: Content-Length, Content-Type.

Response Structure:

Field NameTypeDescription
propertyListValueList

Example Request:

Example Response:

{
   "id":191644181,
   "StringList":[
      {
         "id":2147483647,
         "stringobj":"?",
         "shortName":"?",
         "s3Name":"?",
         "uniqueId":"?",
         "lineType":"?",
      }   ],
   "projectList":[
      {
         "id":2147483647,
         "name":"?",
         "description":?,
         "plannedStart":?,
         "plannedEnd":?,
         "actualStart":?,
         "actualEnd":?,
         "baselineStart":?,
         "baselineEnd":?,
         "status":"?",
         "billingCode":"?",
         "costCenter": {
               "id":2147483647,
               "stringobj":"?",
               "shortName":"?",
               "s3Name":"?",
               "uniqueId":"?",
               "lineType":"?",
            },
         "percentageComplete":?,
         "duration":?,
         "archive":?,
         "projectManager": {
               "id":2147483647,
               "stringobj":"?",
               "shortName":"?",
               "s3Name":"?",
               "uniqueId":"?",
               "lineType":"?",
            },
         "isTemplate":?,
         "templateName":"?",
         "createdFromTemplate":?,
         "createdFromTemplateName":"?",
         "validationError":?,
         "programs":[
            {
               "id":2147483647,
               "stringobj":"?",
               "shortName":"?",
               "s3Name":"?",
               "uniqueId":"?",
               "lineType":"?",
            }         ],
         "associatedCis":[
            {
               "id":186467190,
               "stringobj":"?",
               "shortName":"?",
               "s3Name":"?",
               "uniqueId":"?",
               "lineType":"?",
            }         ],
         "lastModifiedBy": {
               "id":2147483647,
               "stringobj":"?",
               "shortName":"?",
               "s3Name":"?",
               "uniqueId":"?",
               "lineType":"?",
            },
         "createdBy": {
               "id":577389661,
               "stringobj":"?",
               "shortName":"?",
               "s3Name":"?",
               "uniqueId":"?",
               "lineType":"?",
            },
         "createdOn":?,
         "lastModifiedOn":?,
         "uniqueId":"?",
         "totalTimeSpent":?
      }   ]
}

updateBulkEdit POST Interface

Method: POST

Relative URL: userservice/update

Request Headers: Accept, Authorization

Response Headers: Content-Length, Content-Type.

Request Structure:

Field NameTypeDescription
recordMultiMapForCIChangeAttributes

Response Structure:

Field NameTypeDescription
responseResponse

Example Request:

UPDATEBULKEDIT 
Host: example.com
Authorization: Basic xxxxxxxxxxxxxxxxxxx
Content-Type : nnn
{
   "checkExists":?,
   "workFlowId":?,
   "map":[
      {
         "key":"?",
         "value":"?",
         "blockId":"?"
      }   ],
   "idList":[
      {
         "flag":?
      }   ]
}

Example Response:

{
   "id":220122013,
   "response":"?"
}