Please enable JavaScript to view this site.

PRIM Help

 

 

WARNING: This section is intended for advanced users and "Super users" of PRIM Logix.

 

The configuration items presented in this section may indeed have an impact on your operations.

 

If in doubt, consult your system administrator.

 

Please note that only users in the appropriate security groups can access the software configuration windows.

 

Get the vacant shifts



Returns the 50 first shifts with status VACANT with a date equal to or earlier than the date passed to the request

URL: api/GetTempRequestVacancy

 

Attributes to pass to actionParameters


 

FromDate

date

Optional

Will return shifts  starting at this date or after

Date format: YYYY-MM-DD

Default value: <today's date>


 

Language

string

Optional

Specify the language used to display information

Possible values: FR (French) or EN (English)

Default value: EN


Example of a request

{
    "actionParameters": {
        "FromDate": "2023-01-01",
        "Language": "FR"
    }
}

 

Response returned by Web service


{
  "status": "success",
  "data": [
    {
      "rownumber": 1,
      "TempRequestID": 66301,
      "TempRequestDescription": " Adaptaz (Administrative assistant) (08:00 AM - 04:00 PM) - Not incorporated"
    },
    {
      "rownumber": 2,
      "TempRequestID": 66352,
      "TempRequestDescription": " Adaptaz (Administrative assistant) (08:00 AM - 04:00 PM) - Not incorporated"
    },
    {
      "rownumber": 3,
      "TempRequestID": 66372,
      "TempRequestDescription": " Tadano Hitohito Inc. (Accounting clerk (self-matching)) (08:00 AM - 05:00 PM) - Not incorporated"
    },
    {
      "rownumber": 4,
      "TempRequestID": 66305,
      "TempRequestDescription": " Tadano Hitohito Inc. (Accounting clerk (self-matching)) (08:00 AM - 05:00 PM) - Not incorporated"
    },
    {
      "rownumber": 5,
      "TempRequestID": 67055,
      "TempRequestDescription": " Tadano Hitohito Inc. (Accounting clerk (self-matching)) (08:00 AM - 05:00 PM) - Not incorporated"
    }
  ]
}

Here is what each of the fields returned in each section of the data property corresponds


 

rownumber

integer

Rank of the shift for posting

Possible values: 1 or higher


 

TempRequestID

integer

ID of the shift (remcod)

Possible values: 1 or higher


 

TempRequestDescription

string

Description of the shift


Created with Help+Manual 8 and styled with Premium Pack Version 4 © by EC Software