ERP
ERP API Rest
Version: 1.0.0
BasePath:http://api.op-time.com/ERP/v1
All rights reserved
Access
[ Jump to Models ]
Table of Contents
delete lamination (deleteLamination)
Delete lamination.
Query parameters
id (required)
Query Parameter — Lamination id
Responses
200
Lamination deleted
400
Invalid json
get all laminations (getAllLaminations)
Get all laminations value.
Return type
Produces
This API call produces the following media types according to the request header;
the media type will be conveyed by the response header.
Responses
200
Get all laminations
400
No varnish found
get lamination (getLamination)
Get lamination value.
Query parameters
id (required)
Query Parameter — Lamination id
Return type
Produces
This API call produces the following media types according to the request header;
the media type will be conveyed by the response header.
Responses
200
Get lamination
400
Invalid id
add lamination (postLamination)
Post lamination value.
Consumes
This API call consumes the following media types via the request header:
Request body
Body Parameter — Lamination value to add
Responses
200
Lamination created
400
Invalid json
modify lamination (putLamination)
Put lamination value.
Consumes
This API call consumes the following media types via the request header:
Request body
Body Parameter — Lamination value to modify
Responses
200
Lamination modified
400
Invalid json
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
Produces
This API call produces the following media types according to the request header;
the media type will be conveyed by the 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 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 request header:
Request body
Body Parameter — Lamination constraint value to modify
Responses
200
Lamination constraint modified
400
Invalid json
delete substrate (deleteSubstrate)
Delete substrate.
Query parameters
id (required)
Query Parameter — Substrate id
Responses
200
Substrate deleted
400
Invalid json
get all substrates (getAllSubstrates)
Get all substrates value.
Return type
Produces
This API call produces the following media types according to the request header;
the media type will be conveyed by the response header.
Responses
200
Get all substrates
400
No substrate found
get substrate (getSubstrate)
Get substrate value.
Query parameters
id (required)
Query Parameter — Substrate id
Responses
200
Substrate created
400
Invalid id
add substrate (postSubstrate)
Post substrate value.
Consumes
This API call consumes the following media types via the request header:
Request body
Body Parameter — Substrate value to add
Responses
200
Substrate created
400
Invalid json
modify substrate (putSubstrate)
Put substrate value.
Consumes
This API call consumes the following media types via the request header:
Request body
Body Parameter — Substrate value to modify
Responses
200
Substrate modified
400
Invalid json
delete varnish (deleteVarnish)
Delete varnish.
Query parameters
id (required)
Query Parameter — Varnish id
Responses
200
Varnish deleted
400
Invalid json
get all varnishes (getAllVarnishes)
Get all varnishes value.
Return type
Produces
This API call produces the following media types according to the request header;
the media type will be conveyed by the response header.
Responses
200
Get all varnishes
400
No varnish found
get varnish (getVarnish)
Get varnish value.
Query parameters
id (required)
Query Parameter — Varnish id
Return type
Produces
This API call produces the following media types according to the request header;
the media type will be conveyed by the response header.
Responses
200
Get varnish
400
Invalid id
add varnish (postVarnish)
Post varnish value.
Consumes
This API call consumes the following media types via the request header:
Request body
Body Parameter — Varnish value to add
Responses
200
Varnish created
400
Invalid json
modify varnish (putVarnish)
Put varnish value.
Consumes
This API call consumes the following media types via the request header:
Request body
Body Parameter — Varnish value to modify
Responses
200
Varnish modified
400
Invalid json
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
Produces
This API call produces the following media types according to the request header;
the media type will be conveyed by the 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 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 request header:
Request body
Body Parameter — Varnish constraint value to modify
Responses
200
Varnish constraint modified
400
Invalid json
[ Jump to Methods ]
Table of Contents
constraint_substrate_lamination
constraint_substrate_lamination_id
constraint_substrate_varnish
constraint_substrate_varnish_id
lamination
laminations
substrate
substrates
varnish
varnishes
id (optional)
example: 8
id_substrate
example: 4
id_lamination
example: 5
id
example: 8
id_substrate
example: 4
id_lamination
example: 5
id (optional)
example: 8
id_substrate
example: 4
id_varnish
example: 5
id
example: 8
id_substrate
example: 4
id_varnish
example: 5
name
example: Pelliculage mat
description
example: Protection mat
price
example: 1.625
englishName
example: Matte lamination
id
example: 15
name
example: Pelliculage mat
description
example: Protection mat
price
example: 1.625
englishName
example: Matte lamination
name
example: PP blanc
description
example: Polypropylène blanc
price
example: 1.025
englishName
example: White polypropylene
id
example: 15
name
example: PP blanc
description
example: Polypropylène blanc
price
example: 1.025
englishName
example: White polypropylene
name
example: Vernis brilant
description
example: brillant
price
example: 0.625
englishName
example: Gloss varnish
id
example: 15
name
example: Vernis brilant
description
example: brillant
price
example: 0.625
englishName
example: Gloss varnish