Table of Contents | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|
|
...
Base Url: /smartfin/api/v1/whitelist
Retrieve Company Data
...
GET /smartfin/api/v1/whitelist
...
| ||
Returns
|
Schema
...
Update / Insert Company Data
...
POST/smartfin/api/v1/whitelist
...
Contain the same parameters as
items
in response body of https://mafint.atlassian.net/wiki/spaces/DEVMAD/pages/2128150536/Entity+Management#Responses ( Refer to the definition of each parameter )entity_id
does not need to be parsed and not required in this arrayConsists of new company data to be inserted into database.
...
Contain the same parameters as
items
in response body of https://mafint.atlassian.net/wiki/spaces/DEVMAD/pages/2128150536/Entity+Management#Responses ( Refer to the definition of each parameter )Consists of existing company data to be updated into database.
...
Contain the same parameters as
items
in response body of https://mafint.atlassian.net/wiki/spaces/DEVMAD/pages/2128150536/Entity+Management#Responses ( Refer to the definition of each parameter )The array list contains data of failed and successful inserts
...
Contain the same parameters as
items
in response body of https://mafint.atlassian.net/wiki/spaces/DEVMAD/pages/2128150536/Entity+Management#Responses ( Refer to the definition of each parameter )updated
consists of data that has been updated successfully ,wherefailed
consists of data that has not been updated in database.The relevant error message will be returned if there are any duplicated data attempting to insert or update into the database.
Warning |
---|
Insert process would fail if there is an existing company with the same Update process would fail if there is an existing company with the same |
Delete Company
...
DELETE/smartfin/api/v1/whitelist
...
|
Return a list of object named
value
, each object containsentity_id
that indicates the company that has been deleted successfully.
...