POST api/webtivData/getPhoneMessages/{phone}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| phone | string |
Required |
Body Parameters
modelWebtivLogin| Name | Description | Type | Additional information |
|---|---|---|---|
| webtiv | integer |
None. |
|
| agent | integer |
None. |
|
| secure | string |
None. |
|
| guid | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"webtiv": 1,
"agent": 2,
"secure": "sample string 3",
"guid": "sample string 4"
}
text/xml
Sample:
<modelWebtivLogin xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/whatsAppServer.Models.Webtiv"> <agent>2</agent> <guid>sample string 4</guid> <secure>sample string 3</secure> <webtiv>1</webtiv> </modelWebtivLogin>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
Collection of jobPhones| Name | Description | Type | Additional information |
|---|---|---|---|
| serial | integer |
None. |
|
| client | integer |
None. |
|
| webtiv | integer |
None. |
|
| agent | integer |
None. |
|
| job | integer |
None. |
|
| phone | string |
None. |
|
| message | string |
None. |
|
| enterDate | date |
None. |
|
| resultStatus | integer |
None. |
|
| resultDate | date |
None. |
|
| errorMessage | string |
None. |
|
| webtivScreen | integer |
None. |
|
| webtivSerial | integer |
None. |
|
| webtivMagarID | integer |
None. |
|
| webtivMagarPhone | string |
None. |
|
| phoneFrom | string |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"serial": 1,
"client": 1,
"webtiv": 1,
"agent": 1,
"job": 1,
"phone": "sample string 2",
"message": "sample string 3",
"enterDate": "2025-10-25T00:39:16.1300278+03:00",
"resultStatus": 1,
"resultDate": "2025-10-25T00:39:16.1300278+03:00",
"errorMessage": "sample string 4",
"webtivScreen": 1,
"webtivSerial": 1,
"webtivMagarID": 1,
"webtivMagarPhone": "sample string 5",
"phoneFrom": "sample string 6"
},
{
"serial": 1,
"client": 1,
"webtiv": 1,
"agent": 1,
"job": 1,
"phone": "sample string 2",
"message": "sample string 3",
"enterDate": "2025-10-25T00:39:16.1300278+03:00",
"resultStatus": 1,
"resultDate": "2025-10-25T00:39:16.1300278+03:00",
"errorMessage": "sample string 4",
"webtivScreen": 1,
"webtivSerial": 1,
"webtivMagarID": 1,
"webtivMagarPhone": "sample string 5",
"phoneFrom": "sample string 6"
}
]
text/xml
Sample:
<ArrayOfjobPhones xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/whatsAppServer.Models">
<jobPhones>
<agent>1</agent>
<client>1</client>
<enterDate>2025-10-25T00:39:16.1300278+03:00</enterDate>
<errorMessage>sample string 4</errorMessage>
<job>1</job>
<message>sample string 3</message>
<phone>sample string 2</phone>
<phoneFrom>sample string 6</phoneFrom>
<resultDate>2025-10-25T00:39:16.1300278+03:00</resultDate>
<resultStatus>1</resultStatus>
<serial>1</serial>
<webtiv>1</webtiv>
<webtivMagarID>1</webtivMagarID>
<webtivMagarPhone>sample string 5</webtivMagarPhone>
<webtivScreen>1</webtivScreen>
<webtivSerial>1</webtivSerial>
</jobPhones>
<jobPhones>
<agent>1</agent>
<client>1</client>
<enterDate>2025-10-25T00:39:16.1300278+03:00</enterDate>
<errorMessage>sample string 4</errorMessage>
<job>1</job>
<message>sample string 3</message>
<phone>sample string 2</phone>
<phoneFrom>sample string 6</phoneFrom>
<resultDate>2025-10-25T00:39:16.1300278+03:00</resultDate>
<resultStatus>1</resultStatus>
<serial>1</serial>
<webtiv>1</webtiv>
<webtivMagarID>1</webtivMagarID>
<webtivMagarPhone>sample string 5</webtivMagarPhone>
<webtivScreen>1</webtivScreen>
<webtivSerial>1</webtivSerial>
</jobPhones>
</ArrayOfjobPhones>