Schemas can be thought of as a blueprint. They define the fields that can be stored on a project and the sections that those fields belong to. When creating or updating projects, the schema is checked to ensure that all required fields are present, and that all fields have the correct data type.
For help with authorization, see https://developer.hcssapps.com/getting-started/request-tokens
Unauthorized. See https://developer.hcssapps.com/getting-started/troubleshoot-unauthorized for more information.
Forbidden. See https://developer.hcssapps.com/getting-started/troubleshoot-forbidden for more information.
{- "results": [
- {
- "id": "0c8b3865-23a8-4b74-8075-4cc95b7cea56",
- "schemaName": "projects",
- "lastModified": "2022-01-01T12:01:48.000Z",
- "dateCreated": "2022-01-01T12:01:48.000Z",
- "businessUnitId": "308e83a3-59bf-4422-9803-a98120b51770",
- "fields": {
- "name": {
- "id": "name",
- "alias": "name",
- "name": "Project Name",
- "type": 0,
- "config": {
- "link": "id",
- "heavyBid": {
- "mappedFieldIds": [
- "estimateName",
- "projectName",
- "name"
]
}
}, - "readOnly": false,
- "required": true,
- "standard": true,
- "protected": true,
- "hiddenInTable": false,
- "hiddenInForm": false,
- "lookup": false,
- "adminOnly": false
}, - "preconId": {
- "id": "preconId",
- "alias": "preconId",
- "name": "Pre-Con ID",
- "type": 17,
- "config": { },
- "readOnly": false,
- "required": false,
- "standard": true,
- "protected": true,
- "hiddenInTable": true,
- "hiddenInForm": true,
- "lookup": false,
- "adminOnly": false
}, - "lastModified": {
- "id": "lastModified",
- "alias": "lastModified",
- "name": "Last Modified",
- "type": 9,
- "config": { },
- "readOnly": true,
- "required": false,
- "standard": true,
- "protected": true,
- "hiddenInTable": false,
- "hiddenInForm": false,
- "lookup": true,
- "adminOnly": false
}, - "jobstatus": {
- "id": "jobstatus",
- "alias": "jobstatus",
- "name": "Project Status",
- "type": 3,
- "config": {
- "listValues": [
- {
- "display": "Prospective Work",
- "value": "Prospective Work",
- "hbValue": "Prospective Work"
}, - {
- "display": "Change Order",
- "value": "Change Order",
- "hbValue": "Change Order"
}, - {
- "display": "Estimating",
- "value": "Estimating"
}, - {
- "display": "Submitted",
- "value": "Submitted",
- "hbValue": "Submitted"
}, - {
- "display": "Awarded",
- "value": "Awarded",
- "hbValue": "Awarded"
}, - {
- "display": "Will Not Bid",
- "value": "Will Not Bid"
}
], - "heavyBid": {
- "mappedFieldIds": [
- "status"
]
}, - "customSort": true
}, - "readOnly": false,
- "required": false,
- "standard": true,
- "protected": false,
- "hiddenInTable": false,
- "hiddenInForm": false,
- "lookup": false,
- "adminOnly": false
}, - "state": {
- "id": "state",
- "alias": "state",
- "name": "State",
- "type": 4,
- "config": {
- "heavyBid": {
- "mappedFieldIds": [
- "state"
]
}
}, - "readOnly": false,
- "required": false,
- "standard": true,
- "protected": false,
- "hiddenInTable": false,
- "hiddenInForm": false,
- "lookup": false,
- "adminOnly": false
}, - "7d5347ba-29ae-4d19-868f-cf5d9d3e7748": {
- "id": "7d5347ba-29ae-4d19-868f-cf5d9d3e7748",
- "alias": "customField1",
- "name": "Custom Field 1",
- "type": 15,
- "config": {
- "latLong": true
}, - "readOnly": false,
- "required": false,
- "standard": false,
- "protected": false,
- "hiddenInTable": false,
- "hiddenInForm": false,
- "lookup": false,
- "adminOnly": false
}
}, - "sections": {
- "efac79ed-2b22-4381-897d-39bf0ef88d6f": {
- "id": "efac79ed-2b22-4381-897d-39bf0ef88d6f",
- "name": "Project Details",
- "fields": [
- "name",
- "preconId",
- "lastModified",
- "lastModifiedBy",
- "jobstatus",
- "state",
- "7d5347ba-29ae-4d19-868f-cf5d9d3e7748"
]
}
}, - "orderedSections": [
- "efac79ed-2b22-4381-897d-39bf0ef88d6f"
], - "dataSyncPreference": "HeavyBid"
}
], - "nextPageToken": null,
- "hasNextPage": false
}
See GET for more information.
For help with authorization, see https://developer.hcssapps.com/getting-started/request-tokens
Unauthorized. See https://developer.hcssapps.com/getting-started/troubleshoot-unauthorized for more information.
Forbidden. See https://developer.hcssapps.com/getting-started/troubleshoot-forbidden for more information.
{- "id": "0c8b3865-23a8-4b74-8075-4cc95b7cea56",
- "schemaName": "projects",
- "lastModified": "2022-01-01T12:01:48.000Z",
- "dateCreated": "2022-01-01T12:01:48.000Z",
- "businessUnitId": "308e83a3-59bf-4422-9803-a98120b51770",
- "fields": {
- "name": {
- "id": "name",
- "alias": "name",
- "name": "Project Name",
- "type": 0,
- "config": {
- "link": "id",
- "heavyBid": {
- "mappedFieldIds": [
- "estimateName",
- "projectName",
- "name"
]
}
}, - "readOnly": false,
- "required": true,
- "standard": true,
- "protected": true,
- "hiddenInTable": false,
- "hiddenInForm": false,
- "lookup": false,
- "adminOnly": false
}, - "preconId": {
- "id": "preconId",
- "alias": "preconId",
- "name": "Pre-Con ID",
- "type": 17,
- "config": { },
- "readOnly": false,
- "required": false,
- "standard": true,
- "protected": true,
- "hiddenInTable": true,
- "hiddenInForm": true,
- "lookup": false,
- "adminOnly": false
}, - "lastModified": {
- "id": "lastModified",
- "alias": "lastModified",
- "name": "Last Modified",
- "type": 9,
- "config": { },
- "readOnly": true,
- "required": false,
- "standard": true,
- "protected": true,
- "hiddenInTable": false,
- "hiddenInForm": false,
- "lookup": true,
- "adminOnly": false
}, - "jobstatus": {
- "id": "jobstatus",
- "alias": "jobstatus",
- "name": "Project Status",
- "type": 3,
- "config": {
- "listValues": [
- {
- "display": "Prospective Work",
- "value": "Prospective Work",
- "hbValue": "Prospective Work"
}, - {
- "display": "Change Order",
- "value": "Change Order",
- "hbValue": "Change Order"
}, - {
- "display": "Estimating",
- "value": "Estimating"
}, - {
- "display": "Submitted",
- "value": "Submitted",
- "hbValue": "Submitted"
}, - {
- "display": "Awarded",
- "value": "Awarded",
- "hbValue": "Awarded"
}, - {
- "display": "Will Not Bid",
- "value": "Will Not Bid"
}
], - "heavyBid": {
- "mappedFieldIds": [
- "status"
]
}, - "customSort": true
}, - "readOnly": false,
- "required": false,
- "standard": true,
- "protected": false,
- "hiddenInTable": false,
- "hiddenInForm": false,
- "lookup": false,
- "adminOnly": false
}, - "state": {
- "id": "state",
- "alias": "state",
- "name": "State",
- "type": 4,
- "config": {
- "heavyBid": {
- "mappedFieldIds": [
- "state"
]
}
}, - "readOnly": false,
- "required": false,
- "standard": true,
- "protected": false,
- "hiddenInTable": false,
- "hiddenInForm": false,
- "lookup": false,
- "adminOnly": false
}, - "7d5347ba-29ae-4d19-868f-cf5d9d3e7748": {
- "id": "7d5347ba-29ae-4d19-868f-cf5d9d3e7748",
- "alias": "customField1",
- "name": "Custom Field 1",
- "type": 15,
- "config": {
- "latLong": true
}, - "readOnly": false,
- "required": false,
- "standard": false,
- "protected": false,
- "hiddenInTable": false,
- "hiddenInForm": false,
- "lookup": false,
- "adminOnly": false
}
}, - "sections": {
- "efac79ed-2b22-4381-897d-39bf0ef88d6f": {
- "id": "efac79ed-2b22-4381-897d-39bf0ef88d6f",
- "name": "Project Details",
- "fields": [
- "name",
- "preconId",
- "lastModified",
- "lastModifiedBy",
- "jobstatus",
- "state",
- "7d5347ba-29ae-4d19-868f-cf5d9d3e7748"
]
}
}, - "orderedSections": [
- "efac79ed-2b22-4381-897d-39bf0ef88d6f"
], - "dataSyncPreference": "HeavyBid"
}
This endpoint will change how a project field is referenced in the Projects API.
Caution: Updating the alias of an existing field will likely break existing integrations with the projects API.
For help with authorization, see https://developer.hcssapps.com/getting-started/request-tokens
Empty response indicating that the field alias was successfully updated
Unauthorized. See https://developer.hcssapps.com/getting-started/troubleshoot-unauthorized for more information.
Forbidden. See https://developer.hcssapps.com/getting-started/troubleshoot-forbidden for more information.
{- "existingFieldAlias": "string",
- "newFieldAlias": "string"
}