Documentation

{{docApp.title}}

{{docApp.description}}

How can we help?

{{docApp.searchError}}
{{product.name}}

Searching in {{docApp.searchFilterBySpecificBookTitle}}

{{docApp.searchResultFilteredItems.length}} results for: {{docApp.currentResultsSearchText}} in {{docApp.searchFilterBySpecificBookTitle}}
Search results have been limited. There are a total of {{docApp.searchResponse.totalResultsAvailable}} matches.

You have an odd number of " characters in your search terms - each one needs closing with a matching " character!

{{docApp.libraryHomeViewProduct.title || docApp.libraryHomeViewProduct.id}}

{{docApp.libraryHomeViewProduct.description}}

  1. {{book.title}}

{{group.title || group.id}}

{{group.description}}

  1. {{book.title}}

{{group.title}}

Entity API / addSupplierContact

Operation Information

Description

This flowcode operation creates a new supplier contact.

Request Parameters

The addSupplierContact API takes the following input parameters. It is important to note that the parameters must satisfy the requirement of the input validation checks.

Name Type Required Description
supplierId xs:integer Yes The supplier primary key.
firstName xs:string No The first name of the new supplier contact.
lastName xs:string No The last name of the new supplier contact.
jobTitle xs:string No The job title of the new supplier contact.
status xs:string No The status of the new supplier contact. Accepted values are (status.active,status.archived). If no value is provided, status.active will be used.
phoneNumber xs:string No This is the primary phone number of the new supplier contact.
phoneNumber2 xs:string No This is the secondary phone number of the new supplier contact.
phoneNumber3 xs:string No This is the tertiary phone number of the new supplier contact.
emailAddress xs:string No The primary email address of the new supplier contact.
emailAddress2 xs:string No The secondary email address of the new supplier contact.
emailAddress3 xs:string No The tertiary email address of the new supplier contact.
notes xs:string No Any additional notes for the new supplier contact.
country xs:string No The country of the new supplier contact.
language xs:string No The language of the new supplier contact.
custom0 xs:string No Custom data held against the new supplier contact.
custom1 xs:string No Custom data held against the new supplier contact.
custom2 xs:string No Custom data held against the new supplier contact.
custom3 xs:string No Custom data held against the new supplier contact.
custom4 xs:string No Custom data held against the new supplier contact.
custom5 xs:string No Custom data held against the new supplier contact.

Response Parameters

Name Type Description
outcome xs:string The outcome of the flowcode operation.
supplierContactId xs:integer The id of the new supplier contact.
supplierContactName xs:string The name of the new supplier contact.

Code Examples

In This Document