Skip to main content

AssignmentPro API - Custom Fields

Custom Fields are supported in the API. When enabled in AssignmentPro, Custom Fields will be available as attributes on their parent objects, like Assignment or Employee, for GET, POST and PATCH (Read

Updated over 2 weeks ago

Custom Fields are supported in the API. When enabled in AssignmentPro, Custom Fields will be available as attributes on their parent objects, like Assignment or Employee, for GET, POST and PATCH (Read, Create and Update) requests:

Example of three Custom Fields tied to an Assignment record in AssignmentPro

mceclip0.png

Example of the three Custom Fields in Swagger

mceclip1.png

In order to return Custom Fields using query string parameters to return a subset of attributes available on the object, the field name must be prefixed with "customFields".

Example of a query string to return the three Custom Fields linked to the Assignment. All enabled Custom Fields will be returned by default.

mceclip2.png

If a POST or PATCH request is made and includes an attribute for a Custom Field that is not enabled, an error will be generated and returned to the API Consumer.

Things to Note

  • For enabled Custom Fields that are configured to behave as money - with an Amount and Currency - a corresponding Currency attribute will now be available for requests

  • When a currency is populated, it is shown in responses, else null is shown when no currency is provided

Did this answer your question?