Through this API you can consult the information of your third parties.
You can consult all the list or filter by the code of the third party.

EndPoint
https://app.fracttal.com/api/third_parties/:code
Method GET

Input Parameters

Parameter

Type of field

Required

Description

code

text

Optional

Third party code to perform the filter.

Output Parameters

Parameter

Type of field

Description

name

Text

Name

code

Text

Human resource code

address

Text

Address

email

Text

Email

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 telephone

fax

Text

Fax

sms

Text

SMS telephone

custom_fields_groups_description

Text

Custom field group name

latitude

Text

Latitude

longitud

Text

Length

hourly_rates_description

Text

Ordinary hour value

web_page

Text

Web page

parent_description

Text

Located or is part of

id_third_party_type

Array of integers

1:Service provider
2:Maker
3:Supplier
4:Client

Example:
Petition: https://app.fracttal.com/api/third_parties/?code=ACOD

Example Response:

{ 
"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

Did this answer your question?