Skip to content

Discovery

José Ignacio Amelivia Santiago edited this page May 27, 2021 · 1 revision

Service provider configuration

Service provider configuration reference on the official TravelPerk documentation.

This function will return TravelPerk's configuration details for our SCIM API, including which operations are supported.

config = travelperk.scim().discovery().service_provider_config()

List resource types

List resource types reference on the official TravelPerk documentation.

This function will return all available resources types for TravelPerk's SCIM API.

types = travelperk.scim().discovery().resource_types()

List all schemas

List all schemas reference on the official TravelPerk documentation.

This function will return all schemas and their attributes.

schemas = travelperk.scim().discovery().schemas()

User schema details

User schema details reference on the official TravelPerk documentation.

This function will list all attributes for the User schema.

schema = travelperk.scim().discovery().user_schema()

Enterprise user schema details

Enterprise user schema details reference on the official TravelPerk documentation.

This function will list all attributes for the User schema.

schema = travelperk.scim().discovery().enterprise_user_schema()