Download OpenAPI specification:
PHPR API USING API-PLATFORM
Creates a project_sectors resource.
| id required | string project_sectors identifier |
The new project_sectors resource
| employees | Array of strings <iri-reference> [ items <iri-reference > ] |
| tasks | Array of strings <iri-reference> [ items <iri-reference > ] |
| hourlyRate required | string |
| responsibleEmployee | string or null <iri-reference> |
| product | string or null <iri-reference> |
| owningCorporation | string <iri-reference> |
| deletedAt | string or null <date-time> |
| slug required | string DB Identifier |
| customProperties | any Can contain anything (array, objects, nested objects...). |
| customData | Array of strings or null |
| createdAt | string <date-time> |
| updatedAt | string <date-time> |
| disabledAt | string or null <date-time> |
object (Collection.jsonld) | |
| upload_filename | string |
| upload_subfolder | string |
| upload_file | string |
| upload_file_link | string |
| number | string or null |
| priority | integer |
| color | string or null |
| icon | string or null |
| notes | string or null |
object | |
| title | string |
| parameterTitle | string |
| apiTranslations | Array of strings |
| descriptionInternal | any |
| currentLocale | string or null currentLocale is a non persisted field configured during postLoad event |
| defaultLocale | string Default: "en" |
| projects | Array of strings <iri-reference> [ items <iri-reference > ] // @todo Rename function for getProjectsSector OR rename property for projects |
| currentTitle | string or null |
| currentDescription | string or null |
| timestamp | string <date-time> Get createdAt. |
| upload_Subfolder | string |
| upload_File | string |
| upload_File_Link | string |
{- "hourlyRate": "string",
- "deletedAt": "2019-08-24T14:15:22Z",
- "slug": "string",
- "customProperties": null,
- "customData": [
- "string"
], - "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z",
- "disabledAt": "2019-08-24T14:15:22Z",
- "entityFiles": { },
- "upload_filename": "string",
- "upload_subfolder": "string",
- "upload_file": "string",
- "upload_file_link": "string",
- "number": "string",
- "priority": 0,
- "color": "string",
- "icon": "string",
- "notes": "string",
- "translations": {
- "property1": null,
- "property2": null
}, - "title": "string",
- "parameterTitle": "string",
- "apiTranslations": [
- "string"
], - "descriptionInternal": null,
- "currentLocale": "string",
- "defaultLocale": "en",
- "currentTitle": "string",
- "currentDescription": "string",
- "timestamp": "2019-08-24T14:15:22Z",
- "upload_Subfolder": "string",
- "upload_File": "string",
- "upload_File_Link": "string"
}{- "@context": "string",
- "@id": "string",
- "@type": "string",
- "employees": [
- {
- "@context": "string",
- "@id": "string",
- "@type": "string",
- "shortcode": "E",
- "deletedAt": "2019-08-24T14:15:22Z",
- "id": 0,
- "slug": "string",
- "customData": [
- "string"
], - "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z",
- "disabledAt": "2019-08-24T14:15:22Z",
- "toString": "string",
- "anonymousToken": "string",
- "uniqueId": "string",
- "taggingListing": "string",
- "enabled": true,
- "disabled": true
}
], - "tasks": [
- {
- "@context": "string",
- "@id": "string",
- "@type": "string",
- "parent": { },
- "shortcode": "T",
- "deletedAt": "2019-08-24T14:15:22Z",
- "id": 0,
- "slug": "string",
- "customData": [
- "string"
], - "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z",
- "disabledAt": "2019-08-24T14:15:22Z",
- "root": 0,
- "lvl": 0,
- "lft": 0,
- "rgt": 0,
- "toString": "string",
- "leaf": true,
- "leafApi": true,
- "levelApi": 0,
- "translationTitlePropertyName": "string",
- "translationDescriptionPropertyName": "string",
- "anonymousToken": "string",
- "uniqueId": "string",
- "taggingListing": "string",
- "enabled": true,
- "disabled": true
}
], - "hourlyRate": "string",
- "responsibleEmployee": {
- "@context": "string",
- "@id": "string",
- "@type": "string",
- "shortcode": "E",
- "deletedAt": "2019-08-24T14:15:22Z",
- "id": 0,
- "slug": "string",
- "customData": [
- "string"
], - "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z",
- "disabledAt": "2019-08-24T14:15:22Z",
- "toString": "string",
- "anonymousToken": "string",
- "uniqueId": "string",
- "taggingListing": "string",
- "enabled": true,
- "disabled": true
}, - "product": {
- "@context": "string",
- "@id": "string",
- "@type": "string",
- "shortcode": "A",
- "deletedAt": "2019-08-24T14:15:22Z",
- "id": 0,
- "slug": "string",
- "customData": [
- "string"
], - "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z",
- "disabledAt": "2019-08-24T14:15:22Z",
- "toString": "string",
- "sectorsListing": [
- "string"
], - "translationDescriptionPropertyName": "string",
- "anonymousToken": "string",
- "uniqueId": "string",
- "taggingListing": "string",
- "enabled": true,
- "disabled": true
}, - "owningCorporation": {
- "@context": "string",
- "@id": "string",
- "@type": "string",
- "shortcode": "CO",
- "deletedAt": "2019-08-24T14:15:22Z",
- "id": 0,
- "slug": "string",
- "customData": [
- "string"
], - "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z",
- "disabledAt": "2019-08-24T14:15:22Z",
- "toString": "string",
- "anonymousToken": "string",
- "uniqueId": "string",
- "taggingListing": "string",
- "enabled": true,
- "disabled": true
}, - "shortcode": "SE",
- "deletedAt": "2019-08-24T14:15:22Z",
- "id": 0,
- "slug": "string",
- "customData": [
- "string"
], - "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z",
- "disabledAt": "2019-08-24T14:15:22Z",
- "number": "string",
- "priority": 0,
- "color": "string",
- "icon": "string",
- "notes": "string",
- "parameterTitle": "string",
- "tasksListing": "string",
- "projectsSectorListing": "string",
- "employeesListing": "string",
- "translationsListing": "string",
- "customPropertiesListing": "string",
- "toString": "string",
- "translationDescriptionPropertyName": "string",
- "anonymousToken": "string",
- "uniqueId": "string",
- "taggingListing": "string",
- "enabled": true,
- "disabled": true
}