Skip to main content
POST
/
lead
/
page
/
{pageNo}
Get lead with mobile code
curl --request POST \
  --url https://apigw.bienport.com/api/lead/page/{pageNo} \
  --header 'Content-Type: application/json' \
  --data '
{
  "phoneNumber": "5555555550",
  "mobileAppId": "1231-4654-6564-3450-55"
}
'
{
  "id": 89839,
  "totalPages": 1,
  "href": "FN-3***",
  "totalItems": 1,
  "creationDate": "2020-07-06T00:00:00.000Z",
  "currentPage": 1,
  "description": "****",
  "leads": "<array>",
  "name": "KAMER T****",
  "rating": 50,
  "referredDate": "2020-07-06T00:00:00.000Z",
  "category": {
    "id": 123,
    "name": "Alarm"
  },
  "marketSegment": {
    "id": 1,
    "name": "Alarm"
  },
  "prospectContact": [
    {
      "characteristic": {
        "phoneNumber": "5XXXXXXXXXX (phoneNumber must be 10 characters. phoneNumber must not be start 0.)",
        "city": "İstanbul",
        "mobileAppId": "1231-4654-6564-6498-99",
        "subscriptionId": "551",
        "panelNo": "EA-560"
      }
    }
  ],
  "relatedParty": [
    {
      "name": "<string>",
      "id": "456789"
    }
  ],
  "status": "Randevu Alındı"
}

Path Parameters

pageNo
integer<int32>
required

pageNo

Body

application/json

getLeadRequest

Request Model for Get Lead With Mobile

phoneNumber
string

phoneNumber[optional].

Example:

"5555555550"

mobileAppId
string

mobileAppId[optional].

Example:

"1231-4654-6564-3450-55"

Response

Get leads Success.

Response Model for get lead

id
integer<int64>
Example:

89839

totalPages
integer<int32>
Example:

1

href
string
Example:

"FN-3***"

totalItems
integer<int32>
Example:

1

creationDate
string
Example:

"2020-07-06T00:00:00.000Z"

currentPage
integer<int32>
Example:

1

description
string
Example:

"****"

leads
array
name
string
Example:

"KAMER T****"

rating
integer<int32>
Example:

50

referredDate
string
Example:

"2020-07-06T00:00:00.000Z"

category
Category · object

Category for get lead

marketSegment
MarketSegment · object

MarketSegment for get lead

prospectContact
ProspectContact · object[]
status
string
Example:

"Randevu Alındı"