Company Based Policy

To filter the data based on the legalEntityId from the respective tables, pass the respective value in companyid as headers. If the companyid is not passed as part of headers it will retrieve the responses irrespective of legalEntityId

Following are the specification for passing companyid in POST and GET API.

POST API

Following are the scenarios for POST API:

  • The user can create a record using POST API without passing the companyid which would create the respective record without the specified companyid.
  • The companyid with the specified <value> is passed in the headers for POST request to the store the companyid along with payload in database.

GET API

Following are the scenarios for GET API:

  • If companyid is not passed as part of headers it will retrieve all the data from the tables.
  • If companyid is passed with the specified <value>, it will try to fetch the data which will be validated against legalEntityId from the column.
  • If invalid companyid is passed, then it will not be able to fetch the responses as expected.

Field Name
|
Application/Table name

Temenos Headquarters SA
2 Rue de l'Ecole-de-Chimie
CH - 1205 Geneva
Switzerland

Copyright © 2020- Temenos Headquarters SA

Published on :
Tuesday, May 23, 2023 9:31:28 PM IST