FS Sync / Delete Profile
Sync and Delete profile data for FS
Overview

Concept
Acknowledge Party after process is completed
Acknowledge Payload Example:
{"reference_no": "xxx", "completed": ["personID-A", "personID-B"]}, "failed": ["personID-C"]"}
Swagger
https://d1uucuiddrzp4r.cloudfront.net/
Example
Before API call, make sure the access_token and endpoint are retrieved from system API.
Sync
Request
curl --location 'https://dev.glorymtel.xyz/ob-bms/integrations/fs/members' \
--header 'Content-Type: application/json' \
--header 'Accept: application/json' \
--header 'x-access-token: Bearer {TOKEN}' \
--data-raw '{
"count": 2,
"data": [
{
"personID": "a50c364f-52ef-4d8c-96f4-67c854ef8ca7",
"tenantIDs": [
1
],
"phones": ["+0999999999"],
"emails": ["t.shin@pjoe.com"],
"locations": [
],
"updateTime": "2023-08-25T10: 56: 18.283",
"active": false,
"status": "I"
}
]
}'
Response
{
"result": true,
"reference_no": "001"
}
Delete
Request
curl --location --request DELETE 'https://dev.glorymtel.xyz/ob-bms/integrations/fs/members' \
--header 'Content-Type: application/json' \
--header 'x-access-token: Bearer {TOKEN}' \
--data '{
"member_ids": [
"a50c364f-52ef-4d8c-96f4-67c854ef8ca7",
"a50c364f-52ef-4d8c-96f4-67c854ef8ca8",
"a50c364f-52ef-4d8c-96f4-67c854ef8ca9"
]
}'
Response
{
"result": true,
"reference_no": "001"
}