m2pfintech

Update preferences from external source

Updates entity preferences triggered by an external source or partner system. NOTE: This endpoint path was not found in the available source code of credit-clms, credit-customer-service, or credit-service. A related endpoint /business-entity-manager/updatePreference exists in credit-customer-service (RegistrationController) which updates entity preferences internally.

POST
/Yappay/business-entity-manager/updatePreferenceExternal

Header Parameters

TENANT*string

Tenant identifier for multi-tenancy routing

Request Body

application/json

entityId*string

Entity ID for which preferences are updated

Response Body

application/json

application/json

application/json

application/json

curl -X POST "https://uat-m2p-ccms.m2pfintech.com/Yappay/business-entity-manager/updatePreferenceExternal" \  -H "TENANT: string" \  -H "Content-Type: application/json" \  -d '{    "entityId": "CUST123456"  }'
{
  "status": 200,
  "result": true,
  "message": "Success"
}
{
  "status": 400,
  "message": "Invalid request parameters",
  "timestamp": "2019-08-24T14:15:22Z"
}
{
  "status": 400,
  "message": "Invalid request parameters",
  "timestamp": "2019-08-24T14:15:22Z"
}
{
  "status": 400,
  "message": "Invalid request parameters",
  "timestamp": "2019-08-24T14:15:22Z"
}