Customer List
List customers
POST
https://sandbox.mnasati.com/v1/customers
This endpoint allows you to list all customers.
Headers
Name
Type
Description
Content-Type
string
Application/JSON
Access Token
string
JWT Access Token from the authorization method..
{
"status":true,
"total":"78",
"data":[
{
"customer_id":"78",
"name":"john",
"phone":"966431424",
"email":"johnd11@gmail.com",
"registeration_date":"2021-05-17 10:03:57"
},
{
"customer_id":"77",
"name":"tttttttt",
"phone":"97499999999966",
"email":"test@test.com",
"registeration_date":"2021-04-22 06:42:51"
},
{
"customer_id":"76",
"name":"odeh33333333",
"phone":"97499944222",
"email":"odeh3333333@uigtc.com",
"registeration_date":"2021-04-07 10:44:00"
},
{
"customer_id":"75",
"name":"vuvuuvvyyv",
"phone":"9749991144",
"email":"pppppp@uigtc.com",
"registeration_date":"2021-04-05 21:33:33"
},
{
"customer_id":"74",
"name":"ghhhhu",
"phone":"97499922211",
"email":"yyyyyy@uigtc.com",
"registeration_date":"2021-04-05 21:32:33"
},
{
"customer_id":"73",
"name":"odeh",
"phone":"97499966611",
"email":"odehtest@uigtc.com",
"registeration_date":"2021-04-05 19:12:40"
},
{
"customer_id":"72",
"name":"Qasem",
"phone":"97499009060",
"email":"jeya22@uigtc.com",
"registeration_date":"2021-03-30 15:56:48"
},
{
"customer_id":"71",
"name":"john",
"phone":"966441424",
"email":"john@gmail.com",
"registeration_date":"2021-03-25 11:18:02"
},
{
"customer_id":"70",
"name":"Bayan",
"phone":"96594476503",
"email":"bayan.darwish@uigtc.com",
"registeration_date":"2021-03-24 13:52:03"
},
{
"customer_id":"69",
"name":"jack",
"phone":"974962799101921",
"email":"j.abbadi@uigtc.com",
"registeration_date":"2021-03-24 13:20:06"
}
]
}
Examples
import http.client
conn = http.client.HTTPSConnection("sandbox.mnasati.com")
headers = {
'Content-Type': "",
'Authorization-Jwt': ""
}
conn.request("POST", "/v1/customers", headers=headers)
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
Last updated
Was this helpful?