Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Name

Type

Description

Available from version

Entities

UpdateCustomFieldDto[]

And array of UpdateCustomFieldDto that was passed to the method. Now containing values for IsError and ErrorMessages depending on if everything worked normally or not.

2.39

Message

string

A response message, "OK" if nothing went wrong and otherwise and error message.

2.39

IsError

bool

A bool to describe if the entire request failed to perform any actions. If true then nothing was updated, if false then all CustomFields that could be updated were updated.

2.39


XML - UpdateCustomFields example request

Code Block
languagexml
<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"  xmlns:tns="http://tempuri.org/" xmlns:s1="http://microsoft.com/wsdl/types/" xmlns:tm="http://microsoft.com/wsdl/mime/textMatching/">
    <soap:Body>
        <UpdateCustomFields xmlns="http://tempuri.org/">
            <request>
                <Credentials>
                    <UserName>[Username]</UserName>
                    <Password>[Password]</Password>
                </Credentials>
                <identify>[Identity]</identify>
                <Entities>
                    <CreateCustomFieldDto>
                        <BfsEntityBrickId>[Guid of the entity to add Custom Fields to]</BfsEntityBrickId>
                        <CustomFields>
                            <CustomField>
                                <FieldName>[Name of Custom field to update]</FieldName>
                                <Value>[Value of the Custom field to update]</Value>
                            </CustomField>
                        </CustomFields>
                    </CreateCustomFieldDto>
                </Entities>
            </request>
        </UpdateCustomFields>
    </soap:Body>
</soap:Envelope>