Function: GetCustomFields
The GetCustomFields function returns the payer's defined custom fields.
- EAT Encryption Additional Terms parameter: None
- API version: V7
The following is a sample SOAP 1.2 request and response. In the request, you need to replace the data types in yellow with actual values.
SOAP 1.2: Request
POST /v7/payerfunctions.asmx HTTP/1.1
Host: api.tipalti.com
Content-Type: application/soap+xml; charset=utf-8
Content-Length: length
<?xml version="1.0" encoding="utf-8"?>
<soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
<soap12:Body>
<GetCustomFields xmlns="http://Tipalti.org/">
<payerName>string</payerName>
<timestamp>double</timestamp>
<key>string</key>
</GetCustomFields>
</soap12:Body>
</soap12:Envelope>
SOAP 1.2: Response
HTTP/1.1 200 OK
Content-Type: application/soap+xml; charset=utf-8
Content-Length: length
<?xml version="1.0" encoding="utf-8"?>
<soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
<soap12:Body>
<GetCustomFieldsResponse xmlns="http://Tipalti.org/">
<GetCustomFieldsResult>
<errorMessage>string</errorMessage>
<errorCode>string</errorCode>
<CustomFields>
<CustomFieldInfo>
<Entity>string</Entity>
<Title>string</Title>
<Description>string</Description>
<ValueType>string</ValueType>
<SubEntity>string</SubEntity>
<Values>
<CustomFieldValue>
<Value>string</Value>
<Code>string</Code>
<PayerEntityName>string</PayerEntityName>
</CustomFieldValue>
</Values>
</CustomFieldInfo>
<CustomFieldInfo>
<Entity>string</Entity>
<Title>string</Title>
<Description>string</Description>
<ValueType>string</ValueType>
<SubEntity>string</SubEntity>
<Values>
<CustomFieldValue>
<Value>string</Value>
<Code>string</Code>
<PayerEntityName>string</PayerEntityName>
</CustomFieldValue>
</Values>
</CustomFieldInfo>
</CustomFields>
</GetCustomFieldsResult>
</GetCustomFieldsResponse>
</soap12:Body>
</soap12:Envelope>
Request parameters
|
element |
Description |
Limitation |
Mandatory? |
Data Type |
|---|---|---|---|---|
| payerName | The name of the payer, as assigned by Tipalti |
|
Mandatory | string |
| timestamp |
Current time (UTC) when the request is sent |
Unix time | Mandatory | double |
| key | Encryption key | Mandatory | string |
Response parameters
|
element |
description |
data type |
|---|---|---|
| GetCustomFieldsResult | Contains the response parameters | TipaltiGetCustomFieldsResponse |
TipaltiGetCustomFieldsResponse
|
element |
description |
Limitation |
data type |
|---|---|---|---|
| errorMessage | A description of the error | See API error codes. | string |
| errorCode | The status of the error | See API error codes. | string |
| CustomFields |
|
Array of CustomFieldInfo |
CustomFieldInfo
|
element |
Description |
Limitation |
Data Type |
|---|---|---|---|
| Entity |
|
Valid values:
|
string |
| Title | The name of the custom field |
|
string |
| Description | Description of the custom field | Max. length = 50 | string |
| ValueType |
|
Valid values:
|
string |
| SubEntity | Type of invoice entity | Valid values:
|
string |
| Values | List of values available for the custom field |
Mandatory, if type = MultipleValues or type = ListOfValues |
Array of CustomFieldValue |
CustomFieldValue
|
Element |
Description |
Limitation |
Data Type |
|---|---|---|---|
| Value | The list item name you want displayed for payers (in the Tipalti Hub and reports) and payees (onboarding process) |
|
string |
| Code | The unique ID of the list item |
|
string |
| PayerEntityName | The name of the payer entity linked to the custom field |
|
string |