...
Name | Type | Description | Available from version |
---|---|---|---|
Entities | CreateCustomFieldDto[] | And array of CreateCustomFieldDto 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 created, if false then all CustomFields that could be created were created. | 2.39 |
XML - CreateCustomFields example request
Code Block | ||
---|---|---|
| ||
<?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>
<CreateCustomFields 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>Test</FieldName>
<Value>Test</Value>
</CustomField>
</CustomFields>
</CreateCustomFieldDto>
</Entities>
</request>
</CreateCustomFields>
</soap:Body>
</soap:Envelope> |