get https://app.fracttal.com/api/third_parties
By means of this API you can consult the information of your third parties.
You can consult the whole list or make filters by the code of the third party.
Input parameters
Parameter | Type | Required | Description |
---|---|---|---|
code | Text | Optional | Code of the third party to perform the filter. |
Output parameters
Parameter | Type | Location (id_type_item = 1) |
---|---|---|
name | Text | Name |
code | Text | Human Resources Code |
address | Text | Address |
email | Text | E-mail address |
country | Text | Country |
groups_1_desc | Text | Classification 1 |
groups_2_desc | Text | Classification 2 |
active | Boolean | True if the third party is active, false otherwise |
zip_code | Text | Zip Code |
city | Text | City |
state | Text | State/Department/Region |
telephone | Text | Main telephone |
telephone_2 | Text | Secondary phone |
fax | Text | Fax |
sms | Text | SMS Phone |
custom_fields_groups_description | Text | Custom field group name |
latitude | Text | Latitude |
longitud | Text | longitude |
hourly_rates_description | Text | Ordinary hour value |
web_page | Text | Website |
parent_description | Text | Located in or is part of |
id_third_party_type | Integer Array | 1: Service provider 2: Manufacturer 3: Supplier 4: Client |
Example
Petition: (GET) https://app.fracttal.com/api/third_parties/?code=ACOD
{
"success": true,
"message": "200",
"data": [
{
"code": "ACOD",
"address": "Boulevard Los Heroes",
"email": "[email protected]",
"country": "El Salvador",
"groups_1_desc": null,
"groups_2_desc": null,
"active": true,
"name": "Acodjar",
"zip_code": null,
"city": "San Salvador",
"state": "San Salvador",
"telephone_1": "2239 5907",
"telephone_2": "",
"fax": "",
"sms": "",
"custom_fields_groups_description": null,
"latitude": "13.705928587044207",
"longitud": "-89.21529293060304",
"web_page": "http:\/\/www.fedecaces.com",
"custom_fields_values": null,
"parent_description": "\/\/ SERCOMCA\/ ",
"id_third_party_type": [
1
],
}
],
"total": 1
}
Test It
Test It