I just created a user and I can't find him

Post Reply
Moresa

I just created a user and I can't find him

Post by Moresa »

I create a user using http request. It works, I have the "201 created" response, I can use it, but after a few moment (like an hour) I can't find him any more ? Please help me !
ThibautB

Re: I just created a user and I can't find him

Post by ThibautB »

When you create a user, you need to add :
`{
"name": "ClickAndPh",
"value": ["A4980_Pro"]
},`

in the body of your query.
When you forgot this parameter, your user is created in the pbx, but it's like he has no licence.
If you want to see it, you must do a GET on https://YOUR_SERVER.com/api/rest/1.0/pbxs/YOUR_NODE_ID/instances/Subscriber/USER_PHONENUMBER

Here is a link to a tutorial to use the API with Postman : http://opengateway.ale-aapp.com/tutos/
Post Reply

Return to “O2G”