Function: CreateOrUpdateCustomFieldValue
The CreateOrUpdateCustomFieldValue function creates or updates a single custom field value. It applies only to bill custom fields of type ListOfValues.
- 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>
<CreateOrUpdateCustomFieldValue xmlns="http://Tipalti.org/">
<payerName>string</payerName>
<timestamp>double</timestamp>
<key>string</key>
<customFieldValueUpdateModel>
<CustomFieldName>string</CustomFieldName>
<Code>string</Code>
<Value>string</Value>
<PayerEntityName>string</PayerEntityName>
<IsActive>boolean</IsActive>
</customFieldValueUpdateModel>
</CreateOrUpdateCustomFieldValue>
</soap:Body>
</soap: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>
<CreateOrUpdateCustomFieldValueResponse xmlns="http://Tipalti.org/">
<CreateOrUpdateCustomFieldValueResult>
<errorMessage>string</errorMessage>
<errorCode>string</errorCode>
<b>boolean</b>
<i>integer</i>
<d>double</d>
<s>string</s>
<Result>string</Result>
<Message>string</Message>
<CustomFieldValue>
<CustomFieldName>string</CustomFieldName>
<Code>string</Code>
<Value>string</Value>
<PayerEntityName>string</PayerEntityName>
<IsActive>boolean</IsActive>
</CustomFieldValue>
</CreateOrUpdateCustomFieldValueResult>
</CreateOrUpdateCustomFieldValueResponse>
</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 | |
customFieldValueUpdateModel | List of custom field details | Mandatory | TipaltiCustomFieldValue |
TipaltiCustomFieldValue
element |
Description |
Limitation |
Mandatory? |
Data Type |
---|---|---|---|---|
CustomFieldName |
|
|
Mandatory | string |
Code | The unique ID of the list item |
|
Optional | string |
Value | The list item name you want displayed for payers (in the Tipalti Hub and reports) and payees (onboarding process) |
|
Optional | string |
PayerEntityName | The name of the payer entity linked to the custom field |
|
Optional | string |
IsActive |
|
Valid values:
|
Optional | boolean |
Response parameters
Element |
Description |
Data Type |
---|---|---|
CreateOrUpdateCustomFieldsResult | Contains the response parameters | TipaltiCustomFieldValueUpdateResponse (extension of type TipaltiResponse) |
TipaltiCustomFieldValueUpdateResponse
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 |
b | If the return code is Boolean, this parameter will carry the value. | boolean | |
i | If the return code is integer, this parameter will carry the value. | integer | |
d | If the return code is double, this parameter will carry the value. | double | |
s | If the return code is string, this parameter will carry the value. | string | |
Result | The result of your request to create/ update a custom field value |
Valid values:
|
string |
Message | A description of the result | string | |
CustomFieldValue | Returns custom field details | TipaltiCustomFieldValue |
TipaltiCustomFieldValue
element |
Description |
Limitation |
Data Type |
---|---|---|---|
CustomFieldName | The name of the custom field |
|
string |
Code | The unique ID of the list item |
|
string |
Value | The list item name you want displayed for payers (in the Tipalti Hub and reports) and payees (onboarding process) |
|
string |
PayerEntityName | The name of the payer entity linked to the custom field |
|
string |
IsActive | Indicates the status of the custom field: Active (TRUE) or Inactive (FALSE) |
Valid values:
|
boolean |