14
Views
6
Comments
Solved
[SMS Carrier] Update Entites Data on API
Question
sms-carrier
Web icon
Forge asset by Diogo Capitão Pedrosa

I have some entities in my database. One of them is Profile entity. So, if sometimes profile entity must be updated, what i need to advanced sql with function update ? or just make in the API like this ?

Thanks for your answer.

2020-03-05 14-29-02
José Costa
Solution

Hi  fahmi,

Has Suraj was saying, if you are updating just one Profile in the Profile Entity then use number 2. If you want to update more than one Profile (e.g. change the Password attribute of multiple Profiles) use number 1.

Cheers,

José

2020-03-05 14-29-02
José Costa

Hi fahmi,

You can use the UpdateProfile Entity Action. It accepts as input parameter the whole record that you want to update.

Cheers,

José

2017-09-26 04-22-30
fahmi fachrurozi

José Costa wrote:

Hi fahmi,

You can use the UpdateProfile Entity Action. It accepts as input parameter the whole record that you want to update.

Cheers,

José


thank you Jose Costa, your answer make me sure about this bussiness.


2018-11-06 14-26-44
Suraj Borade

So there are two ways.

1. If you want to do mass updates (update multiple records at a one time), use advance sql and provide inputs

2. If you want to update single record at a time, as suggested by Jose, use UpdateProfile Entity Action and provide record list as input

2017-09-26 04-22-30
fahmi fachrurozi

Suraj Borade wrote:

So there are two ways.

1. If you want to do mass updates (update multiple records at a one time), use advance sql and provide inputs

2. If you want to update single record at a time, as suggested by Jose, use UpdateProfile Entity Action and provide record list as input


Thanks Suraj Borade, really helpful :)

2017-09-26 04-22-30
fahmi fachrurozi

fahmi fachrurozi wrote:

Suraj Borade wrote:

So there are two ways.

1. If you want to do mass updates (update multiple records at a one time), use advance sql and provide inputs

2. If you want to update single record at a time, as suggested by Jose, use UpdateProfile Entity Action and provide record list as input


Thanks Suraj Borade, really helpful :)

The possibility record that could be updated in Profile Entity is Username, Photo, And Password. So i have to use your first answer (No.1) or the seconde one (No.2) ?



2020-03-05 14-29-02
José Costa
Solution

Hi  fahmi,

Has Suraj was saying, if you are updating just one Profile in the Profile Entity then use number 2. If you want to update more than one Profile (e.g. change the Password attribute of multiple Profiles) use number 1.

Cheers,

José

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.