Skip to navigation

User Role Access - UPSERT

View as Markdown

This API is used to set the access of a user role for a System in BIPO.

FieldTypeRequiredDescription
InterfaceCodeStringYesBIPO-URA
UserRoleCodeStringYesUser Role Code. Must already exist in BIPO.
SystemStringYesSystem the access applies to: Personnel, Payroll, Leave, Attendance, Claim, Appraisal, LifeCycle, EForm, Interface, AI or Casual.
ReadAccessStringNoRead access condition, in BIPO’s data access condition format. Replaces the saved value.
WriteAccessStringNoWrite access condition, in BIPO’s data access condition format. Replaces the saved value.
LockAccessStringNoReplaces the saved value.
DisableTemplateNumberNo1 or 0. Replaces the saved value.
DisableQueryNumberNo1 or 0. Replaces the saved value.
AllowLargeDataDownloadNumberNo1 or 0. Replaces the saved value.
ModifyBankDetailStringNoReplaces the saved value.
AppendEmployeeAccessStringNoEmployee access codes, separated by commas. Added to the saved list.
LeaveCodeAccessStringNoLeave Codes, separated by commas. Added to the saved list.
ClaimCodeAccessStringNoClaim Codes, separated by commas. Added to the saved list.
PayGroupAccessStringNoPay Groups, separated by commas. Added to the saved list.
AppendPTTypesStringNoCodes separated by commas. Added to the saved list.
ShowCompleteStatusStringNoCodes separated by commas. Added to the saved list.
EFormCodesStringNoeForm Codes, separated by commas. Added to the saved list.

Note: UserRoleCode and System together identify the record. A new pair adds a row; an existing pair updates it.

Note: For the fields marked “Added to the saved list”, this API only adds codes. It cannot remove codes that are already saved. Sending * means all.

Note: There is no DELETE for role access. Deleting the User Role removes its access.

Note: A role created for a Menu Access that includes Payroll already has a default Payroll access row, so an Import for Payroll updates that row.

Note: This API is for the Butter application integration only. A Butter licence is required.

Authentication

AuthorizationBearer

Bearer authentication of the form Bearer <token>, where token is your auth token.

Request

This endpoint expects a string.

Response

OK
dataobject
errorslist of any
messageslist of strings
errorCodeanyOptional