NOTE: It is mandatory that the fields with isRequired set to true be passed in as part of the request.
Example: Say you have 2 project fields on an account "Budget" and "City" where isRequired is set to true on "Budget".
FieldDefinition Example Response - GET ProjectFields (/api/v{version}/accounts/{id}/project-fields)
[
If you only send in the following your request will result in a 400.
[
Validation
Other: Free text. Max length: 2400
Address: Free text. Max length: 250
Project Number: Free text. Max length: 250
Budget: Currency. Starts with 0 to 15 digits of 0-9 then optionally followed by . with 0 to 2 digits of 0-9
External ID: Free text. Max length: 250
Labor Hours (Salaried): Positive integer. Must be greater than 0 and not exceed 2,147,483,647 (Int32.MaxValue). Decimals are not allowed. This is a system field that requires both Project Forecasting and Standard modules to be enabled.
Labor Hours (Hourly): Positive integer. Must be greater than 0 and not exceed 2,147,483,647 (Int32.MaxValue). Decimals are not allowed. This is a system field that requires both Project Forecasting and Hourly Profile modules to be enabled.
Single List Selection: A list where only 1 value can be selected. When creating the list, each value should be between 1 and 250 non-empty characters.
Multi List Selection: A list where 0 or more values can be selected. When creating the list, each value should be between 1 and 250 non-empty characters.
Date selector: Format: dd/MM/yyyy
Checkbox: Accepted values: true or false
Permissions
Project: Write
Private: Read
Finance: Read
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||
204No Content - Success
400Bad Request
401Unauthorized
403Forbidden
422Validation fail - One more more field IDs might not be valid