PHPR API (3.7.0)

Download OpenAPI specification:

PHPR API USING API-PLATFORM

projects

Retrieves a projects resource.

Retrieves a projects resource.

Authorizations:
JWT
path Parameters
id
required
string

projects identifier

Responses

Response samples

Content type
{
  • "@context": "string",
  • "@id": "string",
  • "@type": "string",
  • "chargedBillLines": [
    ],
  • "chargedRents": [
    ],
  • "chargedTimesheets": [
    ],
  • "chargedAllowances": [
    ],
  • "code": "string",
  • "client": {
    },
  • "salesman": {
    },
  • "inchargeEmployee": {
    },
  • "estimatedAdmin": "string",
  • "materialPrice": "string",
  • "value": "string",
  • "priority": {
    },
  • "status": {
    },
  • "type": {
    },
  • "dateRequest": "2019-08-24T14:15:22Z",
  • "dateStart": "2019-08-24T14:15:22Z",
  • "deadline": "2019-08-24T14:15:22Z",
  • "dateEnd": "2019-08-24T14:15:22Z",
  • "reviewDate": "2019-08-24T14:15:22Z",
  • "notes": "string",
  • "owningCorporation": {
    },
  • "shortcode": "W",
  • "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",
  • "disabledAt": "2019-08-24T14:15:22Z",
  • "title": "string",
  • "projectsWebsite": "string",
  • "toString": "string",
  • "projectSectorsListing": "string",
  • "tasksListing": "string",
  • "invoicesListing": "string",
  • "projectRemainingTime": "string",
  • "bonisListing": "string",
  • "billsListing": "string",
  • "followupsListing": "string",
  • "rentsListing": "string",
  • "allowancesListing": "string",
  • "customPropertiesListing": "string",
  • "projectNotesListing": "string",
  • "translationsListing": "string",
  • "description": "string",
  • "translationTitlePropertyName": "string",
  • "translationDescriptionPropertyName": "string",
  • "anonymousToken": "string",
  • "uniqueId": "string",
  • "taggingListing": "string",
  • "enabled": true,
  • "disabled": true
}

Replaces the projects resource.

Replaces the projects resource.

Authorizations:
JWT
path Parameters
id
required
string

projects identifier

Request Body schema:
required

The updated projects resource

code
string or null
required
object (person_clients.jsonld-add_post)

Clients.

required
object (person_employees.jsonld-add_post)

Employes.

required
object (person_employees.jsonld-add_post)

Employes.

estimatedAdmin
required
string
materialPrice
required
string
value
required
string
required
object (project_priorities.jsonld-add_post)

Priority.

required
object (project_statuses.jsonld-add_post)

Status.

required
object (project_types.jsonld-add_post)

Type.

dateRequest
required
string <date-time>
dateStart
required
string <date-time>
deadline
string or null <date-time>
dateEnd
string or null <date-time>
reviewDate
string or null <date-time>
notes
string 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>
apiTranslations
Array of strings
title
string or null
projectsWebsite
string or null

Get projectsWebsite.

Responses

Request samples

Content type
{
  • "code": "string",
  • "client": {
    },
  • "salesman": {
    },
  • "inchargeEmployee": {
    },
  • "estimatedAdmin": "string",
  • "materialPrice": "string",
  • "value": "string",
  • "priority": {
    },
  • "status": {
    },
  • "type": {
    },
  • "dateRequest": "2019-08-24T14:15:22Z",
  • "dateStart": "2019-08-24T14:15:22Z",
  • "deadline": "2019-08-24T14:15:22Z",
  • "dateEnd": "2019-08-24T14:15:22Z",
  • "reviewDate": "2019-08-24T14:15:22Z",
  • "notes": "string",
  • "deletedAt": "2019-08-24T14:15:22Z",
  • "slug": "string",
  • "customData": [
    ],
  • "disabledAt": "2019-08-24T14:15:22Z",
  • "apiTranslations": [
    ],
  • "title": "string",
  • "projectsWebsite": "string"
}

Response samples

Content type
{
  • "@context": "string",
  • "@id": "string",
  • "@type": "string",
  • "chargedBillLines": [
    ],
  • "chargedRents": [
    ],
  • "chargedTimesheets": [
    ],
  • "chargedAllowances": [
    ],
  • "code": "string",
  • "client": {
    },
  • "salesman": {
    },
  • "inchargeEmployee": {
    },
  • "estimatedAdmin": "string",
  • "materialPrice": "string",
  • "value": "string",
  • "priority": {
    },
  • "status": {
    },
  • "type": {
    },
  • "dateRequest": "2019-08-24T14:15:22Z",
  • "dateStart": "2019-08-24T14:15:22Z",
  • "deadline": "2019-08-24T14:15:22Z",
  • "dateEnd": "2019-08-24T14:15:22Z",
  • "reviewDate": "2019-08-24T14:15:22Z",
  • "notes": "string",
  • "owningCorporation": {
    },
  • "shortcode": "W",
  • "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",
  • "disabledAt": "2019-08-24T14:15:22Z",
  • "title": "string",
  • "projectsWebsite": "string",
  • "toString": "string",
  • "projectSectorsListing": "string",
  • "tasksListing": "string",
  • "invoicesListing": "string",
  • "projectRemainingTime": "string",
  • "bonisListing": "string",
  • "billsListing": "string",
  • "followupsListing": "string",
  • "rentsListing": "string",
  • "allowancesListing": "string",
  • "customPropertiesListing": "string",
  • "projectNotesListing": "string",
  • "translationsListing": "string",
  • "description": "string",
  • "translationTitlePropertyName": "string",
  • "translationDescriptionPropertyName": "string",
  • "anonymousToken": "string",
  • "uniqueId": "string",
  • "taggingListing": "string",
  • "enabled": true,
  • "disabled": true
}

Removes the projects resource.

Removes the projects resource.

Authorizations:
JWT
path Parameters
id
required
string

projects identifier

Responses