GET v1/admin/company/{id}/ProfilePhones?sort={sort}
Get Profile Company All Phones
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
id | integer |
Required |
|
sort |
A comma delimited list of columns to sort by. Field are sorted in ascending order by default. To have a field sort in descending order, preface it with the minus (-) sign. |
string |
Default value is |
Body Parameters
None.
Response Information
Resource Description
Collection of GetProfileCompanyPhonesName | Description | Type | Additional information |
---|---|---|---|
id |
The id of this phone |
integer |
None. |
name |
The name of this phone |
string |
None. |
countryCode |
The country code of this phone |
string |
None. |
areaCode |
The area code of this phone |
string |
None. |
phone |
The phone |
string |
None. |
formattedPhone |
The formatted value of this phone |
string |
None. |
phoneExtension |
The extension of this phone |
string |
None. |
isPreferredPhone |
The value indicate if profile phone is preferred phone |
boolean |
None. |
Response Formats
application/json, text/json
Sample:
[ { "id": 1, "name": "sample string 2", "countryCode": "sample string 3", "areaCode": "sample string 4", "phone": "sample string 5", "formattedPhone": "sample string 6", "phoneExtension": "sample string 7", "isPreferredPhone": true }, { "id": 1, "name": "sample string 2", "countryCode": "sample string 3", "areaCode": "sample string 4", "phone": "sample string 5", "formattedPhone": "sample string 6", "phoneExtension": "sample string 7", "isPreferredPhone": true } ]
text/html
Sample:
[{"id":1,"name":"sample string 2","countryCode":"sample string 3","areaCode":"sample string 4","phone":"sample string 5","formattedPhone":"sample string 6","phoneExtension":"sample string 7","isPreferredPhone":true},{"id":1,"name":"sample string 2","countryCode":"sample string 3","areaCode":"sample string 4","phone":"sample string 5","formattedPhone":"sample string 6","phoneExtension":"sample string 7","isPreferredPhone":true}]
application/xml, text/xml
Sample:
<ArrayOfv1_Admin_CompanyEndpointController.GetProfileCompanyPhones xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Aptify.Services.Generated.v1_Admin_CompanyEndpoint"> <v1_Admin_CompanyEndpointController.GetProfileCompanyPhones> <areaCode>sample string 4</areaCode> <countryCode>sample string 3</countryCode> <formattedPhone>sample string 6</formattedPhone> <id>1</id> <isPreferredPhone>true</isPreferredPhone> <name>sample string 2</name> <phone>sample string 5</phone> <phoneExtension>sample string 7</phoneExtension> </v1_Admin_CompanyEndpointController.GetProfileCompanyPhones> <v1_Admin_CompanyEndpointController.GetProfileCompanyPhones> <areaCode>sample string 4</areaCode> <countryCode>sample string 3</countryCode> <formattedPhone>sample string 6</formattedPhone> <id>1</id> <isPreferredPhone>true</isPreferredPhone> <name>sample string 2</name> <phone>sample string 5</phone> <phoneExtension>sample string 7</phoneExtension> </v1_Admin_CompanyEndpointController.GetProfileCompanyPhones> </ArrayOfv1_Admin_CompanyEndpointController.GetProfileCompanyPhones>