ERP

ERP API Rest
Contact Info: julesmalard@aol.com
Version: 1.0.0
BasePath:http://api.op-time.com/ERP/v1
All rights reserved

Access

Methods

[ Jump to Models ]

Table of Contents

Lamination

LaminationConstraint

Substrate

Varnish

VarnishConstraint

Lamination

Up
delete /lamination/
delete lamination (deleteLamination)
Delete lamination.

Query parameters

id (required)
Query Parameter — Lamination id

Responses

200

Lamination deleted

400

Invalid json

Up
get /laminations/
get all laminations (getAllLaminations)
Get all laminations value.

Return type

array[laminations]

Produces

This API call produces the following media types according to the Accept request header; the media type will be conveyed by the Content-Type response header.

Responses

200

Get all laminations

400

No varnish found

Up
get /lamination/
get lamination (getLamination)
Get lamination value.

Query parameters

id (required)
Query Parameter — Lamination id

Return type

array[laminations]

Produces

This API call produces the following media types according to the Accept request header; the media type will be conveyed by the Content-Type response header.

Responses

200

Get lamination

400

Invalid id

Up
post /lamination/
add lamination (postLamination)
Post lamination value.

Consumes

This API call consumes the following media types via the Content-Type request header:

Request body

body lamination (required)
Body Parameter — Lamination value to add

Responses

200

Lamination created

400

Invalid json

Up
put /lamination/
modify lamination (putLamination)
Put lamination value.

Consumes

This API call consumes the following media types via the Content-Type request header:

Request body

body laminations (required)
Body Parameter — Lamination value to modify

Responses

200

Lamination modified

400

Invalid json

LaminationConstraint

Up
delete /constraint/lamination/
delete lamination constraint (deleteConstraintLamination)
Delete lamination constraint.

Query parameters

id (required)
Query Parameter — Lamination constraint id

Responses

200

Lamination constraint deleted

400

Invalid json

Up
get /constraint/lamination/
get all constraint between substrate and lamination (getAllConstraintLamination)
Get all constraints or one constraint if id in query is set

Query parameters

id (optional)
Query Parameter — Lamination constraint id

Return type

array[constraint_substrate_lamination_id]

Produces

This API call produces the following media types according to the Accept request header; the media type will be conveyed by the Content-Type response header.

Responses

200

Get constraint

400

No lamination constraint found

Up
post /constraint/lamination/
add lamination constraint (postConstraintLamination)
Post lamination constraint value.

Consumes

This API call consumes the following media types via the Content-Type request header:

Request body

Body Parameter — Lamination constraint value to add

Responses

200

Lamination constraint created

400

Invalid json

Up
put /constraint/lamination/
modify lamination constraint (putConstraintLamination)
Put lamination constraint value.

Consumes

This API call consumes the following media types via the Content-Type request header:

Request body

Body Parameter — Lamination constraint value to modify

Responses

200

Lamination constraint modified

400

Invalid json

Substrate

Up
delete /substrate/
delete substrate (deleteSubstrate)
Delete substrate.

Query parameters

id (required)
Query Parameter — Substrate id

Responses

200

Substrate deleted

400

Invalid json

Up
get /substrates/
get all substrates (getAllSubstrates)
Get all substrates value.

Return type

array[substrates]

Produces

This API call produces the following media types according to the Accept request header; the media type will be conveyed by the Content-Type response header.

Responses

200

Get all substrates

400

No substrate found

Up
get /substrate/
get substrate (getSubstrate)
Get substrate value.

Query parameters

id (required)
Query Parameter — Substrate id

Responses

200

Substrate created

400

Invalid id

Up
post /substrate/
add substrate (postSubstrate)
Post substrate value.

Consumes

This API call consumes the following media types via the Content-Type request header:

Request body

body substrate (required)
Body Parameter — Substrate value to add

Responses

200

Substrate created

400

Invalid json

Up
put /substrate/
modify substrate (putSubstrate)
Put substrate value.

Consumes

This API call consumes the following media types via the Content-Type request header:

Request body

body substrates (required)
Body Parameter — Substrate value to modify

Responses

200

Substrate modified

400

Invalid json

Varnish

Up
delete /varnish/
delete varnish (deleteVarnish)
Delete varnish.

