Skip to main content

terms_of_use_agreement_acceptances

Creates, updates, deletes, gets or lists a terms_of_use_agreement_acceptances resource.

Overview

Nameterms_of_use_agreement_acceptances
TypeResource
Identra_id.identity_governance.terms_of_use_agreement_acceptances

Fields

The following fields are returned by SELECT queries:

Retrieved navigation property

NameDatatypeDescription
idstringThe unique identifier for an entity. Read-only.
agreementFileIdstringThe identifier of the agreement file accepted by the user.
agreementIdstringThe identifier of the agreement.
deviceDisplayNamestringThe display name of the device used for accepting the agreement.
deviceIdstringThe unique identifier of the device used for accepting the agreement. Supports $filter (eq) and eq for null values.
deviceOSTypestringThe operating system used to accept the agreement.
deviceOSVersionstringThe operating system version of the device used to accept the agreement.
expirationDateTimestring (date-time)The expiration date time of the acceptance. The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. Supports $filter (eq, ge, le) and eq for null values. (pattern: ^[0-9]{4,}-(0[1-9]|1[012])-(0[1-9]|[12][0-9]|3[01])T([01][0-9]|2[0-3]):[0-5][0-9]:[0-5][0-9]([.][0-9]{1,12})?(Z|[+-][0-9][0-9]:[0-9][0-9])$)
recordedDateTimestring (date-time)The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. (pattern: ^[0-9]{4,}-(0[1-9]|1[012])-(0[1-9]|[12][0-9]|3[01])T([01][0-9]|2[0-3]):[0-5][0-9]:[0-5][0-9]([.][0-9]{1,12})?(Z|[+-][0-9][0-9]:[0-9][0-9])$)
stateThe state of the agreement acceptance. The possible values are: accepted, declined. Supports $filter (eq).
userDisplayNamestringDisplay name of the user when the acceptance was recorded.
userEmailstringEmail of the user when the acceptance was recorded.
userIdstringThe identifier of the user who accepted the agreement. Supports $filter (eq).
userPrincipalNamestringUPN of the user when the acceptance was recorded.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectagreement_acceptance_idRepresents the current status of a user's response to a company's customizable terms of use agreement.
listselectRepresents the current status of a user's response to a company's customizable terms of use agreement.
insertinsert
updateupdateagreement_acceptance_id
deletedeleteagreement_acceptance_idIf-Match

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
agreement_acceptance_idstringThe unique identifier of agreementAcceptance
If-MatchstringETag

SELECT examples

Represents the current status of a user's response to a company's customizable terms of use agreement.

SELECT
id,
agreementFileId,
agreementId,
deviceDisplayName,
deviceId,
deviceOSType,
deviceOSVersion,
expirationDateTime,
recordedDateTime,
state,
userDisplayName,
userEmail,
userId,
userPrincipalName
FROM entra_id.identity_governance.terms_of_use_agreement_acceptances
WHERE agreement_acceptance_id = '{{ agreement_acceptance_id }}' -- required
;

INSERT examples

No description available.

INSERT INTO entra_id.identity_governance.terms_of_use_agreement_acceptances (
id,
agreementFileId,
agreementId,
deviceDisplayName,
deviceId,
deviceOSType,
deviceOSVersion,
expirationDateTime,
recordedDateTime,
state,
userDisplayName,
userEmail,
userId,
userPrincipalName
)
SELECT
'{{ id }}',
'{{ agreementFileId }}',
'{{ agreementId }}',
'{{ deviceDisplayName }}',
'{{ deviceId }}',
'{{ deviceOSType }}',
'{{ deviceOSVersion }}',
'{{ expirationDateTime }}',
'{{ recordedDateTime }}',
'{{ state }}',
'{{ userDisplayName }}',
'{{ userEmail }}',
'{{ userId }}',
'{{ userPrincipalName }}'
RETURNING
id,
agreementFileId,
agreementId,
deviceDisplayName,
deviceId,
deviceOSType,
deviceOSVersion,
expirationDateTime,
recordedDateTime,
state,
userDisplayName,
userEmail,
userId,
userPrincipalName
;

UPDATE examples

No description available.

UPDATE entra_id.identity_governance.terms_of_use_agreement_acceptances
SET
id = '{{ id }}',
agreementFileId = '{{ agreementFileId }}',
agreementId = '{{ agreementId }}',
deviceDisplayName = '{{ deviceDisplayName }}',
deviceId = '{{ deviceId }}',
deviceOSType = '{{ deviceOSType }}',
deviceOSVersion = '{{ deviceOSVersion }}',
expirationDateTime = '{{ expirationDateTime }}',
recordedDateTime = '{{ recordedDateTime }}',
state = '{{ state }}',
userDisplayName = '{{ userDisplayName }}',
userEmail = '{{ userEmail }}',
userId = '{{ userId }}',
userPrincipalName = '{{ userPrincipalName }}'
WHERE
agreement_acceptance_id = '{{ agreement_acceptance_id }}' --required
RETURNING
id,
agreementFileId,
agreementId,
deviceDisplayName,
deviceId,
deviceOSType,
deviceOSVersion,
expirationDateTime,
recordedDateTime,
state,
userDisplayName,
userEmail,
userId,
userPrincipalName;

DELETE examples

No description available.

DELETE FROM entra_id.identity_governance.terms_of_use_agreement_acceptances
WHERE agreement_acceptance_id = '{{ agreement_acceptance_id }}' --required
AND If-Match = '{{ If-Match }}'
;