PHPR API (3.7.0)

Download OpenAPI specification:

PHPR API USING API-PLATFORM

inventory_entries

Creates a inventory_entries resource.

Creates a inventory_entries resource.

Authorizations:
JWT
path Parameters
id
required
string

inventory_entries identifier

Request Body schema:
required

The new inventory_entries resource

deletedAt
string <date-time>

// @todo Remove delete_status mapping on a standard level OR add delete_status to DB

timestamp
string <date-time>
number
required
string
product
string <iri-reference>
description
string or null
bill
string or null <iri-reference>
invoice
string or null <iri-reference>
task
string or null <iri-reference>
person
string <iri-reference>
notes
string or null
datetime
required
string <date-time>
owningCorporation
string <iri-reference>
batch
string or null <iri-reference>
transferEntryId
integer or null
scan
string or null

Raw code scanned

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
upload_Subfolder
string
upload_File
string
upload_File_Link
string

Responses

Request samples

Content type
{
  • "deletedAt": "2019-08-24T14:15:22Z",
  • "timestamp": "2019-08-24T14:15:22Z",
  • "number": "string",
  • "product": "https://example.com/",
  • "description": "string",
  • "invoice": "https://example.com/",
  • "notes": "string",
  • "datetime": "2019-08-24T14:15:22Z",
  • "owningCorporation": "https://example.com/",
  • "transferEntryId": 0,
  • "scan": "string",
  • "slug": "string",
  • "customProperties": null,
  • "customData": [
    ],
  • "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",
  • "upload_Subfolder": "string",
  • "upload_File": "string",
  • "upload_File_Link": "string"
}

Response samples

Content type
{
  • "@context": "string",
  • "@id": "string",
  • "@type": "string",
  • "deletedAt": "2019-08-24T14:15:22Z",
  • "timestamp": "2019-08-24T14:15:22Z",
  • "number": "string",
  • "product": {
    },
  • "description": "string",
  • "bill": {
    },
  • "invoice": {
    },
  • "task": {
    },
  • "person": {
    },
  • "notes": "string",
  • "datetime": "2019-08-24T14:15:22Z",
  • "owningCorporation": {
    },
  • "batch": {
    },
  • "transferEntryId": 0,
  • "scan": "string",
  • "shortcode": "LY",
  • "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",
  • "rawDescription": "string",
  • "origin": [
    ],
  • "customPropertiesListing": "string",
  • "anonymousToken": "string",
  • "uniqueId": "string",
  • "taggingListing": "string",
  • "enabled": true,
  • "disabled": true
}