HR25 Compensation API

Get Current User

Get current user information.

Returns Dataverse user info including:

  • userId: Dataverse system user GUID
  • businessUnitId: User’s business unit GUID
  • organizationId: Organization GUID

PowerApps usage:
Simply call this endpoint - the connector passes your token automatically.

get
https://hr25-comp.service.migros.cloud/migros/human-resources/hrsolcomp/v1/me

Headers

authorizationstring

Response

application/json

Successful Response

Response Get Current User Me Get

Response Get Current User Me Getobject
* Additional properties are allowed.
get/migros/human-resources/hrsolcomp/v1/me
 
application/json

Get Current Business Unit

Get current user’s business unit details.

Returns:
Business unit record with name and ID.

get
https://hr25-comp.service.migros.cloud/migros/human-resources/hrsolcomp/v1/me/business-unit

Headers

authorizationstring

Response

application/json

Successful Response

Response Get Current Business Unit Me Business Unit Get

Response Get Current Business Unit Me Business Unit Getobject
* Additional properties are allowed.
get/migros/human-resources/hrsolcomp/v1/me/business-unit
 
application/json

Get Current User Details

Get full user details from Dataverse.

Returns complete systemuser record including:

  • fullname: Display name
  • internalemailaddress: Email
  • businessunitid: Business unit reference
  • title: Job title
  • And many more fields…
get
https://hr25-comp.service.migros.cloud/migros/human-resources/hrsolcomp/v1/me/details

Headers

authorizationstring

Response

application/json

Successful Response

Response Get Current User Details Me Details Get

Response Get Current User Details Me Details Getobject
* Additional properties are allowed.
get/migros/human-resources/hrsolcomp/v1/me/details
 
application/json

salary

Salary calculation endpoints

Calculate Salary

Launch salary calculation in the background.

Returns immediately with a job_id. The calculation runs asynchronously
and writes results directly to Dataverse.
Use GET /salary/jobs/{job_id} to check progress.

post
https://hr25-comp.service.migros.cloud/migros/human-resources/hrsolcomp/v1/salary/calculate

Query Parameters

phase1_onlyboolean

If true, stop after Phase 1 and only update position_in_band and position_category fields. Phase 2 is skipped.

Default:false

Headers

authorizationstring

Response

application/json

Job accepted

JobStatus

Status of an async salary calculation job

errorstring

Error message if status is failed

job_idstringrequired

Unique job identifier (UUID)

statusstringrequired

Job status: running, completed, or failed

Allowed values:runningcompletedfailed

post/migros/human-resources/hrsolcomp/v1/salary/calculate
 
application/json