This API returns fields available for new hires with standard Ascentis fields identified by their name. This name should be used when sending values to /newhire. Additionally, the field descriptor contains: a human readable description is included, a default value, and a required attribute if the field is mandatory to create a new hire. Enumerated fields contain a list of value descriptors for each allowed value.
Resource URL| Example Request | |
| GET | https://serverurl/api/v1.1/fields |
| Return Value |
| List of Ascentis Fields |
|
| FieldName: Name of the field. This field name is unique. |
| Type: Type of the field among: string, date, boolean, integer, double. |
| Description: Human readable description of the field. |
| Required: (optional) if true, the field is required to create a new hire. |
| Default: (optional) if included this is the default value for new hires if field is not specified. If the field is required, this is the suggested default. |
| Value Description: if the value tag is included this is the description of the given value for this field. |
| Value: if the value tag is included this is one of the allowed value for the field. |
| Attachment Name: Human readable type of attachment (e.g. "Resume", "I-9"...) |
| Attachment Type: Type of attachment ("Employee", "Benefits", "Compensation"). This will tell you where the attachment will end up in Ascentis HR. |
| Attachment ID: ID of the attachment. You will need this identifier when uploading a new attachment. |
| Return Example |
|
| |
| Resource Information | |
| Requires Authentication? | Yes |
| Response Formats | json xml |
| HTTP Methods | GET |
| Request Content | N/A |
| Return Code | 200: Response Completed 403: Incorrect Authorization |