PHPR API (3.7.0)

Download OpenAPI specification:

PHPR API USING API-PLATFORM

people

Creates a people resource.

Creates a people resource.

Authorizations:
JWT
path Parameters
id
required
string

people identifier

Request Body schema:
required

The new people resource

logEntries
Array of strings <iri-reference> [ items <iri-reference > ]
timestamp
string <date-time>
corporations
Array of strings <iri-reference> [ items <iri-reference > ]
companyType
string or null <iri-reference>
user
Array of strings <iri-reference> [ items <iri-reference > ]

Get user's login

partner
Array of strings <iri-reference> [ items <iri-reference > ]
employee
Array of strings <iri-reference> [ items <iri-reference > ]

Get employee.

client
Array of strings <iri-reference> [ items <iri-reference > ]
contact
Array of strings <iri-reference> [ items <iri-reference > ]
supplier
Array of strings <iri-reference> [ items <iri-reference > ]

Get supplier.

shipper
Array of strings <iri-reference> [ items <iri-reference > ]

Get shipper.

competitor
Array of strings <iri-reference> [ items <iri-reference > ]
prospect
Array of strings <iri-reference> [ items <iri-reference > ]
applicant
Array of strings <iri-reference> [ items <iri-reference > ]
corporation
Array of strings <iri-reference> [ items <iri-reference > ]
coordinates
Array of strings <iri-reference> [ items <iri-reference > ]

Get coordinates.

followups
Array of strings <iri-reference> [ items <iri-reference > ]
inventoryEntries
Array of strings <iri-reference> [ items <iri-reference > ]
currency
string <iri-reference>

Get currency.

bills
Array of strings <iri-reference> [ items <iri-reference > ]

Get bills.

firstName
string or null
lastName
required
string or null
notes
string or null
authorNotes
Array of strings <iri-reference> [ items <iri-reference > ]
authorComments
Array of strings <iri-reference> [ items <iri-reference > ]
participantNotes
Array of strings <iri-reference> [ items <iri-reference > ]
personSkills
Array of strings <iri-reference> [ items <iri-reference > ]
approvals
Array of strings <iri-reference> [ items <iri-reference > ]
importJobs
Array of strings <iri-reference> [ items <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
login
string or null <iri-reference>

Get login.

upload_Subfolder
string
upload_File
string
upload_File_Link
string

Responses

Request samples

Content type
{}

Response samples

Content type
{
  • "@context": "string",
  • "@id": "string",
  • "@type": "string",
  • "timestamp": "2019-08-24T14:15:22Z",
  • "companyType": {
    },
  • "currency": {
    },
  • "firstName": "string",
  • "lastName": "string",
  • "notes": "string",
  • "shortcode": "U",
  • "deletedAt": "2019-08-24T14:15:22Z",
  • "id": 0,
  • "slug": "string",
  • "customData": [
    ],
  • "createdAt": "2019-08-24T14:15:22Z",
  • "updatedAt": "2019-08-24T14:15:22Z",
  • "disabledAt": "2019-08-24T14:15:22Z",
  • "toString": "string",
  • "personFullName": "string",
  • "inventoryEntriesListing": "string",
  • "personDefaultCoordinate": null,
  • "corporationsListing": "string",
  • "coordinatesListing": "string",
  • "billsListing": "string",
  • "userListing": "string",
  • "followupsListing": "string",
  • "partnerListing": "string",
  • "clientListing": "string",
  • "competitorListing": "string",
  • "contactListing": "string",
  • "applicantListing": "string",
  • "prospectListing": "string",
  • "shipperListing": "string",
  • "employeeListing": "string",
  • "supplierListing": "string",
  • "personSkillsListing": "string",
  • "authorNotesListing": "string",
  • "participantNotesListing": "string",
  • "approvalsListing": "string",
  • "authorCommentsListing": "string",
  • "anonymousToken": "string",
  • "uniqueId": "string",
  • "taggingListing": "string",
  • "enabled": true,
  • "disabled": true
}