API Endpoints
Fracttal →

Create a third party

Using this API you can create a third party.

Input parameters

ParameterTypeRequiredDescription
nameTextRequiredName of third party
codeTextRequiredThird party code
emailTextOptionalE-mail address
activeBooleanOptionalTrue if the third party is active, false otherwise
code_parent_locationTextOptionalCode of the asset in which the third party will be located.
group_1TextOptionalDescription of classification 1
group_2TextOptionalDescription of classification 2
addressTextOptionalAddress
cityTextOptionalCity
stateTextOptionalState
zip_codeTextOptionalArea code
countryTextOptionalCountry
latitudeTextOptionalLatitude
longitudTextOptionallongitude
telephoneTextOptionalPhone
telephone_2TextOptionalPhone 2.
smsTextOptionalsms
faxTextOptionalFax
web_pageTextOptionalWebsite.
visible_to_allBooleanOptionalVisible to all.
id_third_party_typeInteger ArrayOptional1:Service provider 2:Manufacturer 3:Supplier 4:Customer

Output parameters

ParameterTypeDescription
successBooleanTrue if the insert was successful or false otherwise
messageText200 if successful
dataTextJson con el item insertado
totalNumberNumber of inserted records (always 1)

Example

Petition: (POST) https://app.fracttal.com/api/third_parties

{
	"name":"Fracttal SPA",
	"code":"fracttal_tercero",
	"address":"San Pio X",
	"country":"Chile",
	"email":"[email protected]",
	"active": "true",
	"city":"Providencia",
	"state": "Region Metropolitana",
	"telephone_1":"555-555-55",
	"web_page":"www.fracttal.com",
        "id_third_party_type":[1,2,3]
}

Test It

Test It

Language