Add or Update Custom Field
Query String Parameters
Name | Type | Description | Required |
---|---|---|---|
Action | String | AddUpdateCustomField | Required |
EntityType | string | Not Mandatory if WebUser Custom Field. | Required |
Caption | string | Caption of the custom field. | Required |
Type | string | Custom field type. | Required |
EntityGroupId | int | Required | |
Extra | string | Optional | |
Mandatory | bool | Set to 1 if an value is required. | Optional |
Options | int | Optional | |
DefaultValue | string | Set the default value. | Optional |
Order | short | Set order of custom fields. | Optional |
CustomFieldId | int | Supply Id to update existing custom field. | Optional |
MandatoryValue | string | Optional | |
MandatoryValueAlert | string | Optional |
Response Codes
Code | Message | Information |
---|---|---|
0 | Response Data | See 'Response' example tab |
Example
- Request
- Response
Request URL
https://webservice.bigchange.com/v01/services.ashx?action=AddUpdateCustomField&EntityType=1&Caption=Test21&Type=Text&EntityGroupId=14971
Response Data
{ "Code": 0, "Result": "Field Added ID ID = 1112959" }