Files
developer.sailpoint.com/docs/tools/sdk/python/Reference/Beta/Models/NonEmployeeRequest.md
2025-07-25 19:23:51 +00:00

4.0 KiB

id, title, pagination_label, sidebar_label, sidebar_class_name, keywords, slug, tags
id title pagination_label sidebar_label sidebar_class_name keywords slug tags
beta-non-employee-request NonEmployeeRequest NonEmployeeRequest NonEmployeeRequest pythonsdk
python
Python
sdk
NonEmployeeRequest
BetaNonEmployeeRequest
/tools/sdk/python/beta/models/non-employee-request
SDK
Software Development Kit
NonEmployeeRequest
BetaNonEmployeeRequest

NonEmployeeRequest

Properties

Name Type Description Notes
id str Non-Employee source id. [optional]
source_id str Source Id associated with this non-employee source. [optional]
name str Source name associated with this non-employee source. [optional]
description str Source description associated with this non-employee source. [optional]
account_name str Requested identity account name. [optional]
first_name str Non-Employee's first name. [optional]
last_name str Non-Employee's last name. [optional]
email str Non-Employee's email. [optional]
phone str Non-Employee's phone. [optional]
manager str The account ID of a valid identity to serve as this non-employee's manager. [optional]
non_employee_source NonEmployeeSourceLite [optional]
data map[string]str Additional attributes for a non-employee. Up to 10 custom attributes can be added. [optional]
approval_items []NonEmployeeApprovalItemBase List of approval item for the request [optional]
approval_status ApprovalStatus [optional]
comment str Comment of requester [optional]
completion_date datetime When the request was completely approved. [optional]
start_date datetime Non-Employee employment start date. [optional]
end_date datetime Non-Employee employment end date. [optional]
modified datetime When the request was last modified. [optional]
created datetime When the request was created. [optional]
}

Example

from sailpoint.beta.models.non_employee_request import NonEmployeeRequest

non_employee_request = NonEmployeeRequest(
id='a0303682-5e4a-44f7-bdc2-6ce6112549c1',
source_id='2c91808568c529c60168cca6f90c1313',
name='Retail',
description='Source description',
account_name='william.smith',
first_name='William',
last_name='Smith',
email='william.smith@example.com',
phone='5125555555',
manager='jane.doe',
non_employee_source=sailpoint.beta.models.non_employee_source_lite.Non Employee Source Lite(
                    id = 'a0303682-5e4a-44f7-bdc2-6ce6112549c1', 
                    source_id = '2c91808568c529c60168cca6f90c1313', 
                    name = 'Retail', 
                    description = 'Source description', ),
data={description=Auditing},
approval_items=[
                    sailpoint.beta.models.non_employee_approval_item_base.Non Employee Approval Item Base(
                        id = '2c1e388b-1e55-4b0a-ab5c-897f1204159c', 
                        approver = sailpoint.beta.models.identity_reference_with_id.Identity Reference With Id(
                            type = 'IDENTITY', 
                            id = '5168015d32f890ca15812c9180835d2e', ), 
                        account_name = 'test.account', 
                        approval_status = 'APPROVED', 
                        approval_order = 1, 
                        comment = 'true', 
                        modified = '2019-08-23T18:52:59.162Z', 
                        created = '2019-08-23T18:40:35.772Z', )
                    ],
approval_status='APPROVED',
comment='approved',
completion_date='2020-03-24T11:11:41.139-05:00',
start_date='2020-03-24T00:00-05:00',
end_date='2021-03-25T00:00-05:00',
modified='2020-03-24T11:11:41.139-05:00',
created='2020-03-24T11:11:41.139-05:00'
)

[Back to top]