Query parameters

id (required)
Query Parameter — Varnish id

Responses

200

Varnish deleted

400

Invalid json

Up
get /varnishes/
get all varnishes (getAllVarnishes)
Get all varnishes value.

Return type

array[varnishes]

Produces

This API call produces the following media types according to the Accept request header; the media type will be conveyed by the Content-Type response header.

Responses

200

Get all varnishes

400

No varnish found

Up
get /varnish/
get varnish (getVarnish)
Get varnish value.

Query parameters

id (required)
Query Parameter — Varnish id

Return type

array[varnishes]

Produces

This API call produces the following media types according to the Accept request header; the media type will be conveyed by the Content-Type response header.

Responses

200

Get varnish

400

Invalid id

Up
post /varnish/
add varnish (postVarnish)
Post varnish value.

Consumes

This API call consumes the following media types via the Content-Type request header:

Request body

body varnish (required)
Body Parameter — Varnish value to add

Responses

200

Varnish created

400

Invalid json

Up
put /varnish/
modify varnish (putVarnish)
Put varnish value.

Consumes

This API call consumes the following media types via the Content-Type request header:

Request body

body varnishes (required)
Body Parameter — Varnish value to modify

Responses

200

Varnish modified

400

Invalid json

VarnishConstraint

Up
delete /constraint/varnish/
delete varnish constraint (deleteConstraintVarnish)
Delete varnish constraint.

Query parameters

id (required)
Query Parameter — Varnish constraint id

Responses

200

Varnish constraint deleted

400

Invalid json

Up
get /constraint/varnish/
get all constraint between substrate and varnish (getAllConstraintVarnish)
Get all constraints or one constraint if id in query is set

Query parameters

id (optional)
Query Parameter — Varnish constraint id

Return type

array[constraint_substrate_varnish_id]

Produces

This API call produces the following media types according to the Accept request header; the media type will be conveyed by the Content-Type response header.

Responses

200

Get constraint

400

No varnish constraint found

Up
post /constraint/varnish/
add varnish constraint (postConstraintVarnish)
Post varnish constraint value.

Consumes

This API call consumes the following media types via the Content-Type request header:

Request body

Body Parameter — Varnish constraint value to add

Responses

200

Varnish constraint created

400

Invalid json

Up
put /constraint/varnish/
modify varnish constraint (putConstraintVarnish)
Put varnish constraint value.

Consumes

This API call consumes the following media types via the Content-Type request header:

Request body

Body Parameter — Varnish constraint value to modify

Responses

200

Varnish constraint modified

400

Invalid json

Models

[ Jump to Methods ]

Table of Contents

  1. constraint_substrate_lamination
  2. constraint_substrate_lamination_id
  3. constraint_substrate_varnish
  4. constraint_substrate_varnish_id
  5. lamination
  6. laminations
  7. substrate
  8. substrates
  9. varnish
  10. varnishes

constraint_substrate_lamination Up

id (optional)
example: 8
id_substrate
example: 4
id_lamination
example: 5

constraint_substrate_lamination_id Up

id
example: 8
id_substrate
example: 4
id_lamination
example: 5

constraint_substrate_varnish Up

id (optional)
example: 8
id_substrate
example: 4
id_varnish
example: 5

constraint_substrate_varnish_id Up

id
example: 8
id_substrate
example: 4
id_varnish
example: 5

lamination Up

name
example: Pelliculage mat
description
example: Protection mat
price
example: 1.625
englishName
example: Matte lamination

laminations Up

id
example: 15
name
example: Pelliculage mat
description
example: Protection mat
price
example: 1.625
englishName
example: Matte lamination

substrate Up

name
example: PP blanc
description
example: Polypropylène blanc
price
example: 1.025
englishName
example: White polypropylene

substrates Up

id
example: 15
name
example: PP blanc
description
example: Polypropylène blanc
price
example: 1.025
englishName
example: White polypropylene

varnish Up

name
example: Vernis brilant
description
example: brillant
price
example: 0.625
englishName
example: Gloss varnish

varnishes Up

id
example: 15
name
example: Vernis brilant
description
example: brillant
price
example: 0.625
englishName
example: Gloss varnish