Sponsored Access API
What is Sponsored Access?
Prerequisites
Domains
Authentication
Create company
The creation of a company in Symphony is done in asynchronously in the background. When this call returns the state of the company will be STARTED. Please allow approximately 20 min for the company to be fully provisioned. To verify the current status of the company you can poll the 'retrieve company' endpoint using the returned id.
Unique identifier
e176c55e-6e49-4819-b982-12e0535db5f0Creation date
2023-12-22T08:53:39.269539ZLast update date
2023-12-20T10:59:54.516494ZName of the company
LyondellVanity name of the company will generate the public url of the tenant
lyondellPattern: [a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?List of email domains with which users can be registered to the tenant
["lyondell.com"]The Symphony public url of the company
https://lyondell.on.symphony.comThe state of the company to indicate if the creation is completed
STARTEDPossible values: Message providing additional information about the company creation error
Please contact Symphony support by providing the X-Trace-Id = KUfkYmAccepted
Accepted
Create users
Create users in a given company. Up to 20 users can be created in one API call.
Id of the company
e176c55e-6e49-4819-b982-12e0535db5f0Unique identifier
e176c55e-6e49-4819-b982-12e0535db5f0Creation date
2023-12-22T08:53:39.269539ZLast update date
2023-12-20T10:59:54.516494ZSymphony user id
691867691778058Individual http status code
201User's first name
JohnUser's last name
SmithUser's display name, if not provided it is a concatenation of the first name and the last name
John SmithUser's phone number
falseUser's status on Symphony
trueUser's department
Order ProcessingUser's title
Mr.User's location
Sophia AntipolisAll users are successfully created.
Creation of some users can fail. The individual error is associated to every user request.
Possible reasons specified by detailErrorCode
-
40001: User email address is not allowed for that company.
-
40002: A user with the same email address already exists.
Possible reasons specified by detailErrorCode
- 40102: Company does not exist, or is not in 'completed' state.
Update user status
Enable or disable a specific user account.
Id of the company
e176c55e-6e49-4819-b982-12e0535db5f0Id of the user
5bec2e8b-da45-46c7-9370-5669de1b1a78Active
User status successfully updated
Possible reasons specified by detailErrorCode
-
40102: Company does not exist, or is not in 'completed' state.
-
40106: User is not found, or does not belong to the company.
Search companies
Retrieve a company or the complete list of companies.
If the 'vanityName' is passed as a query parameter the company matching this name is returned.
If no query parameter is passed, the complete list of companies is returned.
Vanity name of the company
lyondellOK
OK
Retrieve company
Retrieve the details of a company, including the creation status.
When the status is COMPLETED the company is ready to be used, and users can be created on it.
If the state is not STARTED or COMPLETED, please contact Symphony for support.
Id of the company
e176c55e-6e49-4819-b982-12e0535db5f0OK
OK
Update company
Update company to add additional email domains.
Id of the company
e176c55e-6e49-4819-b982-12e0535db5f0List of email domains with which users can be registered to the tenant
["lyondell.com"]Company email domains successfully updated
No content
Company email domains are not modified. The company already contains the list of email domains.
Possible reasons specified by detailErrorCode
-
40102: Company does not exist, or is not in 'completed' state.
-
40103: Company email domains are already taken.
No content
Retrieve company users
Retrieves users of a given company. Results are paginated by user creation date.
An initial query should be done without specifying any paging query parameters to retrieve the total number of rows.
Page size is configurable, with a maximum size of 100 users.
Id of the company
e176c55e-6e49-4819-b982-12e0535db5f0Current page
0Example: 5Page size
100Example: 50OK
Bad Request
Retrieve user
Retrieves a user of a given company by providing the user id.
Id of the company
e176c55e-6e49-4819-b982-12e0535db5f0Id of the user
5bec2e8b-da45-46c7-9370-5669de1b1a78OK
Possible reasons specified by detailErrorCode
-
40102: Company does not exist, or is not in 'completed' state.
-
40106: User is not found, or does not belong to the company.
Last updated
Was this helpful?