PHPR API (3.7.0)

Download OpenAPI specification:

PHPR API USING API-PLATFORM

project_sectors

Retrieves the collection of project_sectors resources.

Retrieves the collection of project_sectors resources.

Authorizations:
JWT
query Parameters
page
integer
Default: 1

The collection page number

itemsPerPage
integer [ 0 .. 1000 ]
Default: 30

The number of items per page

exists[projectsSector]
boolean
exists[employees]
boolean
exists[tasks]
boolean
exists[responsibleEmployee]
boolean
exists[product]
boolean
exists[deletedAt]
boolean
exists[customProperties]
boolean
exists[disabledAt]
boolean
exists[number]
boolean
exists[notes]
boolean
exists[color]
boolean
exists[icon]
boolean
properties[]
Array of strings

Allows you to reduce the response to contain only the properties you need. If your desired property is nested, you can address it using nested arrays. Example: properties[]={propertyName}&properties[]={anotherPropertyName}&properties[{nestedPropertyParent}][]={nestedProperty}

enabled
boolean

Filter entities by enabled (1), disabled (0), or all (nothing).

search
string
tag
string

Filter using tag.

order[hourlyRate]
string
Default: "asc"
Enum: "asc" "desc"
order[deletedAt]
string
Default: "asc"
Enum: "asc" "desc"
order[createdAt]
string
Default: "asc"
Enum: "asc" "desc"
order[updatedAt]
string
Default: "asc"
Enum: "asc" "desc"
order[disabledAt]
string
Default: "asc"
Enum: "asc" "desc"
order[id]
string
Default: "asc"
Enum: "asc" "desc"
order[priority]
string
Default: "asc"
Enum: "asc" "desc"
order[slug]
string
Default: "asc"
Enum: "asc" "desc"
order[number]
string
Default: "asc"
Enum: "asc" "desc"
order[color]
string
Default: "asc"
Enum: "asc" "desc"
order[icon]
string
Default: "asc"
Enum: "asc" "desc"
order[notes]
string
Default: "asc"
Enum: "asc" "desc"
color_end_with
string
color_partial
string
color_start_with
string
color
string
color[]
Array of strings
createdAt[before]
string
createdAt[strictly_before]
string
createdAt[after]
string
createdAt[strictly_after]
string
deletedAt[before]
string
deletedAt[strictly_before]
string
deletedAt[after]
string
deletedAt[strictly_after]
string
disabledAt[before]
string
disabledAt[strictly_before]
string
disabledAt[after]
string
disabledAt[strictly_after]
string
hourlyRate_range[between]
string
hourlyRate_range[gt]
string
hourlyRate_range[gte]
string
hourlyRate_range[lt]
string
hourlyRate_range[lte]
string
hourlyRate
string
hourlyRate[]
Array of strings
icon_end_with
string
icon_partial
string
icon_start_with
string
icon
string
icon[]
Array of strings
id_range[between]
string
id_range[gt]
string
id_range[gte]
string
id_range[lt]
string
id_range[lte]
string
id
integer
id[]
Array of integers
notes_end_with
string
notes_partial
string
notes_start_with
string
notes
string
notes[]
Array of strings
number_end_with
string
number_partial
string
number_start_with
string
number
string
number[]
Array of strings
priority_range[between]
string
priority_range[gt]
string
priority_range[gte]
string
priority_range[lt]
string
priority_range[lte]
string
priority
integer
priority[]
Array of integers
product
string
product[]
Array of strings
responsibleEmployee
string
responsibleEmployee[]
Array of strings
slug_end_with
string
slug_partial
string
slug_start_with
string
slug
string
slug[]
Array of strings
updatedAt[before]
string
updatedAt[strictly_before]
string
updatedAt[after]
string
updatedAt[strictly_after]
string

Responses

Response samples

Content type
{
  • "hydra:member": [
    ],
  • "hydra:totalItems": 0,
  • "hydra:view": {
    },
  • "hydra:search": {
    }
}

Creates a project_sectors resource.

Creates a project_sectors resource.

Authorizations:
JWT
Request Body schema:
required

The new project_sectors resource

hourlyRate
required
string
person_employees.jsonld-add_post (object) or null
products.jsonld-add_post (object) or null
deletedAt
string or null <date-time>
slug
required
string

DB Identifier

customData
Array of strings or null
disabledAt
string or null <date-time>
number
string or null
priority
integer
color
string or null
icon
string or null
notes
string or null
parameterTitle
string
apiTranslations
Array of strings

Responses

Request samples

Content type
{
  • "hourlyRate": "string",
  • "responsibleEmployee": {
    },
  • "product": {
    },
  • "deletedAt": "2019-08-24T14:15:22Z",
  • "slug": "string",
  • "customData": [
    ],
  • "disabledAt": "2019-08-24T14:15:22Z",
  • "number": "string",
  • "priority": 0,
  • "color": "string",
  • "icon": "string",
  • "notes": "string",
  • "parameterTitle": "string",
  • "apiTranslations": [
    ]
}

Response samples

Content type
{
  • "@context": "string",
  • "@id": "string",
  • "@type": "string",
  • "employees": [],
  • "tasks": [],
  • "hourlyRate": "string",
  • "responsibleEmployee": "https://example.com/",
  • "product": "https://example.com/",
  • "owningCorporation": "https://example.com/",
  • "shortcode": "SE",
  • "deletedAt": "2019-08-24T14:15:22Z",
  • "id": 0,
  • "slug": "string",
  • "customProperties": null,
  • "customData": [
    ],
  • "createdAt": "2019-08-24T14:15:22Z",
  • "updatedAt": "2019-08-24T14:15:22Z",
  • "tags": [
    ],
  • "disabledAt": "2019-08-24T14:15:22Z",
  • "entityFiles": {
    },
  • "number": "string",
  • "priority": 0,
  • "color": "string",
  • "icon": "string",
  • "notes": "string",
  • "translations": {
    },
  • "title": "string",
  • "parameterTitle": "string",
  • "apiTranslations": [
    ],
  • "newTranslations": {
    },
  • "currentLocale": "string",
  • "defaultLocale": "en",
  • "tasksListing": "string",
  • "projects": [],
  • "projectsSectorListing": "string",
  • "employeesListing": "string",
  • "translationsListing": "string",
  • "customPropertiesListing": "string",
  • "apiShortname": "string",
  • "toString": "string",
  • "translationTitlePropertyName": "string",
  • "currentTranslation": "string",
  • "currentTitle": "string",
  • "currentDescription": "string",
  • "translationEntityClass": null,
  • "translationDescriptionPropertyName": "string",
  • "fullEntityString": "string",
  • "anonymousToken": "string",
  • "tokenString": "string",
  • "entityMetatadaEndpoint": "string",
  • "filesListing": "string",
  • "modificationHistoryListing": "string",
  • "notesListing": "string",
  • "ownershipsListing": "string",
  • "approvalsListing": "string",
  • "tableName": "string",
  • "fQCN": "string",
  • "uniqueId": "string",
  • "apiCustomData": null,
  • "timestamp": "2019-08-24T14:15:22Z",
  • "deleted": true,
  • "taggableType": "string",
  • "taggableId": 0,
  • "taggingListing": "string",
  • "enabled": true,
  • "enabledVirtual": true,
  • "disabled": true,
  • "entityStorageFolder": "string"
}