Download OpenAPI specification:
The CASYMIR REST API provides a restful developing interface for external services. It's built on HTTP and fully supports HATEOAS. JSON is the default request and response format.
This document describes the functionality of the provided resources.
Note: If you don't have the correct uri or you need an user account please contact your contact person.
In exchange for the client credentials, the resource returns an access token with a finite lifetime.
{- "access_token": "76e60f809eac96fb3bddf2e87315e572069b9c47",
- "expires_in": 360
}In exchange for the client credentials, the resource returns an access token with a finite lifetime.
The body must have following structure.
| grant_type required | string Value: "client_credentials" |
grant_type=client_credentials{- "access_token": "6ceb7ce10b6ed5524a66eaf7dd3e9a7f372a8222",
- "token_type": "bearer",
- "expires_in": 3600
}NOT IMPLEMENTED NOW
Returns the desired addresses.
| limit | number <integer> (limit) Default: 0 Maximum number of results, activates pagination |
| offset | number <integer> (offset) Default: 0 Defines the offset of the pagination |
{- "success": true,
- "message": "string",
- "pagination": {
- "limit": 0,
- "offset": 0,
- "total": 0,
- "next": 0,
- "prev": 0
}, - "count": 0,
- "data": [
- {
- "addressId": 0,
- "addressImage": "string",
- "companyLine1": "string",
- "companyLine2": "string",
- "firstName": "string",
- "lastName": "string",
- "sectionName": "string",
- "sectionNumber": 0,
- "sectionAdditive": "string",
- "addressLine1": "string",
- "addressLine2": "string",
- "salutationId": 0,
- "salutationShort": "string",
- "salutationLong": "string",
- "languageId": "stri",
- "phone": "string",
- "fax": "string",
- "mobilePhone": "string",
- "email": "string",
- "entryDate": "2019-08-24T14:15:22Z",
- "entryBy": "string",
- "changeDate": "2019-08-24T14:15:22Z",
- "changeBy": "string",
- "comment": "string",
- "countryId": "stri",
- "country": "string",
- "countryISOA2": "st",
- "city": "string",
- "postCode": "string",
- "phoneCityCode": "string",
- "locked": "s"
}
]
}NOT IMPLEMENTED NOW
Creates an address and returns the address id.
| user | string <= 12 characters Set the casymir user name for history |
| companyLine1 required | string (companyLine1) <= 36 characters Company name of an address line 1 |
| companyLine2 | string (companyLine2) <= 36 characters Company name of an address line 2 |
| addressId | integer (addressId) Number of the address |
| addressLine1 required | string (addressLine1) <= 60 characters Line 1 of an address for street and house number |
| addressLine2 | string (addressLine2) <= 60 characters Line 2 of an address for additional information |
| languageId | string (languageId) <= 4 characters Id of a language |
| phone | string (phone) <= 40 characters Phone number of an address |
| fax | string (fax) <= 40 characters Fax number of an address |
| mobilePhone | string (mobilePhone) <= 40 characters Mobile phone number of an address |
string (email) <= 255 characters email address | |
| entryDate | string <date-time> (entryDate) = 20 characters Date of entry |
| entryBy | string (entryBy) <= 12 characters User who captured |
| changeDate | string <date-time> (changeDate) = 20 characters Date of the latest editing |
| changeBy | string (changeBy) <= 12 characters User who last edited |
| comment | string (comment) <= 255 characters Comment |
| countryId required | string (countryId) <= 4 characters Internal id of a country |
| city required | string (city) <= 48 characters City name |
| postCode required | string (postCode) <= 10 characters Post code of a city |
| salutationId | integer (salutationId) Id of the salutation |
| forceAddressId | boolean Default: false Force addressId to be set, only for create operations. |
{- "companyLine1": "string",
- "companyLine2": "string",
- "addressId": 0,
- "addressLine1": "string",
- "addressLine2": "string",
- "languageId": "stri",
- "phone": "string",
- "fax": "string",
- "mobilePhone": "string",
- "email": "string",
- "entryDate": "2019-08-24T14:15:22Z",
- "entryBy": "string",
- "changeDate": "2019-08-24T14:15:22Z",
- "changeBy": "string",
- "comment": "string",
- "countryId": "stri",
- "city": "string",
- "postCode": "string",
- "salutationId": 0,
- "forceAddressId": false
}{- "success": true,
- "message": "string"
}Returns cities.
| limit | number <integer> (limit) Default: 0 Maximum number of results, activates pagination |
| offset | number <integer> (offset) Default: 0 Defines the offset of the pagination |
| changeDateFrom | string <date-time> (changeDate) = 20 characters Filter by change date |
{- "success": true,
- "message": "string",
- "pagination": {
- "limit": 0,
- "offset": 0,
- "total": 0,
- "next": 0,
- "prev": 0
}, - "count": 0,
- "data": [
- {
- "country": "string",
- "countryISOA2": "st",
- "city": "string",
- "postCode": "string",
- "changeDate": "2019-08-24T14:15:22Z"
}
]
}Returns delivery sections.
| limit | number <integer> (limit) Default: 0 Maximum number of results, activates pagination |
| offset | number <integer> (offset) Default: 0 Defines the offset of the pagination |
| changeDateFrom | string <date-time> (changeDate) = 20 characters Filter by change date |
{- "success": true,
- "message": "string",
- "pagination": {
- "limit": 0,
- "offset": 0,
- "total": 0,
- "next": 0,
- "prev": 0
}, - "count": 0,
- "data": [
- {
- "country": "string",
- "countryISOA2": "st",
- "city": "string",
- "postCode": "string",
- "sectionName": "string"
}
]
}Outputs the hierarchical structure of item, product and assortment groups.
| limit | number <integer> (limit) Default: 0 Maximum number of results, activates pagination |
| offset | number <integer> (offset) Default: 0 Defines the offset of the pagination |
{- "success": true,
- "message": "string",
- "pagination": {
- "limit": 0,
- "offset": 0,
- "total": 0,
- "next": 0,
- "prev": 0
}, - "count": 0,
- "data": [
- "string"
]
}Outputs text templates to choose when creating article regulations.
| limit | number <integer> (limit) Default: 0 Maximum number of results, activates pagination |
| offset | number <integer> (offset) Default: 0 Defines the offset of the pagination |
{- "success": true,
- "message": "string",
- "pagination": {
- "limit": 0,
- "offset": 0,
- "total": 0,
- "next": 0,
- "prev": 0
}, - "count": 0,
- "data": [
- {
- "id": 0,
- "productionsMeansId": "string",
- "regulationText": "string",
- "orderNo": "string",
- "itemNo": 0,
- "status": "s"
}
]
}Outputs available base units for articles.
| limit | number <integer> (limit) Default: 0 Maximum number of results, activates pagination |
| offset | number <integer> (offset) Default: 0 Defines the offset of the pagination |
{- "success": true,
- "message": "string",
- "pagination": {
- "limit": 0,
- "offset": 0,
- "total": 0,
- "next": 0,
- "prev": 0
}, - "count": 0,
- "data": [
- {
- "unit": "string",
- "description": "string",
- "roundTo": 0
}
]
}Returns the current values and configurations of master data.
| limit | number <integer> (limit) Default: 0 Maximum number of results, activates pagination |
| offset | number <integer> (offset) Default: 0 Defines the offset of the pagination |
{- "success": true,
- "message": "string",
- "pagination": {
- "limit": 0,
- "offset": 0,
- "total": 0,
- "next": 0,
- "prev": 0
}, - "count": 0,
- "data": [
- {
- "costCenter": "string",
- "costCenterDesc": "string",
- "costCenterClass": "s",
- "locked": "s",
- "lockedFrom": "2019-08-24T14:15:22Z",
- "lockedUntil": "2019-08-24T14:15:22Z",
- "siteNo": 0,
- "costPlaces": [
- {
- "costPlace": "string",
- "costPlaceDesc": "string",
- "articleNo": "string",
- "locked": "s",
- "lockedFrom": "2019-08-24T14:15:22Z",
- "lockedUntil": "2019-08-24T14:15:22Z",
- "comment": "string"
}
]
}
]
}Outputs available packaging units for articles, in which the article can be packed in his base unit.
| limit | number <integer> (limit) Default: 0 Maximum number of results, activates pagination |
| offset | number <integer> (offset) Default: 0 Defines the offset of the pagination |
{- "success": true,
- "message": "string",
- "pagination": {
- "limit": 0,
- "offset": 0,
- "total": 0,
- "next": 0,
- "prev": 0
}, - "count": 0,
- "data": [
- {
- "unit": "string",
- "description": "string",
- "factor": 0,
- "type": "string"
}
]
}Returns a list of available printers in the system.
| limit | number <integer> (limit) Default: 0 Maximum number of results, activates pagination |
| offset | number <integer> (offset) Default: 0 Defines the offset of the pagination |
{- "success": true,
- "message": "string",
- "pagination": {
- "limit": 0,
- "offset": 0,
- "total": 0,
- "next": 0,
- "prev": 0
}, - "count": 0,
- "data": [
- {
- "hostName": "string",
- "printerName": "string",
- "description": "string",
- "formats": [
- {
- "id": 0,
- "formatId": 0,
- "description": "string"
}
], - "printerGroup": "string",
- "printerLocation": "string"
}
]
}Returns the current values and configurations of master data.
| limit | number <integer> (limit) Default: 0 Maximum number of results, activates pagination |
| offset | number <integer> (offset) Default: 0 Defines the offset of the pagination |
| productionMeansId | string (productionMeansId) <= 12 characters Filter by production means id |
{- "success": true,
- "message": "string",
- "pagination": {
- "limit": 0,
- "offset": 0,
- "total": 0,
- "next": 0,
- "prev": 0
}, - "count": 0,
- "data": [
- {
- "productionMeansId": "string",
- "productionMeansType": "s",
- "productionMeansGroup": "string",
- "articleNo": "string",
- "description": "string",
- "quantityOutput": 0.1,
- "replacementId": "string",
- "replacementGroup": "string",
- "storageLocationIn": "string",
- "storageLocationOut": "string",
- "siteNo": 0,
- "status": "s",
- "planned": "s"
}
]
}Returns the current values and configurations of master data.
| limit | number <integer> (limit) Default: 0 Maximum number of results, activates pagination |
| offset | number <integer> (offset) Default: 0 Defines the offset of the pagination |
| storageLocation | string (storageLocation) <= 12 characters Filter by storage location |
| siteNo | integer (siteNo) Filter by site number |
{- "success": true,
- "message": "string",
- "pagination": {
- "limit": 0,
- "offset": 0,
- "total": 0,
- "next": 0,
- "prev": 0
}, - "count": 0,
- "data": [
- {
- "storageLocation": "string",
- "siteNo": 0,
- "storageName": "string",
- "storageType": "s",
- "storageAreas": [
- "string"
]
}
]
}Returns a list of valid users in the target tenant.
| limit | number <integer> (limit) Default: 0 Maximum number of results, activates pagination |
| offset | number <integer> (offset) Default: 0 Defines the offset of the pagination |
| scope | string Value: "all" Filter by scope for a more precise response.
|
{- "success": true,
- "message": "string",
- "pagination": {
- "limit": 0,
- "offset": 0,
- "total": 0,
- "next": 0,
- "prev": 0
}, - "count": 0,
- "data": [
- {
- "id": 0,
- "userName": "string",
- "description": "string",
- "email": "string",
- "status": 0
}
]
}Returns media data of the specified media resource.
| limit | number <integer> (limit) Default: 0 Maximum number of results, activates pagination |
| offset | number <integer> (offset) Default: 0 Defines the offset of the pagination |
| mediaId | number <integer> (mediaId) Filter by media identifier |
| mediaResource | string (mediaResource) Value: "article" Filter by media resource |
| articleNo | string (articleNo) <= 15 characters Filter by article number |
{- "success": true,
- "message": "string",
- "pagination": {
- "limit": 0,
- "offset": 0,
- "total": 0,
- "next": 0,
- "prev": 0
}, - "count": 0,
- "data": [
- {
- "mediaId": 0,
- "articleNo": "string",
- "languageId": "stri",
- "fileType": "JPE",
- "fileName": "string",
- "mediaUsage": "string",
- "dataUri": "string",
- "changeDate": "2019-08-24T14:15:22Z",
- "changeBy": "string",
- "links": [
- {
- "rel": "string",
- "href": "string",
- "method": "string"
}
]
}
]
}Returns the desired media data.
| mediaId required | number <integer> (mediaId) Id of a media data |
{- "success": true,
- "message": "string",
- "count": 1,
- "data": [
- {
- "mediaId": 0,
- "articleNo": "string",
- "languageId": "stri",
- "fileType": "JPE",
- "fileName": "string",
- "mediaUsage": "string",
- "dataUri": "string",
- "changeDate": "2019-08-24T14:15:22Z",
- "changeBy": "string",
- "links": [
- {
- "rel": "string",
- "href": "string",
- "method": "string"
}
]
}
]
}Returns orders data that the user has access to.
| orderNo | string (orderNo) <= 10 characters Filter by order number |
| customerId | string (customerId) <= 8 characters Filter by customer |
| entryDateFrom | string <date-time> (entryDate) = 20 characters Filter by entry date |
| entryDateUntil | string <date-time> (entryDate) = 20 characters Filter by entry date |
| companyId | string (companyId) <= 12 characters Filter by company |
| status | string (status) <= 1 characters Filter by status |
| processingStatus | integer (processingStatus) Enum: 0 1 2 3 10 11 Filter by processing status
|
| siteNo | integer (siteNo) Filter by site number |
| costUnitType | integer (costUnitType) Enum: 0 1 2 Filter by type of cost unit |
| limit | number <integer> (limit) Default: 0 Maximum number of results, activates pagination |
| offset | number <integer> (offset) Default: 0 Defines the offset of the pagination |
| scope | string Value: "app" Filter by scope for a more precise response.
|
{- "success": true,
- "message": "string",
- "pagination": {
- "limit": 0,
- "offset": 0,
- "total": 0,
- "next": 0,
- "prev": 0
}, - "count": 0,
- "data": [
- {
- "orderNo": "string",
- "description": "string",
- "orderReference": "string",
- "customerId": "string",
- "customerName": "string",
- "customerOrderNo": "string",
- "entryDate": "2019-08-24T14:15:22Z",
- "orderDate": "2019-08-24T14:15:22Z",
- "status": "s",
- "comment": "string",
- "offerNo": "string",
- "processingStatus": 0,
- "costUnit": "string",
- "costUnitType": 0,
- "siteNo": 0,
- "deliveryDate": "2019-08-24T14:15:22Z",
- "shippingTermId": "string",
- "contactAddress": {
- "addressId": 0,
- "addressImage": "string",
- "companyLine1": "string",
- "companyLine2": "string",
- "firstName": "string",
- "lastName": "string",
- "sectionName": "string",
- "sectionNumber": 0,
- "sectionAdditive": "string",
- "addressLine1": "string",
- "addressLine2": "string",
- "salutationId": 0,
- "salutationShort": "string",
- "salutationLong": "string",
- "languageId": "stri",
- "phone": "string",
- "fax": "string",
- "mobilePhone": "string",
- "email": "string",
- "entryDate": "2019-08-24T14:15:22Z",
- "entryBy": "string",
- "changeDate": "2019-08-24T14:15:22Z",
- "changeBy": "string",
- "comment": "string",
- "countryId": "stri",
- "country": "string",
- "countryISOA2": "st",
- "city": "string",
- "postCode": "string",
- "phoneCityCode": "string",
- "locked": "s"
}, - "billingAddress": {
- "addressId": 0,
- "addressImage": "string",
- "companyLine1": "string",
- "companyLine2": "string",
- "firstName": "string",
- "lastName": "string",
- "sectionName": "string",
- "sectionNumber": 0,
- "sectionAdditive": "string",
- "addressLine1": "string",
- "addressLine2": "string",
- "salutationId": 0,
- "salutationShort": "string",
- "salutationLong": "string",
- "languageId": "stri",
- "phone": "string",
- "fax": "string",
- "mobilePhone": "string",
- "email": "string",
- "entryDate": "2019-08-24T14:15:22Z",
- "entryBy": "string",
- "changeDate": "2019-08-24T14:15:22Z",
- "changeBy": "string",
- "comment": "string",
- "countryId": "stri",
- "country": "string",
- "countryISOA2": "st",
- "city": "string",
- "postCode": "string",
- "phoneCityCode": "string",
- "locked": "s"
}, - "deliveryAddress": {
- "addressId": 0,
- "addressImage": "string",
- "companyLine1": "string",
- "companyLine2": "string",
- "firstName": "string",
- "lastName": "string",
- "sectionName": "string",
- "sectionNumber": 0,
- "sectionAdditive": "string",
- "addressLine1": "string",
- "addressLine2": "string",
- "salutationId": 0,
- "salutationShort": "string",
- "salutationLong": "string",
- "languageId": "stri",
- "phone": "string",
- "fax": "string",
- "mobilePhone": "string",
- "email": "string",
- "entryDate": "2019-08-24T14:15:22Z",
- "entryBy": "string",
- "changeDate": "2019-08-24T14:15:22Z",
- "changeBy": "string",
- "comment": "string",
- "countryId": "stri",
- "country": "string",
- "countryISOA2": "st",
- "city": "string",
- "postCode": "string",
- "phoneCityCode": "string",
- "locked": "s"
}, - "items": [
- {
- "articleNo": "string",
- "baseUnit": "string",
- "deliveryDate": "2019-08-24T14:15:22Z",
- "description": "string",
- "orderPosNo": 0,
- "packagingUnit": "string",
- "paperCode": "string",
- "pricePerBaseUnit": 0.1,
- "pricePerPackagingUnit": 0.1,
- "quantityBaseUnit": 0.1,
- "quantityPackagingUnit": 0.1,
- "taxAmount": 0.1,
- "totalPrice": 0.1,
- "closedAt": "2019-08-24T14:15:22Z",
- "attributes": [
- {
- "attributeKey": "string",
- "attributeValue": "string",
- "id": 0,
- "shortDescription": "string",
- "longDescription": "string",
- "condition1": "stri",
- "condition2": "string"
}
], - "batchSplit": [
- {
- "batchNo": "string",
- "quantity": 0.1,
- "foreignBatchNo": "string"
}
], - "appointmens": [
- {
- "appointmentDescription": "string",
- "appointmentSpecies": "B",
- "appointmentTargetDate": "2019-08-24T14:15:22Z",
- "appointmentType": 0
}
]
}
], - "attributes": [
- {
- "attributeKey": "string",
- "attributeValue": "string",
- "id": 0,
- "shortDescription": "string",
- "longDescription": "string",
- "condition1": "stri",
- "condition2": "string"
}
], - "appointmens": [
- {
- "appointmentDescription": "string",
- "appointmentSpecies": "B",
- "appointmentTargetDate": "2019-08-24T14:15:22Z",
- "appointmentType": 0
}
]
}
]
}Creates sales or production order and returns the orderNo.
In the items list you can set orderPosSortNo for the sort order on reports. The orderPosSeqNo can be set after bilateral agreement, otherwise it will be set to the orderPosNo by default.
| user | string <= 12 characters Set the casymir user name for history |
| customerId required | string (customerId) <= 8 characters Number of the customer |
| companyId required | string (companyId) <= 12 characters Id of the company |
| customerOrderNo | string (customerOrderNo) <= 36 characters Order number in the customers system or orderNo in foreign order system |
| orderDescription | string (description) Description to an entity |
| orderReference | string (orderReference) <= 60 characters External reference to an order |
| comment | string (comment) <= 255 characters Comment |
| costUnit | string (costUnit) <= 6 characters Cost unit |
| siteNo required | integer (siteNo) Site number |
| status | string (status) <= 1 characters Status of an entity |
object (address) Address object | |
object (address) Address object | |
object (address) Address object | |
| deliveryDate | string <date-time> (deliveryDate) = 20 characters Appointment of delivery |
| shippingTermId | string (shippingTermId) <= 12 characters Id of the shipping terms and conditions |
| userName | string (userName) <= 12 characters User name |
| personnelNo | string (personnelNo) <= 8 characters Personnel number of an employee or asset |
| orderDate | string <date-time> (orderDate) = 20 characters Date on which the order was placed |
| paymentTerm | number <integer> (paymentTerm) [ 0 .. 255 ] Id of predefined payment terms |
required | Array of objects (orderPositionPOST) List of order positions |
{- "customerId": "30008",
- "costUnit": "100",
- "siteNo": "1",
- "items": [
- {
- "articleNo": "C201",
- "quantity": 10
}
]
}{- "success": true,
- "message": "string"
}Returns all articles from the system that the user has access to.
| limit | number <integer> (limit) Default: 0 Maximum number of results, activates pagination |
| offset | number <integer> (offset) Default: 0 Defines the offset of the pagination |
| articleNo | string (articleNo) <= 15 characters Filter by article number |
| baseUnit | string (baseUnit) <= 12 characters Filter by article base unit |
| articleGroup | string (articleGroup) <= 12 characters Filter by article group |
| articleClass | string (articleClass) <= 8 characters Filter by article class |
| processingType | string (processingType) <= 1 characters Enum: "A" "C" "N" "S" Filter by type of processing (A=Batch+SerialNo, C=Batch, N=Normal, S=SerialNo). Multiple values possible (processingType=CN for values C and N) |
| procurementType | string (procurementType) <= 1 characters Filter by procurement type. System individually defined types. Multiple values possible (procurementType=EF for values E and F) |
| articleStatus | integer (articleStatus) Enum: 0 1 2 3 4 Filter by article status (0=New, 1=Active, 2=Deleted, 3=Locked, 4=Discontinued). Multiple values possible (articleStatus=14 for values 1 and 4) |
| scope | string Enum: "base" "key" "app" "extended" "all" Filter by scope for a more precise response.
|
{- "success": true,
- "message": "string",
- "pagination": {
- "limit": 0,
- "offset": 0,
- "total": 0,
- "next": 0,
- "prev": 0
}, - "count": 0,
- "data": [
- {
- "articleNo": "string",
- "articleName": "string",
- "alternativeArticleNo": "string",
- "articleCharacteristics": "string",
- "baseUnit": "string",
- "entryDate": "2019-08-24T14:15:22Z",
- "entryBy": "string",
- "changeDate": "2019-08-24T14:15:22Z",
- "changeBy": "string",
- "color": "strings",
- "stocked": "J",
- "packaged": "J",
- "articleClass": "string",
- "articleGroup": "string",
- "articleStatus": 0,
- "globalTradeItemNumber": "string",
- "taxCode": "st",
- "transferPrice": 0.1,
- "attributes": [
- {
- "attributeKey": "string",
- "attributeValue": "string",
- "attributeValueName": "string",
- "validFrom": "2019-08-24T14:15:22Z",
- "validTill": "2019-08-24T14:15:22Z",
- "entryDate": "2019-08-24T14:15:22Z",
- "entryBy": "string",
- "changeDate": "2019-08-24T14:15:22Z",
- "changeBy": "string"
}
], - "additionalNames": [
- {
- "languageId": "stri",
- "articleName": "string",
- "changeDate": "2019-08-24T14:15:22Z",
- "changeBy": "string"
}
], - "additionalTexts": [
- {
- "languageId": "stri",
- "textName": "string",
- "text": "string",
- "textUsage": "string",
- "changeDate": "2019-08-24T14:15:22Z",
- "changeBy": "string"
}
], - "packagingUnits": [
- {
- "packagingUnit": "string",
- "factor": 0,
- "globalTradeItemNumber": "string",
- "packagingWeight": 0,
- "weight": 0
}
], - "regulation": {
- "regulationDescription": "string",
- "regulationName": "string",
- "regulationStatus": "E",
- "regulationType": "s",
- "versionNo": 0,
- "referenceQuantity": 0.1,
- "referenceQuantityType": "string",
- "productionMeans": [
- {
- "productionMeansId": "string",
- "description": "string",
- "id": 0,
- "quantityFix": 0.1,
- "quantityVariable": 0.1,
- "productionMeansGroup": "string",
- "replacementGroup": "string",
- "sortNo": "string",
- "capacity": [
- {
- "prepareTime": 0,
- "dismantleTime": 0,
- "planTimeFix": 0,
- "planTimeVariable": 0,
- "logId": 0,
- "logSortNo": "string",
- "logValueName": "string"
}
], - "parameters": [
- {
- "parameterId": "string",
- "parameterValue": "string",
- "description": "string",
- "comment": "string"
}
]
}
], - "recipe": [
- {
- "id": 0,
- "sortNo": "string",
- "articleNo": "string",
- "articleName": "string",
- "baseUnit": "string",
- "materialGroup": "s",
- "quantityFix": 0.1,
- "quantityVariable": 0.1,
- "upperLimitPerc": 0.1,
- "lowerLimitPerc": 0.1
}
]
}, - "regulationAllVersions": [
- {
- "regulationDescription": "string",
- "regulationName": "string",
- "regulationStatus": "E",
- "regulationType": "s",
- "versionNo": 0,
- "referenceQuantity": 0.1,
- "referenceQuantityType": "string",
- "productionMeans": [
- {
- "productionMeansId": "string",
- "description": "string",
- "id": 0,
- "quantityFix": 0.1,
- "quantityVariable": 0.1,
- "productionMeansGroup": "string",
- "replacementGroup": "string",
- "sortNo": "string",
- "capacity": [
- {
- "prepareTime": 0,
- "dismantleTime": 0,
- "planTimeFix": 0,
- "planTimeVariable": 0,
- "logId": 0,
- "logSortNo": "string",
- "logValueName": "string"
}
], - "parameters": [
- {
- "parameterId": "string",
- "parameterValue": "string",
- "description": "string",
- "comment": "string"
}
]
}
], - "recipe": [
- {
- "id": 0,
- "sortNo": "string",
- "articleNo": "string",
- "articleName": "string",
- "baseUnit": "string",
- "materialGroup": "s",
- "quantityFix": 0.1,
- "quantityVariable": 0.1,
- "upperLimitPerc": 0.1,
- "lowerLimitPerc": 0.1
}
]
}
], - "shippingUnits": [
- {
- "shippingUnit": "string",
- "packagingUnit": "string",
- "dimensionWidth": 0.1,
- "dimensionHeight": 0.1,
- "dimensionLength": 0.1,
- "quantity": 0.1,
- "globalTradeItemNumber": "string",
- "weight": 0,
- "shippingUnitweight": 0,
- "comment": "string"
}
], - "customerAssigments": [
- {
- "customerId": "string",
- "languageId": "stri",
- "id": 0,
- "packagingUnit": "string",
- "customerArticleNo": "string",
- "customerArticleName": "string",
- "labelType": 0
}
], - "links": [
- {
- "rel": "string",
- "href": "string",
- "method": "string"
}
], - "processingType": "A",
- "procurementType": "s"
}
]
}Returns the desired article.
| articleNo required | string (articleNo) <= 15 characters Number of the article |
{- "success": true,
- "message": "string",
- "count": 1,
- "data": [
- {
- "articleNo": "string",
- "articleName": "string",
- "alternativeArticleNo": "string",
- "articleCharacteristics": "string",
- "baseUnit": "string",
- "entryDate": "2019-08-24T14:15:22Z",
- "entryBy": "string",
- "changeDate": "2019-08-24T14:15:22Z",
- "changeBy": "string",
- "color": "strings",
- "stocked": "J",
- "packaged": "J",
- "articleClass": "string",
- "articleGroup": "string",
- "articleStatus": 0,
- "globalTradeItemNumber": "string",
- "taxCode": "st",
- "transferPrice": 0.1,
- "attributes": [
- {
- "attributeKey": "string",
- "attributeValue": "string",
- "attributeValueName": "string",
- "validFrom": "2019-08-24T14:15:22Z",
- "validTill": "2019-08-24T14:15:22Z",
- "entryDate": "2019-08-24T14:15:22Z",
- "entryBy": "string",
- "changeDate": "2019-08-24T14:15:22Z",
- "changeBy": "string"
}
], - "additionalNames": [
- {
- "languageId": "stri",
- "articleName": "string",
- "changeDate": "2019-08-24T14:15:22Z",
- "changeBy": "string"
}
], - "additionalTexts": [
- {
- "languageId": "stri",
- "textName": "string",
- "text": "string",
- "textUsage": "string",
- "changeDate": "2019-08-24T14:15:22Z",
- "changeBy": "string"
}
], - "packagingUnits": [
- {
- "packagingUnit": "string",
- "factor": 0,
- "globalTradeItemNumber": "string",
- "packagingWeight": 0,
- "weight": 0
}
], - "regulation": {
- "regulationDescription": "string",
- "regulationName": "string",
- "regulationStatus": "E",
- "regulationType": "s",
- "versionNo": 0,
- "referenceQuantity": 0.1,
- "referenceQuantityType": "string",
- "productionMeans": [
- {
- "productionMeansId": "string",
- "description": "string",
- "id": 0,
- "quantityFix": 0.1,
- "quantityVariable": 0.1,
- "productionMeansGroup": "string",
- "replacementGroup": "string",
- "sortNo": "string",
- "capacity": [
- {
- "prepareTime": 0,
- "dismantleTime": 0,
- "planTimeFix": 0,
- "planTimeVariable": 0,
- "logId": 0,
- "logSortNo": "string",
- "logValueName": "string"
}
], - "parameters": [
- {
- "parameterId": "string",
- "parameterValue": "string",
- "description": "string",
- "comment": "string"
}
]
}
], - "recipe": [
- {
- "id": 0,
- "sortNo": "string",
- "articleNo": "string",
- "articleName": "string",
- "baseUnit": "string",
- "materialGroup": "s",
- "quantityFix": 0.1,
- "quantityVariable": 0.1,
- "upperLimitPerc": 0.1,
- "lowerLimitPerc": 0.1
}
]
}, - "regulationAllVersions": [
- {
- "regulationDescription": "string",
- "regulationName": "string",
- "regulationStatus": "E",
- "regulationType": "s",
- "versionNo": 0,
- "referenceQuantity": 0.1,
- "referenceQuantityType": "string",
- "productionMeans": [
- {
- "productionMeansId": "string",
- "description": "string",
- "id": 0,
- "quantityFix": 0.1,
- "quantityVariable": 0.1,
- "productionMeansGroup": "string",
- "replacementGroup": "string",
- "sortNo": "string",
- "capacity": [
- {
- "prepareTime": 0,
- "dismantleTime": 0,
- "planTimeFix": 0,
- "planTimeVariable": 0,
- "logId": 0,
- "logSortNo": "string",
- "logValueName": "string"
}
], - "parameters": [
- {
- "parameterId": "string",
- "parameterValue": "string",
- "description": "string",
- "comment": "string"
}
]
}
], - "recipe": [
- {
- "id": 0,
- "sortNo": "string",
- "articleNo": "string",
- "articleName": "string",
- "baseUnit": "string",
- "materialGroup": "s",
- "quantityFix": 0.1,
- "quantityVariable": 0.1,
- "upperLimitPerc": 0.1,
- "lowerLimitPerc": 0.1
}
]
}
], - "shippingUnits": [
- {
- "shippingUnit": "string",
- "packagingUnit": "string",
- "dimensionWidth": 0.1,
- "dimensionHeight": 0.1,
- "dimensionLength": 0.1,
- "quantity": 0.1,
- "globalTradeItemNumber": "string",
- "weight": 0,
- "shippingUnitweight": 0,
- "comment": "string"
}
], - "customerAssigments": [
- {
- "customerId": "string",
- "languageId": "stri",
- "id": 0,
- "packagingUnit": "string",
- "customerArticleNo": "string",
- "customerArticleName": "string",
- "labelType": 0
}
], - "links": [
- {
- "rel": "string",
- "href": "string",
- "method": "string"
}
], - "processingType": "A",
- "procurementType": "s"
}
]
}Returns all article batches from the system that the user has access to.
| limit | number <integer> (limit) Default: 0 Maximum number of results, activates pagination |
| offset | number <integer> (offset) Default: 0 Defines the offset of the pagination |
| articleNo | string (articleNo) <= 15 characters Filter by article number |
| batchNo | string (batchNo) <= 24 characters Filter by batch number |
| entryDateFrom | string <date-time> (entryDate) = 20 characters Filter by entry date |
| entryDateUntil | string <date-time> (entryDate) = 20 characters Filter by entry date |
| productionOrderNo | string (productionOrderNo) <= 10 characters Filter by production order number |
| productionOrderPosNo | integer (productionOrderPosNo) Filter by production order position number |
| productionDateFrom | string <date-time> (productionDate) = 20 characters Filter by production date |
| productionDateUntil | string <date-time> (productionDate) = 20 characters Filter by production date |
| expiryDateFrom | string <date-time> (expiryDate) = 20 characters Filter by expiry date |
| expiryDateUntil | string <date-time> (expiryDate) = 20 characters Filter by expiry date |
| releaseDateFrom | string <date-time> (releaseDate) = 20 characters Filter by release date |
| releaseDateUntil | string <date-time> (releaseDate) = 20 characters Filter by release date |
| releaseBy | string (releaseBy) <= 12 characters Filter by releasing user |
| pallets | boolean Also list pallet batches |
| inStockOnly | boolean Filter by stock status |
| scope | string Enum: "base" "key" "app" "extended" Filter by scope for a more precise response.
|
{- "success": true,
- "message": "string",
- "pagination": {
- "limit": 0,
- "offset": 0,
- "total": 0,
- "next": 0,
- "prev": 0
}, - "count": 0,
- "data": [
- {
- "articleNo": "string",
- "batchNo": "string",
- "versionNo": 0,
- "baseBatchNo": "string",
- "foreignBatchNo": "string",
- "productionOrderNo": "string",
- "productionOrderPosNo": 0,
- "dispositionDate": "2019-08-24T14:15:22Z",
- "entryDate": "2019-08-24T14:15:22Z",
- "entryBy": "string",
- "comment1": "string",
- "comment2": "string",
- "comment3": "string",
- "supplierNo": "string",
- "notes": "string",
- "priority": 255,
- "sellUntilDate": "2019-08-24T14:15:22Z",
- "batchStatus": "K",
- "batchStatusName": "calculation",
- "releaseDate": "2019-08-24T14:15:22Z",
- "releaseBy": "string",
- "productionDate": "2019-08-24T14:15:22Z",
- "expiryDate": "2019-08-24T14:15:22Z",
- "quantityActual": 0.1,
- "quantityTarget": 0.1,
- "baseUnit": "string",
- "pictogramCodeList": "string",
- "links": [
- {
- "rel": "string",
- "href": "string",
- "method": "string"
}
], - "appointments": [
- {
- "appointmentDescription": "string",
- "appointmentSpecies": "B",
- "appointmentTargetDate": "2019-08-24T14:15:22Z",
- "appointmentType": 0
}
], - "productionMeans": [
- {
- "productionMeansId": "string",
- "description": "string",
- "id": 0,
- "quantity": 0.1,
- "productionMeansGroup": "string",
- "replacementGroup": "string",
- "sortNo": "string",
- "planned": "s"
}
], - "articleRegulation": {
- "regulationDescription": "string",
- "regulationName": "string",
- "regulationStatus": "E",
- "regulationType": "s",
- "versionNo": 0,
- "referenceQuantity": 0.1,
- "referenceQuantityType": "string",
- "productionMeans": [
- {
- "productionMeansId": "string",
- "description": "string",
- "id": 0,
- "quantityFix": 0.1,
- "quantityVariable": 0.1,
- "productionMeansGroup": "string",
- "replacementGroup": "string",
- "sortNo": "string",
- "capacity": [
- {
- "prepareTime": 0,
- "dismantleTime": 0,
- "planTimeFix": 0,
- "planTimeVariable": 0,
- "logId": 0,
- "logSortNo": "string",
- "logValueName": "string"
}
], - "parameters": [
- {
- "parameterId": "string",
- "parameterValue": "string",
- "description": "string",
- "comment": "string"
}
]
}
], - "recipe": [
- {
- "id": 0,
- "sortNo": "string",
- "articleNo": "string",
- "articleName": "string",
- "baseUnit": "string",
- "materialGroup": "s",
- "quantityFix": 0.1,
- "quantityVariable": 0.1,
- "upperLimitPerc": 0.1,
- "lowerLimitPerc": 0.1
}
]
}, - "recipe": [
- {
- "articleNo": "string",
- "id": 0,
- "sortNo": "string",
- "articlesName": "string",
- "quantityActual": 0.1,
- "quantityTarget": 0.1,
- "upperLimitPerc": 0,
- "lowerLimitPerc": 0,
- "baseUnit": "string",
- "materialGroup": "s"
}
], - "log": [
- {
- "id": 0,
- "regulationRowId": 0,
- "logComment": "string",
- "logValue": "string",
- "sortNo": "string",
- "logValueName": "string",
- "instruction": {
- "instructionPlainText": "string",
- "instructionRawText": "string",
- "links": {
- "$M(sortNo)": {
- "value": "string",
- "type": "M"
}
}
}, - "lowerLimit": 0,
- "upperLimit": 0,
- "entryBy": "string",
- "entryDate": "2019-08-24T14:15:22Z",
- "changeBy": "string",
- "changeDate": "2019-08-24T14:15:22Z",
- "stage": 0,
- "unit": "string",
- "rowType": "s",
- "required": "s",
- "eventName": "string",
- "eventDescription": "string",
- "locked": true
}
], - "order": {
- "orderNo": "string",
- "description": "string",
- "orderReference": "string",
- "customerId": "string",
- "customerName": "string",
- "customerOrderNo": "string",
- "entryDate": "2019-08-24T14:15:22Z",
- "orderDate": "2019-08-24T14:15:22Z",
- "status": "s",
- "comment": "string",
- "offerNo": "string",
- "processingStatus": 0,
- "costUnit": "string",
- "costUnitType": 0,
- "siteNo": 0,
- "deliveryDate": "2019-08-24T14:15:22Z",
- "shippingTermId": "string",
- "contactAddress": {
- "addressId": 0,
- "addressImage": "string",
- "companyLine1": "string",
- "companyLine2": "string",
- "firstName": "string",
- "lastName": "string",
- "sectionName": "string",
- "sectionNumber": 0,
- "sectionAdditive": "string",
- "addressLine1": "string",
- "addressLine2": "string",
- "salutationId": 0,
- "salutationShort": "string",
- "salutationLong": "string",
- "languageId": "stri",
- "phone": "string",
- "fax": "string",
- "mobilePhone": "string",
- "email": "string",
- "entryDate": "2019-08-24T14:15:22Z",
- "entryBy": "string",
- "changeDate": "2019-08-24T14:15:22Z",
- "changeBy": "string",
- "comment": "string",
- "countryId": "stri",
- "country": "string",
- "countryISOA2": "st",
- "city": "string",
- "postCode": "string",
- "phoneCityCode": "string",
- "locked": "s"
}, - "billingAddress": {
- "addressId": 0,
- "addressImage": "string",
- "companyLine1": "string",
- "companyLine2": "string",
- "firstName": "string",
- "lastName": "string",
- "sectionName": "string",
- "sectionNumber": 0,
- "sectionAdditive": "string",
- "addressLine1": "string",
- "addressLine2": "string",
- "salutationId": 0,
- "salutationShort": "string",
- "salutationLong": "string",
- "languageId": "stri",
- "phone": "string",
- "fax": "string",
- "mobilePhone": "string",
- "email": "string",
- "entryDate": "2019-08-24T14:15:22Z",
- "entryBy": "string",
- "changeDate": "2019-08-24T14:15:22Z",
- "changeBy": "string",
- "comment": "string",
- "countryId": "stri",
- "country": "string",
- "countryISOA2": "st",
- "city": "string",
- "postCode": "string",
- "phoneCityCode": "string",
- "locked": "s"
}, - "deliveryAddress": {
- "addressId": 0,
- "addressImage": "string",
- "companyLine1": "string",
- "companyLine2": "string",
- "firstName": "string",
- "lastName": "string",
- "sectionName": "string",
- "sectionNumber": 0,
- "sectionAdditive": "string",
- "addressLine1": "string",
- "addressLine2": "string",
- "salutationId": 0,
- "salutationShort": "string",
- "salutationLong": "string",
- "languageId": "stri",
- "phone": "string",
- "fax": "string",
- "mobilePhone": "string",
- "email": "string",
- "entryDate": "2019-08-24T14:15:22Z",
- "entryBy": "string",
- "changeDate": "2019-08-24T14:15:22Z",
- "changeBy": "string",
- "comment": "string",
- "countryId": "stri",
- "country": "string",
- "countryISOA2": "st",
- "city": "string",
- "postCode": "string",
- "phoneCityCode": "string",
- "locked": "s"
}, - "items": [
- {
- "articleNo": "string",
- "baseUnit": "string",
- "deliveryDate": "2019-08-24T14:15:22Z",
- "description": "string",
- "orderPosNo": 0,
- "packagingUnit": "string",
- "paperCode": "string",
- "pricePerBaseUnit": 0.1,
- "pricePerPackagingUnit": 0.1,
- "quantityBaseUnit": 0.1,
- "quantityPackagingUnit": 0.1,
- "taxAmount": 0.1,
- "totalPrice": 0.1,
- "closedAt": "2019-08-24T14:15:22Z",
- "attributes": [
- {
- "attributeKey": "string",
- "attributeValue": "string",
- "id": 0,
- "shortDescription": "string",
- "longDescription": "string",
- "condition1": "stri",
- "condition2": "string"
}
], - "batchSplit": [
- {
- "batchNo": "string",
- "quantity": 0.1,
- "foreignBatchNo": "string"
}
], - "appointmens": [
- {
- "appointmentDescription": "string",
- "appointmentSpecies": "B",
- "appointmentTargetDate": "2019-08-24T14:15:22Z",
- "appointmentType": 0
}
]
}
], - "attributes": [
- {
- "attributeKey": "string",
- "attributeValue": "string",
- "id": 0,
- "shortDescription": "string",
- "longDescription": "string",
- "condition1": "stri",
- "condition2": "string"
}
], - "appointmens": [
- {
- "appointmentDescription": "string",
- "appointmentSpecies": "B",
- "appointmentTargetDate": "2019-08-24T14:15:22Z",
- "appointmentType": 0
}
]
}
}
]
}Creates batch and returns the batchNo.
| user | string <= 12 characters Set the casymir user name for history |
| articleNo required | string (articleNo) <= 15 characters Number of the article |
| batchNo required | string (batchNo) <= 24 characters Batch of the article |
| expiryDate | string <date-time> (expiryDate) = 20 characters Expiry date |
| foreignBatchNo | string (foreignBatchNo) <= 24 characters Foreign batch of the article batch |
| productionDate | string <date-time> (productionDate) = 20 characters Production date |
| quantityTarget | number <float> (quantity) Quantity |
{- "articleNo": "string",
- "batchNo": "string",
- "expiryDate": "2019-08-24T14:15:22Z",
- "foreignBatchNo": "string",
- "productionDate": "2019-08-24T14:15:22Z",
- "quantityTarget": 0.1
}{- "success": true,
- "message": "string",
- "count": 0,
- "data": [
- {
- "articleNo": "string",
- "batchNo": "string"
}
]
}Partial update one batch entity.
| user | string <= 12 characters Set the casymir user name for history |
| articleNo required | string (articleNo) <= 15 characters Number of the article |
| batchNo required | string (batchNo) <= 24 characters Batch of the article |
| batchStatus | string (batchStatus) = 1 characters Enum: "K" "A" "B" "E" "P" "V" "Q" "T" "M" "S" "F" Batch status |
| expiryDate | string <date-time> (expiryDate) = 20 characters Expiry date |
Array of objects List of log entries | |
| productionDate | string <date-time> (productionDate) = 20 characters Production date |
| quantityTarget | number <float> (quantity) Quantity |
{- "articleNo": "string",
- "batchNo": "string",
- "batchStatus": "K",
- "expiryDate": "2019-08-24T14:15:22Z",
- "log": [
- {
- "id": 0,
- "logComment": "string",
- "logValue": "string",
- "overwrite": true
}
], - "productionDate": "2019-08-24T14:15:22Z",
- "quantityTarget": 0.1
}{- "success": true,
- "message": "string",
- "count": 0,
- "data": [
- {
- "articleNo": "string",
- "batchNo": "string"
}
]
}Complete the production of this batch. This step is used after line clearance from mobile devices.
| user | string <= 12 characters Set the casymir user name for history |
| articleNo required | string (articleNo) <= 15 characters Number of the article |
| batchNo required | string (batchNo) <= 24 characters Batch of the article |
{- "articleNo": "string",
- "batchNo": "string"
}{- "success": true,
- "message": "string",
- "count": 0,
- "data": [
- {
- "articleNo": "string",
- "batchNo": "string"
}
]
}Duplicate a batch log entry to enter a new, maybe corrected value.
| user | string <= 12 characters Set the casymir user name for history |
| articleNo required | string (articleNo) <= 15 characters Number of the article |
| batchNo required | string (batchNo) <= 24 characters Batch of the article |
required | Array of objects List of log row ids to duplicate |
{- "articleNo": "string",
- "batchNo": "string",
- "log": [
- {
- "id": 0,
- "logComment": "string"
}
]
}{- "success": true,
- "message": "string",
- "count": 0,
- "data": [
- {
- "articleNo": "string",
- "batchNo": "string",
- "log": [
- {
- "id": 0,
- "newId": 0,
- "logComment": "string"
}
]
}
]
}Get current and next process in production plan to a batch
| articleNo required | string (articleNo) <= 15 characters Filter by article number |
| batchNo required | string (batchNo) <= 24 characters Filter by batch number |
| productionMeansId required | string (productionMeansId) <= 12 characters Filter by production means id |
{- "success": true,
- "message": "string",
- "count": 0,
- "data": {
- "nextProcess": {
- "articleNo": "string",
- "batchNo": "string",
- "plannedEndDate": "2019-08-24T14:15:22Z",
- "plannedStartDate": "2019-08-24T14:15:22Z",
- "plannedDuration": 0.1,
- "actualDuration": 0.1,
- "targetDuration": 0.1,
- "productionMeansId": "string",
- "processStatus": "A"
}, - "currentProcess": {
- "articleNo": "string",
- "batchNo": "string",
- "plannedEndDate": "2019-08-24T14:15:22Z",
- "plannedStartDate": "2019-08-24T14:15:22Z",
- "plannedDuration": 0.1,
- "actualDuration": 0.1,
- "targetDuration": 0.1,
- "productionMeansId": "string",
- "processStatus": "A"
}
}
}Returns all article batches from the system that the user has access to.
| articleNo | string (articleNo) <= 15 characters Filter by article number |
| batchNo | string (batchNo) <= 24 characters Filter by batch number |
| batchStatus | string (batchStatus) = 1 characters Enum: "K" "A" "B" "E" "P" "V" "Q" "T" "M" "S" "F" Filter by batch status |
| entryDateFrom | string <date-time> (entryDate) = 20 characters Filter by entry date |
| entryDateUntil | string <date-time> (entryDate) = 20 characters Filter by entry date |
| scheduledFrom | string <date-time> (productionDate) = 20 characters Filter by scheduled production date |
| scheduledUntil | string <date-time> (productionDate) = 20 characters Filter by scheduled production date |
| productionDateFrom | string <date-time> (productionDate) = 20 characters Filter by production date |
| productionDateUntil | string <date-time> (productionDate) = 20 characters Filter by production date |
| expiryDateFrom | string <date-time> (expiryDate) = 20 characters Filter by expiry date |
| expiryDateUntil | string <date-time> (expiryDate) = 20 characters Filter by expiry date |
| releaseDateFrom | string <date-time> (releaseDate) = 20 characters Filter by release date |
| releaseDateUntil | string <date-time> (releaseDate) = 20 characters Filter by release date |
| productionMeans | string (productionMeans) <= 12 characters Filter by production means |
| articleGroup | string (articleGroup) <= 12 characters Filter by article group |
| siteNo | integer (siteNo) Filter by site number |
{- "success": true,
- "message": "string",
- "count": 0,
- "data": [
- {
- "articleNo": "string",
- "batchNo": "string",
- "versionNo": 0,
- "foreignBatchNo": "string",
- "batchStatus": "K",
- "batchStatusName": "calculation",
- "releaseDate": "2019-08-24T14:15:22Z",
- "productionDate": "2019-08-24T14:15:22Z",
- "expiryDate": "2019-08-24T14:15:22Z",
- "siteNo": 0,
- "links": [
- {
- "rel": "string",
- "href": "string",
- "method": "string"
}
]
}
]
}Books incoming products or outgoing raw materials to a single batch, if the user has access to.
| articleNo required | string (articleNo) <= 15 characters Number of the article |
| batchNo required | string (batchNo) <= 24 characters Batch of the article |
| batchStatus | string (batchStatus) = 1 characters Enum: "K" "A" "B" "E" "P" "V" "Q" "T" "M" "S" "F" Batch status |
| palletNo | integer (palletNo) <= 99999 Pallet number |
| storageLocation | string (storageLocation) <= 12 characters Name of the storage location |
| producedAmount | number <float> (producedAmount) The produced amount |
| rejectedAmount | number <float> (rejectedAmount) The rejected amount |
| baseUnit | string (baseUnit) <= 12 characters Base unit of the article |
| productionMeans | string (productionMeans) <= 12 characters Production means |
| timeAmountHours | number <float> (timeAmountHours) Time spent in hours |
| timeAmountMinutes | number <float> (timeAmountMinutes) Time spent in minutes |
| materialArticleNo | string (articleNo) <= 15 characters Number of the article |
| materialBatchNo | string (batchNo) <= 24 characters Batch of the article |
| materialAmount | number <float> (materialAmount) The material amount |
| materialRejectedAmount | number <float> (rejectedAmount) The rejected amount |
{- "articleNo": "C201",
- "batchNo": "12345",
- "palletNo": 3,
- "storageLocation": "ff",
- "producedAmount": 100
}{- "success": true,
- "message": "string"
}Books incoming products or outgoing raw materials to several batches, if the user has access to.
| articleNo required | string (articleNo) <= 15 characters Number of the article |
| batchNo required | string (batchNo) <= 24 characters Batch of the article |
| batchStatus | string (batchStatus) = 1 characters Enum: "K" "A" "B" "E" "P" "V" "Q" "T" "M" "S" "F" Batch status |
| palletNo | integer (palletNo) <= 99999 Pallet number |
| storageLocation | string (storageLocation) <= 12 characters Name of the storage location |
| producedAmount | number <float> (producedAmount) The produced amount |
| rejectedAmount | number <float> (rejectedAmount) The rejected amount |
| baseUnit | string (baseUnit) <= 12 characters Base unit of the article |
| productionMeans | string (productionMeans) <= 12 characters Production means |
| timeAmountHours | number <float> (timeAmountHours) Time spent in hours |
| timeAmountMinutes | number <float> (timeAmountMinutes) Time spent in minutes |
| materialArticleNo | string (articleNo) <= 15 characters Number of the article |
| materialBatchNo | string (batchNo) <= 24 characters Batch of the article |
| materialAmount | number <float> (materialAmount) The material amount |
| materialRejectedAmount | number <float> (rejectedAmount) The rejected amount |
[- {
- "articleNo": "string",
- "batchNo": "string",
- "batchStatus": "K",
- "palletNo": 99999,
- "storageLocation": "string",
- "producedAmount": 0.1,
- "rejectedAmount": 0.1,
- "baseUnit": "string",
- "productionMeans": "string",
- "timeAmountHours": 0.1,
- "timeAmountMinutes": 0.1,
- "materialArticleNo": "string",
- "materialBatchNo": "string",
- "materialAmount": 0.1,
- "materialRejectedAmount": 0.1
}
][- {
- "success": true,
- "message": "string"
}
]Returns production orders data that the user has access to.
| orderNo | string (orderNo) <= 10 characters Filter by order number |
| customerId | string (customerId) <= 8 characters Filter by customer |
| entryDateFrom | string <date-time> (entryDate) = 20 characters Filter by entry date |
| entryDateUntil | string <date-time> (entryDate) = 20 characters Filter by entry date |
| status | string (status) <= 1 characters Filter by status |
| processingStatus | integer (processingStatus) Enum: 0 1 2 3 10 11 Filter by processing status
|
| siteNo | integer (siteNo) Filter by site number |
| limit | number <integer> (limit) Default: 0 Maximum number of results, activates pagination |
| offset | number <integer> (offset) Default: 0 Defines the offset of the pagination |
{- "success": true,
- "message": "string",
- "pagination": {
- "limit": 0,
- "offset": 0,
- "total": 0,
- "next": 0,
- "prev": 0
}, - "count": 0,
- "data": [
- {
- "orderNo": "string",
- "description": "string",
- "orderReference": "string",
- "customerId": "string",
- "customerName": "string",
- "customerOrderNo": "string",
- "entryDate": "2019-08-24T14:15:22Z",
- "orderDate": "2019-08-24T14:15:22Z",
- "status": "s",
- "comment": "string",
- "offerNo": "string",
- "processingStatus": 0,
- "costUnit": "string",
- "costUnitType": 0,
- "siteNo": 0,
- "deliveryDate": "2019-08-24T14:15:22Z",
- "shippingTermId": "string",
- "contactAddress": {
- "addressId": 0,
- "addressImage": "string",
- "companyLine1": "string",
- "companyLine2": "string",
- "firstName": "string",
- "lastName": "string",
- "sectionName": "string",
- "sectionNumber": 0,
- "sectionAdditive": "string",
- "addressLine1": "string",
- "addressLine2": "string",
- "salutationId": 0,
- "salutationShort": "string",
- "salutationLong": "string",
- "languageId": "stri",
- "phone": "string",
- "fax": "string",
- "mobilePhone": "string",
- "email": "string",
- "entryDate": "2019-08-24T14:15:22Z",
- "entryBy": "string",
- "changeDate": "2019-08-24T14:15:22Z",
- "changeBy": "string",
- "comment": "string",
- "countryId": "stri",
- "country": "string",
- "countryISOA2": "st",
- "city": "string",
- "postCode": "string",
- "phoneCityCode": "string",
- "locked": "s"
}, - "billingAddress": {
- "addressId": 0,
- "addressImage": "string",
- "companyLine1": "string",
- "companyLine2": "string",
- "firstName": "string",
- "lastName": "string",
- "sectionName": "string",
- "sectionNumber": 0,
- "sectionAdditive": "string",
- "addressLine1": "string",
- "addressLine2": "string",
- "salutationId": 0,
- "salutationShort": "string",
- "salutationLong": "string",
- "languageId": "stri",
- "phone": "string",
- "fax": "string",
- "mobilePhone": "string",
- "email": "string",
- "entryDate": "2019-08-24T14:15:22Z",
- "entryBy": "string",
- "changeDate": "2019-08-24T14:15:22Z",
- "changeBy": "string",
- "comment": "string",
- "countryId": "stri",
- "country": "string",
- "countryISOA2": "st",
- "city": "string",
- "postCode": "string",
- "phoneCityCode": "string",
- "locked": "s"
}, - "deliveryAddress": {
- "addressId": 0,
- "addressImage": "string",
- "companyLine1": "string",
- "companyLine2": "string",
- "firstName": "string",
- "lastName": "string",
- "sectionName": "string",
- "sectionNumber": 0,
- "sectionAdditive": "string",
- "addressLine1": "string",
- "addressLine2": "string",
- "salutationId": 0,
- "salutationShort": "string",
- "salutationLong": "string",
- "languageId": "stri",
- "phone": "string",
- "fax": "string",
- "mobilePhone": "string",
- "email": "string",
- "entryDate": "2019-08-24T14:15:22Z",
- "entryBy": "string",
- "changeDate": "2019-08-24T14:15:22Z",
- "changeBy": "string",
- "comment": "string",
- "countryId": "stri",
- "country": "string",
- "countryISOA2": "st",
- "city": "string",
- "postCode": "string",
- "phoneCityCode": "string",
- "locked": "s"
}, - "items": [
- {
- "articleNo": "string",
- "baseUnit": "string",
- "deliveryDate": "2019-08-24T14:15:22Z",
- "description": "string",
- "orderPosNo": 0,
- "packagingUnit": "string",
- "paperCode": "string",
- "pricePerBaseUnit": 0.1,
- "pricePerPackagingUnit": 0.1,
- "quantityBaseUnit": 0.1,
- "quantityPackagingUnit": 0.1,
- "taxAmount": 0.1,
- "totalPrice": 0.1,
- "closedAt": "2019-08-24T14:15:22Z",
- "attributes": [
- {
- "attributeKey": "string",
- "attributeValue": "string",
- "id": 0,
- "shortDescription": "string",
- "longDescription": "string",
- "condition1": "stri",
- "condition2": "string"
}
], - "batchSplit": [
- {
- "batchNo": "string",
- "quantity": 0.1,
- "foreignBatchNo": "string"
}
], - "appointmens": [
- {
- "appointmentDescription": "string",
- "appointmentSpecies": "B",
- "appointmentTargetDate": "2019-08-24T14:15:22Z",
- "appointmentType": 0
}
]
}
], - "attributes": [
- {
- "attributeKey": "string",
- "attributeValue": "string",
- "id": 0,
- "shortDescription": "string",
- "longDescription": "string",
- "condition1": "stri",
- "condition2": "string"
}
], - "appointmens": [
- {
- "appointmentDescription": "string",
- "appointmentSpecies": "B",
- "appointmentTargetDate": "2019-08-24T14:15:22Z",
- "appointmentType": 0
}
]
}
]
}Returns all suppliers from the system that the user has access to.
| limit | number <integer> (limit) Default: 0 Maximum number of results, activates pagination |
| offset | number <integer> (offset) Default: 0 Defines the offset of the pagination |
| supplierId | string (supplierId) <= 8 characters Filter by supplier |
| companyId | string (companyId) <= 12 characters Filter by company |
| companyClassId | string (companyClassId) <= 12 characters Filter by company class |
| fieldOfInterestId | string (fieldOfInterestId) <= 12 characters Filter by field of interest |
| attributeKey | string (attributeKey) <= 12 characters Filter by company attribute |
| attributeValue | string (attributeValue) <= 200 characters Filter by company attribute value |
| globalLocationNumber | string (globalLocationNumber) <= 13 characters Filter by GLN (EDI) |
| ediPartnerId | string (ediPartnerId) <= 200 characters Filter by EDI partner id |
{- "success": true,
- "message": "string",
- "pagination": {
- "limit": 0,
- "offset": 0,
- "total": 0,
- "next": 0,
- "prev": 0
}, - "count": 0,
- "data": [
- {
- "supplierId": "string",
- "supplierName": "string",
- "supplierGroupId": 0,
- "companyId": "string",
- "entryDate": "2019-08-24T14:15:22Z",
- "entryBy": "string",
- "changeDate": "2019-08-24T14:15:22Z",
- "changeBy": "string",
- "comment": "string",
- "taxIdNumber": "string",
- "contactAddress": {
- "addressId": 0,
- "addressImage": "string",
- "companyLine1": "string",
- "companyLine2": "string",
- "firstName": "string",
- "lastName": "string",
- "sectionName": "string",
- "sectionNumber": 0,
- "sectionAdditive": "string",
- "addressLine1": "string",
- "addressLine2": "string",
- "salutationId": 0,
- "salutationShort": "string",
- "salutationLong": "string",
- "languageId": "stri",
- "phone": "string",
- "fax": "string",
- "mobilePhone": "string",
- "email": "string",
- "entryDate": "2019-08-24T14:15:22Z",
- "entryBy": "string",
- "changeDate": "2019-08-24T14:15:22Z",
- "changeBy": "string",
- "comment": "string",
- "countryId": "stri",
- "country": "string",
- "countryISOA2": "st",
- "city": "string",
- "postCode": "string",
- "phoneCityCode": "string",
- "locked": "s"
}, - "orderAddress": {
- "addressId": 0,
- "addressImage": "string",
- "companyLine1": "string",
- "companyLine2": "string",
- "firstName": "string",
- "lastName": "string",
- "sectionName": "string",
- "sectionNumber": 0,
- "sectionAdditive": "string",
- "addressLine1": "string",
- "addressLine2": "string",
- "salutationId": 0,
- "salutationShort": "string",
- "salutationLong": "string",
- "languageId": "stri",
- "phone": "string",
- "fax": "string",
- "mobilePhone": "string",
- "email": "string",
- "entryDate": "2019-08-24T14:15:22Z",
- "entryBy": "string",
- "changeDate": "2019-08-24T14:15:22Z",
- "changeBy": "string",
- "comment": "string",
- "countryId": "stri",
- "country": "string",
- "countryISOA2": "st",
- "city": "string",
- "postCode": "string",
- "phoneCityCode": "string",
- "locked": "s"
}, - "deliveryAddress": {
- "addressId": 0,
- "addressImage": "string",
- "companyLine1": "string",
- "companyLine2": "string",
- "firstName": "string",
- "lastName": "string",
- "sectionName": "string",
- "sectionNumber": 0,
- "sectionAdditive": "string",
- "addressLine1": "string",
- "addressLine2": "string",
- "salutationId": 0,
- "salutationShort": "string",
- "salutationLong": "string",
- "languageId": "stri",
- "phone": "string",
- "fax": "string",
- "mobilePhone": "string",
- "email": "string",
- "entryDate": "2019-08-24T14:15:22Z",
- "entryBy": "string",
- "changeDate": "2019-08-24T14:15:22Z",
- "changeBy": "string",
- "comment": "string",
- "countryId": "stri",
- "country": "string",
- "countryISOA2": "st",
- "city": "string",
- "postCode": "string",
- "phoneCityCode": "string",
- "locked": "s"
}, - "company": {
- "companyId": "string",
- "languageId": "stri",
- "industryId": "string",
- "entryDate": "2019-08-24T14:15:22Z",
- "entryBy": "string",
- "changeDate": "2019-08-24T14:15:22Z",
- "changeBy": "string",
- "companyName": "string",
- "comment": "string",
- "addressId": 0,
- "companyClassId": "string",
- "fieldOfInterestId": "string",
- "contactAddress": {
- "addressId": 0,
- "addressImage": "string",
- "companyLine1": "string",
- "companyLine2": "string",
- "firstName": "string",
- "lastName": "string",
- "sectionName": "string",
- "sectionNumber": 0,
- "sectionAdditive": "string",
- "addressLine1": "string",
- "addressLine2": "string",
- "salutationId": 0,
- "salutationShort": "string",
- "salutationLong": "string",
- "languageId": "stri",
- "phone": "string",
- "fax": "string",
- "mobilePhone": "string",
- "email": "string",
- "entryDate": "2019-08-24T14:15:22Z",
- "entryBy": "string",
- "changeDate": "2019-08-24T14:15:22Z",
- "changeBy": "string",
- "comment": "string",
- "countryId": "stri",
- "country": "string",
- "countryISOA2": "st",
- "city": "string",
- "postCode": "string",
- "phoneCityCode": "string",
- "locked": "s"
}, - "billingAddress": {
- "addressId": 0,
- "addressImage": "string",
- "companyLine1": "string",
- "companyLine2": "string",
- "firstName": "string",
- "lastName": "string",
- "sectionName": "string",
- "sectionNumber": 0,
- "sectionAdditive": "string",
- "addressLine1": "string",
- "addressLine2": "string",
- "salutationId": 0,
- "salutationShort": "string",
- "salutationLong": "string",
- "languageId": "stri",
- "phone": "string",
- "fax": "string",
- "mobilePhone": "string",
- "email": "string",
- "entryDate": "2019-08-24T14:15:22Z",
- "entryBy": "string",
- "changeDate": "2019-08-24T14:15:22Z",
- "changeBy": "string",
- "comment": "string",
- "countryId": "stri",
- "country": "string",
- "countryISOA2": "st",
- "city": "string",
- "postCode": "string",
- "phoneCityCode": "string",
- "locked": "s"
}, - "deliveryAddress": {
- "addressId": 0,
- "addressImage": "string",
- "companyLine1": "string",
- "companyLine2": "string",
- "firstName": "string",
- "lastName": "string",
- "sectionName": "string",
- "sectionNumber": 0,
- "sectionAdditive": "string",
- "addressLine1": "string",
- "addressLine2": "string",
- "salutationId": 0,
- "salutationShort": "string",
- "salutationLong": "string",
- "languageId": "stri",
- "phone": "string",
- "fax": "string",
- "mobilePhone": "string",
- "email": "string",
- "entryDate": "2019-08-24T14:15:22Z",
- "entryBy": "string",
- "changeDate": "2019-08-24T14:15:22Z",
- "changeBy": "string",
- "comment": "string",
- "countryId": "stri",
- "country": "string",
- "countryISOA2": "st",
- "city": "string",
- "postCode": "string",
- "phoneCityCode": "string",
- "locked": "s"
}, - "additionalAddresses": [
- {
- "addressType": "s",
- "addressId": 0,
- "addressImage": "string",
- "companyLine1": "string",
- "companyLine2": "string",
- "firstName": "string",
- "lastName": "string",
- "sectionName": "string",
- "sectionNumber": 0,
- "sectionAdditive": "string",
- "addressLine1": "string",
- "addressLine2": "string",
- "salutationId": 0,
- "salutationShort": "string",
- "salutationLong": "string",
- "languageId": "stri",
- "phone": "string",
- "fax": "string",
- "mobilePhone": "string",
- "email": "string",
- "entryDate": "2019-08-24T14:15:22Z",
- "entryBy": "string",
- "changeDate": "2019-08-24T14:15:22Z",
- "changeBy": "string",
- "comment": "string",
- "countryId": "stri",
- "country": "string",
- "countryISOA2": "st",
- "city": "string",
- "postCode": "string",
- "phoneCityCode": "string",
- "locked": "s"
}
], - "uri": "string"
}, - "attributes": [
- {
- "attributeKey": "string",
- "attributeValue": "string",
- "attributeValueName": "string",
- "validFrom": "2019-08-24T14:15:22Z",
- "validTill": "2019-08-24T14:15:22Z",
- "entryDate": "2019-08-24T14:15:22Z",
- "entryBy": "string",
- "changeDate": "2019-08-24T14:15:22Z",
- "changeBy": "string"
}
]
}
]
}Returns purchase orders data that the user has access to.
| orderNo | integer (purchaseOrderNo) Filter by order number |
| supplierId | string (supplierId) <= 8 characters Filter by supplier |
| status | string (purchaseOrderStatus) Enum: "completed" "created" "dispatched" "open" Filter by purchase order status |
| orderScope | string (purchaseOrderScope) Enum: "all" "external" "internal" "outstanding" Filter by purchase order predefined scopes |
| type | string (purchaseOrderType) Enum: "order" "contract" "return" "offer" "framework" "request" Filter by purchase order type |
| limit | number <integer> (limit) Default: 0 Maximum number of results, activates pagination |
| offset | number <integer> (offset) Default: 0 Defines the offset of the pagination |
{- "success": true,
- "message": "string",
- "pagination": {
- "limit": 0,
- "offset": 0,
- "total": 0,
- "next": 0,
- "prev": 0
}, - "count": 0,
- "data": [
- {
- "deliveryAddress": {
- "addressId": 0,
- "addressImage": "string",
- "companyLine1": "string",
- "companyLine2": "string",
- "firstName": "string",
- "lastName": "string",
- "sectionName": "string",
- "sectionNumber": 0,
- "sectionAdditive": "string",
- "addressLine1": "string",
- "addressLine2": "string",
- "salutationId": 0,
- "salutationShort": "string",
- "salutationLong": "string",
- "languageId": "stri",
- "phone": "string",
- "fax": "string",
- "mobilePhone": "string",
- "email": "string",
- "entryDate": "2019-08-24T14:15:22Z",
- "entryBy": "string",
- "changeDate": "2019-08-24T14:15:22Z",
- "changeBy": "string",
- "comment": "string",
- "countryId": "stri",
- "country": "string",
- "countryISOA2": "st",
- "city": "string",
- "postCode": "string",
- "phoneCityCode": "string",
- "locked": "s"
}, - "deliveryDate": "2019-08-24T14:15:22Z",
- "description": "string",
- "items": [
- {
- "articleNo": "string",
- "baseUnit": "string",
- "deliveredBaseUnit": 0.1,
- "deliveredPackagingUnit": 0.1,
- "deliveryDate": "2019-08-24T14:15:22Z",
- "description": "string",
- "orderPosNo": 0,
- "packagingUnit": "string",
- "price": 0.1,
- "quantityBaseUnit": 0.1,
- "quantityPackagingUnit": 0.1,
- "supplierArticleNo": "string",
- "batchSplit": [
- {
- "batchNo": "string",
- "quantity": 0.1,
- "foreignBatchNo": "string"
}
], - "status": "completed",
- "attributes": [
- {
- "attributeKey": "string",
- "attributeValue": "string",
- "id": 0
}
]
}
], - "orderAddress": {
- "addressId": 0,
- "addressImage": "string",
- "companyLine1": "string",
- "companyLine2": "string",
- "firstName": "string",
- "lastName": "string",
- "sectionName": "string",
- "sectionNumber": 0,
- "sectionAdditive": "string",
- "addressLine1": "string",
- "addressLine2": "string",
- "salutationId": 0,
- "salutationShort": "string",
- "salutationLong": "string",
- "languageId": "stri",
- "phone": "string",
- "fax": "string",
- "mobilePhone": "string",
- "email": "string",
- "entryDate": "2019-08-24T14:15:22Z",
- "entryBy": "string",
- "changeDate": "2019-08-24T14:15:22Z",
- "changeBy": "string",
- "comment": "string",
- "countryId": "stri",
- "country": "string",
- "countryISOA2": "st",
- "city": "string",
- "postCode": "string",
- "phoneCityCode": "string",
- "locked": "s"
}, - "orderDate": "2019-08-24T14:15:22Z",
- "orderNo": 0,
- "supplierOrderNo": "string",
- "pickupAddress": {
- "addressId": 0,
- "addressImage": "string",
- "companyLine1": "string",
- "companyLine2": "string",
- "firstName": "string",
- "lastName": "string",
- "sectionName": "string",
- "sectionNumber": 0,
- "sectionAdditive": "string",
- "addressLine1": "string",
- "addressLine2": "string",
- "salutationId": 0,
- "salutationShort": "string",
- "salutationLong": "string",
- "languageId": "stri",
- "phone": "string",
- "fax": "string",
- "mobilePhone": "string",
- "email": "string",
- "entryDate": "2019-08-24T14:15:22Z",
- "entryBy": "string",
- "changeDate": "2019-08-24T14:15:22Z",
- "changeBy": "string",
- "comment": "string",
- "countryId": "stri",
- "country": "string",
- "countryISOA2": "st",
- "city": "string",
- "postCode": "string",
- "phoneCityCode": "string",
- "locked": "s"
}, - "supplierId": "string",
- "supplierName": "string",
- "status": "completed"
}
]
}Creates purchase order and returns the orderNo.
In the items list you can set orderPosSortNo for the sort order on reports. The orderPosSeqNo can be set after bilateral agreement, otherwise it will be set to the orderPosNo by default.
| user | string <= 12 characters Set the casymir user name for history |
object (address) Address object | |
| deliveryDate | string <date-time> (deliveryDate) = 20 characters Appointment of delivery |
| description | string (description) Description to an entity |
required | Array of objects (purchaseOrderPositionPOST) List of purchase order positions |
object (address) Address object | |
| orderDate | string <date-time> (orderDate) = 20 characters Date on which the order was placed |
object (address) Address object | |
| companyId required | string (companyId) <= 12 characters Id of the company |
| supplierId required | string (supplierId) <= 8 characters Id of the supplier |
| supplierOrderNo | string (supplierOrderNo) <= 255 characters Foreign order number of purchase order |
{- "supplierId": "30008",
- "siteNo": "1",
- "items": [
- {
- "articleNo": "C001",
- "quantity": 200
}
]
}{- "success": true,
- "message": "string"
}Prints predefined types of labels for the given articles.
| articleNo | string (articleNo) <= 15 characters Number of the article |
| batchNo | string (batchNo) <= 24 characters Batch of the article |
| quantity | number <float> (quantity) Quantity |
| labelType | number <integer> (labelType) Type of predefined article label |
| numberOfLabels | number <integer> (numberOfLabels) Number of labels to be printed |
| printerName | string (printerName) <= 64 characters Queue name of the printer |
| siteNo | integer (siteNo) Site number |
| storageLocation | string (storageLocation) <= 12 characters Name of the storage location |
{- "articleNo": "P201",
- "batchNo": "10060",
- "numberOfLabels": 1,
- "printerName": "Zebra1"
}{- "success": true,
- "message": "string",
- "count": 0
}Returns all customers from the system that the user has access to.
| limit | number <integer> (limit) Default: 0 Maximum number of results, activates pagination |
| offset | number <integer> (offset) Default: 0 Defines the offset of the pagination |
| customerId | string (customerId) <= 8 characters Filter by customer |
| customerIdList | string (customerIdList) Filter by a list comma seperated list of customer |
| industryId | string (industryId) <= 12 characters Filter by industry |
| companyId | string (companyId) <= 12 characters Filter by company |
| companyClassId | string (companyClassId) <= 12 characters Filter by company class |
| fieldOfInterestId | string (fieldOfInterestId) <= 12 characters Filter by field of interest |
| attributeKey | string (attributeKey) <= 12 characters Filter by company attribute |
| attributeValue | string (attributeValue) <= 200 characters Filter by company attribute value |
| attributesValidFrom | string Enum: "all" "current" Filter company attributes by validity |
| globalLocationNumber | string (globalLocationNumber) <= 13 characters Filter by GLN (EDI) |
| ediPartnerId | string (ediPartnerId) <= 200 characters Filter by EDI partner id |
| scope | string Enum: "base" "key" "app" Filter by scope for a more precise response.
|
{- "success": true,
- "message": "string",
- "pagination": {
- "limit": 0,
- "offset": 0,
- "total": 0,
- "next": 0,
- "prev": 0
}, - "count": 0,
- "data": [
- {
- "customerId": "string",
- "customerName": "string",
- "languageId": "stri",
- "industryId": "string",
- "customerGroupId": 0,
- "companyId": "string",
- "entryDate": "2019-08-24T14:15:22Z",
- "entryBy": "string",
- "changeDate": "2019-08-24T14:15:22Z",
- "changeBy": "string",
- "comment": "string",
- "taxIdNumber": "string",
- "contactAddress": {
- "addressId": 0,
- "addressImage": "string",
- "companyLine1": "string",
- "companyLine2": "string",
- "firstName": "string",
- "lastName": "string",
- "sectionName": "string",
- "sectionNumber": 0,
- "sectionAdditive": "string",
- "addressLine1": "string",
- "addressLine2": "string",
- "salutationId": 0,
- "salutationShort": "string",
- "salutationLong": "string",
- "languageId": "stri",
- "phone": "string",
- "fax": "string",
- "mobilePhone": "string",
- "email": "string",
- "entryDate": "2019-08-24T14:15:22Z",
- "entryBy": "string",
- "changeDate": "2019-08-24T14:15:22Z",
- "changeBy": "string",
- "comment": "string",
- "countryId": "stri",
- "country": "string",
- "countryISOA2": "st",
- "city": "string",
- "postCode": "string",
- "phoneCityCode": "string",
- "locked": "s"
}, - "billingAddress": {
- "addressId": 0,
- "addressImage": "string",
- "companyLine1": "string",
- "companyLine2": "string",
- "firstName": "string",
- "lastName": "string",
- "sectionName": "string",
- "sectionNumber": 0,
- "sectionAdditive": "string",
- "addressLine1": "string",
- "addressLine2": "string",
- "salutationId": 0,
- "salutationShort": "string",
- "salutationLong": "string",
- "languageId": "stri",
- "phone": "string",
- "fax": "string",
- "mobilePhone": "string",
- "email": "string",
- "entryDate": "2019-08-24T14:15:22Z",
- "entryBy": "string",
- "changeDate": "2019-08-24T14:15:22Z",
- "changeBy": "string",
- "comment": "string",
- "countryId": "stri",
- "country": "string",
- "countryISOA2": "st",
- "city": "string",
- "postCode": "string",
- "phoneCityCode": "string",
- "locked": "s"
}, - "deliveryAddress": {
- "addressId": 0,
- "addressImage": "string",
- "companyLine1": "string",
- "companyLine2": "string",
- "firstName": "string",
- "lastName": "string",
- "sectionName": "string",
- "sectionNumber": 0,
- "sectionAdditive": "string",
- "addressLine1": "string",
- "addressLine2": "string",
- "salutationId": 0,
- "salutationShort": "string",
- "salutationLong": "string",
- "languageId": "stri",
- "phone": "string",
- "fax": "string",
- "mobilePhone": "string",
- "email": "string",
- "entryDate": "2019-08-24T14:15:22Z",
- "entryBy": "string",
- "changeDate": "2019-08-24T14:15:22Z",
- "changeBy": "string",
- "comment": "string",
- "countryId": "stri",
- "country": "string",
- "countryISOA2": "st",
- "city": "string",
- "postCode": "string",
- "phoneCityCode": "string",
- "locked": "s"
}, - "company": {
- "companyId": "string",
- "languageId": "stri",
- "industryId": "string",
- "entryDate": "2019-08-24T14:15:22Z",
- "entryBy": "string",
- "changeDate": "2019-08-24T14:15:22Z",
- "changeBy": "string",
- "companyName": "string",
- "comment": "string",
- "addressId": 0,
- "companyClassId": "string",
- "fieldOfInterestId": "string",
- "contactAddress": {
- "addressId": 0,
- "addressImage": "string",
- "companyLine1": "string",
- "companyLine2": "string",
- "firstName": "string",
- "lastName": "string",
- "sectionName": "string",
- "sectionNumber": 0,
- "sectionAdditive": "string",
- "addressLine1": "string",
- "addressLine2": "string",
- "salutationId": 0,
- "salutationShort": "string",
- "salutationLong": "string",
- "languageId": "stri",
- "phone": "string",
- "fax": "string",
- "mobilePhone": "string",
- "email": "string",
- "entryDate": "2019-08-24T14:15:22Z",
- "entryBy": "string",
- "changeDate": "2019-08-24T14:15:22Z",
- "changeBy": "string",
- "comment": "string",
- "countryId": "stri",
- "country": "string",
- "countryISOA2": "st",
- "city": "string",
- "postCode": "string",
- "phoneCityCode": "string",
- "locked": "s"
}, - "billingAddress": {
- "addressId": 0,
- "addressImage": "string",
- "companyLine1": "string",
- "companyLine2": "string",
- "firstName": "string",
- "lastName": "string",
- "sectionName": "string",
- "sectionNumber": 0,
- "sectionAdditive": "string",
- "addressLine1": "string",
- "addressLine2": "string",
- "salutationId": 0,
- "salutationShort": "string",
- "salutationLong": "string",
- "languageId": "stri",
- "phone": "string",
- "fax": "string",
- "mobilePhone": "string",
- "email": "string",
- "entryDate": "2019-08-24T14:15:22Z",
- "entryBy": "string",
- "changeDate": "2019-08-24T14:15:22Z",
- "changeBy": "string",
- "comment": "string",
- "countryId": "stri",
- "country": "string",
- "countryISOA2": "st",
- "city": "string",
- "postCode": "string",
- "phoneCityCode": "string",
- "locked": "s"
}, - "deliveryAddress": {
- "addressId": 0,
- "addressImage": "string",
- "companyLine1": "string",
- "companyLine2": "string",
- "firstName": "string",
- "lastName": "string",
- "sectionName": "string",
- "sectionNumber": 0,
- "sectionAdditive": "string",
- "addressLine1": "string",
- "addressLine2": "string",
- "salutationId": 0,
- "salutationShort": "string",
- "salutationLong": "string",
- "languageId": "stri",
- "phone": "string",
- "fax": "string",
- "mobilePhone": "string",
- "email": "string",
- "entryDate": "2019-08-24T14:15:22Z",
- "entryBy": "string",
- "changeDate": "2019-08-24T14:15:22Z",
- "changeBy": "string",
- "comment": "string",
- "countryId": "stri",
- "country": "string",
- "countryISOA2": "st",
- "city": "string",
- "postCode": "string",
- "phoneCityCode": "string",
- "locked": "s"
}, - "additionalAddresses": [
- {
- "addressType": "s",
- "addressId": 0,
- "addressImage": "string",
- "companyLine1": "string",
- "companyLine2": "string",
- "firstName": "string",
- "lastName": "string",
- "sectionName": "string",
- "sectionNumber": 0,
- "sectionAdditive": "string",
- "addressLine1": "string",
- "addressLine2": "string",
- "salutationId": 0,
- "salutationShort": "string",
- "salutationLong": "string",
- "languageId": "stri",
- "phone": "string",
- "fax": "string",
- "mobilePhone": "string",
- "email": "string",
- "entryDate": "2019-08-24T14:15:22Z",
- "entryBy": "string",
- "changeDate": "2019-08-24T14:15:22Z",
- "changeBy": "string",
- "comment": "string",
- "countryId": "stri",
- "country": "string",
- "countryISOA2": "st",
- "city": "string",
- "postCode": "string",
- "phoneCityCode": "string",
- "locked": "s"
}
], - "uri": "string"
}, - "creditCode": "M",
- "deliveryLockCode": 0,
- "attributes": [
- {
- "attributeKey": "string",
- "attributeValue": "string",
- "attributeValueName": "string",
- "validFrom": "2019-08-24T14:15:22Z",
- "validTill": "2019-08-24T14:15:22Z",
- "entryDate": "2019-08-24T14:15:22Z",
- "entryBy": "string",
- "changeDate": "2019-08-24T14:15:22Z",
- "changeBy": "string"
}
], - "bankDetails": [
- {
- "id": 0,
- "bankAccount": "string",
- "iban": "string",
- "bic": "string",
- "bankName": "string",
- "status": "s",
- "entryBy": "string",
- "entryDate": "2019-08-24T14:15:22Z",
- "changeBy": "string",
- "changeDate": "2019-08-24T14:15:22Z"
}
], - "paymentTerm": 255
}
]
}Creates customer and returns the customerId.
| user | string <= 12 characters Set the casymir user name for history |
| customerId | string (customerId) <= 8 characters Number of the customer |
| customerName | string (customerName) <= 24 characters Short name of a customer |
required | Company name (object) or Personal name (object) or Both names (object) (addressPOST) Address object (request) |
Company name (object) or Personal name (object) or Both names (object) (addressPOST) Address object (request) | |
Company name (object) or Personal name (object) or Both names (object) (addressPOST) Address object (request) | |
Array of objects (attributePUT) Attribute array (request) | |
| customerGroupId | integer (customerGroupId) Id of the customer group |
| paymentTerm | number <integer> (paymentTerm) [ 0 .. 255 ] Id of predefined payment terms |
{- "contactAddress": {
- "lastName": "Stark",
- "firstName": "Tony",
- "city": "Bous",
- "postCode": "66359",
- "countryId": "D",
- "phone": "004156868303",
- "companyLine1": "S.H.I.E.L.D.",
- "addressLine1": "Saarbrücker Str. 69"
}
}{- "success": true,
- "message": "string"
}Returns the saved attributes with validity date.
| customerId required | string (customerId) <= 8 characters Number of the customer |
| attributeKey | string (attributeKey) <= 12 characters Attribute key |
| attributeValue | string (attributeValue) <= 200 characters Attribute value |
| validFrom | string <date-time> (validFrom) = 20 characters Date the attribute is valid from |
[- {
- "attributeKey": "CONFIDENTIAL",
- "attributeValue": "YES"
}, - {
- "attributeKey": "AGENTS",
- "attributeValue": "10"
}
]{- "success": true,
- "message": "string"
}Returns sales orders data that the user has access to.
| orderNo | string (orderNo) <= 10 characters Filter by order number |
| customerId | string (customerId) <= 8 characters Filter by customer |
| entryDateFrom | string <date-time> (entryDate) = 20 characters Filter by entry date |
| entryDateUntil | string <date-time> (entryDate) = 20 characters Filter by entry date |
| companyId | string (companyId) <= 12 characters Filter by company |
| status | string (status) <= 1 characters Filter by status |
| processingStatus | integer (processingStatus) Enum: 0 1 2 3 10 11 Filter by processing status
|
| siteNo | integer (siteNo) Filter by site number |
| limit | number <integer> (limit) Default: 0 Maximum number of results, activates pagination |
| offset | number <integer> (offset) Default: 0 Defines the offset of the pagination |
{- "success": true,
- "message": "string",
- "pagination": {
- "limit": 0,
- "offset": 0,
- "total": 0,
- "next": 0,
- "prev": 0
}, - "count": 0,
- "data": [
- {
- "orderNo": "string",
- "description": "string",
- "orderReference": "string",
- "customerId": "string",
- "customerName": "string",
- "customerOrderNo": "string",
- "entryDate": "2019-08-24T14:15:22Z",
- "orderDate": "2019-08-24T14:15:22Z",
- "status": "s",
- "comment": "string",
- "offerNo": "string",
- "processingStatus": 0,
- "costUnit": "string",
- "costUnitType": 0,
- "siteNo": 0,
- "deliveryDate": "2019-08-24T14:15:22Z",
- "shippingTermId": "string",
- "contactAddress": {
- "addressId": 0,
- "addressImage": "string",
- "companyLine1": "string",
- "companyLine2": "string",
- "firstName": "string",
- "lastName": "string",
- "sectionName": "string",
- "sectionNumber": 0,
- "sectionAdditive": "string",
- "addressLine1": "string",
- "addressLine2": "string",
- "salutationId": 0,
- "salutationShort": "string",
- "salutationLong": "string",
- "languageId": "stri",
- "phone": "string",
- "fax": "string",
- "mobilePhone": "string",
- "email": "string",
- "entryDate": "2019-08-24T14:15:22Z",
- "entryBy": "string",
- "changeDate": "2019-08-24T14:15:22Z",
- "changeBy": "string",
- "comment": "string",
- "countryId": "stri",
- "country": "string",
- "countryISOA2": "st",
- "city": "string",
- "postCode": "string",
- "phoneCityCode": "string",
- "locked": "s"
}, - "billingAddress": {
- "addressId": 0,
- "addressImage": "string",
- "companyLine1": "string",
- "companyLine2": "string",
- "firstName": "string",
- "lastName": "string",
- "sectionName": "string",
- "sectionNumber": 0,
- "sectionAdditive": "string",
- "addressLine1": "string",
- "addressLine2": "string",
- "salutationId": 0,
- "salutationShort": "string",
- "salutationLong": "string",
- "languageId": "stri",
- "phone": "string",
- "fax": "string",
- "mobilePhone": "string",
- "email": "string",
- "entryDate": "2019-08-24T14:15:22Z",
- "entryBy": "string",
- "changeDate": "2019-08-24T14:15:22Z",
- "changeBy": "string",
- "comment": "string",
- "countryId": "stri",
- "country": "string",
- "countryISOA2": "st",
- "city": "string",
- "postCode": "string",
- "phoneCityCode": "string",
- "locked": "s"
}, - "deliveryAddress": {
- "addressId": 0,
- "addressImage": "string",
- "companyLine1": "string",
- "companyLine2": "string",
- "firstName": "string",
- "lastName": "string",
- "sectionName": "string",
- "sectionNumber": 0,
- "sectionAdditive": "string",
- "addressLine1": "string",
- "addressLine2": "string",
- "salutationId": 0,
- "salutationShort": "string",
- "salutationLong": "string",
- "languageId": "stri",
- "phone": "string",
- "fax": "string",
- "mobilePhone": "string",
- "email": "string",
- "entryDate": "2019-08-24T14:15:22Z",
- "entryBy": "string",
- "changeDate": "2019-08-24T14:15:22Z",
- "changeBy": "string",
- "comment": "string",
- "countryId": "stri",
- "country": "string",
- "countryISOA2": "st",
- "city": "string",
- "postCode": "string",
- "phoneCityCode": "string",
- "locked": "s"
}, - "items": [
- {
- "articleNo": "string",
- "baseUnit": "string",
- "deliveryDate": "2019-08-24T14:15:22Z",
- "description": "string",
- "orderPosNo": 0,
- "packagingUnit": "string",
- "paperCode": "string",
- "pricePerBaseUnit": 0.1,
- "pricePerPackagingUnit": 0.1,
- "quantityBaseUnit": 0.1,
- "quantityPackagingUnit": 0.1,
- "taxAmount": 0.1,
- "totalPrice": 0.1,
- "closedAt": "2019-08-24T14:15:22Z",
- "attributes": [
- {
- "attributeKey": "string",
- "attributeValue": "string",
- "id": 0,
- "shortDescription": "string",
- "longDescription": "string",
- "condition1": "stri",
- "condition2": "string"
}
], - "batchSplit": [
- {
- "batchNo": "string",
- "quantity": 0.1,
- "foreignBatchNo": "string"
}
], - "appointmens": [
- {
- "appointmentDescription": "string",
- "appointmentSpecies": "B",
- "appointmentTargetDate": "2019-08-24T14:15:22Z",
- "appointmentType": 0
}
]
}
], - "attributes": [
- {
- "attributeKey": "string",
- "attributeValue": "string",
- "id": 0,
- "shortDescription": "string",
- "longDescription": "string",
- "condition1": "stri",
- "condition2": "string"
}
], - "appointmens": [
- {
- "appointmentDescription": "string",
- "appointmentSpecies": "B",
- "appointmentTargetDate": "2019-08-24T14:15:22Z",
- "appointmentType": 0
}
]
}
]
}Returns invoice data that the user has access to.
| limit | number <integer> (limit) Default: 0 Maximum number of results, activates pagination |
| offset | number <integer> (offset) Default: 0 Defines the offset of the pagination |
| orderNo | string (orderNo) <= 10 characters Filter by order number |
| customerId | string (customerId) <= 8 characters Filter by customer |
| companyId | string (companyId) <= 12 characters Filter by company |
| invoiceDateFrom | string <date-time> (invoiceDate) = 20 characters Filter by invoice date |
| invoiceDateUntil | string <date-time> (invoiceDate) = 20 characters Filter by invoice date |
{- "success": true,
- "message": "string",
- "pagination": {
- "limit": 0,
- "offset": 0,
- "total": 0,
- "next": 0,
- "prev": 0
}, - "count": 0,
- "data": [
- {
- "orderNo": "string",
- "invoiceNo": "string",
- "customerId": "string",
- "customerName": "string",
- "bookDate": "2019-08-24T14:15:22Z",
- "invoiceDate": "2019-08-24T14:15:22Z",
- "dueDate": "2019-08-24T14:15:22Z",
- "stamp": "2019-08-24T14:15:22Z",
- "paymentDate": "2019-08-24T14:15:22Z",
- "status": "s",
- "comment": "string",
- "costUnit": "string",
- "shippingTermId": "string",
- "billingAddress": {
- "addressId": 0,
- "addressImage": "string",
- "companyLine1": "string",
- "companyLine2": "string",
- "firstName": "string",
- "lastName": "string",
- "sectionName": "string",
- "sectionNumber": 0,
- "sectionAdditive": "string",
- "addressLine1": "string",
- "addressLine2": "string",
- "salutationId": 0,
- "salutationShort": "string",
- "salutationLong": "string",
- "languageId": "stri",
- "phone": "string",
- "fax": "string",
- "mobilePhone": "string",
- "email": "string",
- "entryDate": "2019-08-24T14:15:22Z",
- "entryBy": "string",
- "changeDate": "2019-08-24T14:15:22Z",
- "changeBy": "string",
- "comment": "string",
- "countryId": "stri",
- "country": "string",
- "countryISOA2": "st",
- "city": "string",
- "postCode": "string",
- "phoneCityCode": "string",
- "locked": "s"
}, - "deliveryAddress": {
- "addressId": 0,
- "addressImage": "string",
- "companyLine1": "string",
- "companyLine2": "string",
- "firstName": "string",
- "lastName": "string",
- "sectionName": "string",
- "sectionNumber": 0,
- "sectionAdditive": "string",
- "addressLine1": "string",
- "addressLine2": "string",
- "salutationId": 0,
- "salutationShort": "string",
- "salutationLong": "string",
- "languageId": "stri",
- "phone": "string",
- "fax": "string",
- "mobilePhone": "string",
- "email": "string",
- "entryDate": "2019-08-24T14:15:22Z",
- "entryBy": "string",
- "changeDate": "2019-08-24T14:15:22Z",
- "changeBy": "string",
- "comment": "string",
- "countryId": "stri",
- "country": "string",
- "countryISOA2": "st",
- "city": "string",
- "postCode": "string",
- "phoneCityCode": "string",
- "locked": "s"
}, - "items": [
- {
- "invoicePosNo": 0,
- "orderPosNo": 0,
- "articleNo": "string",
- "articleName": "string",
- "costUnit": "string",
- "description": "string",
- "quantity": 0.1,
- "taxCode": "st"
}
]
}
]
}Returns sales prices data that the user has access to.
| articleNo | string (articleNo) <= 15 characters Filter by article number |
| priceListName | string (priceListName) <= 12 characters Filter by key of a price list |
| status | string (status) <= 1 characters Filter by status |
| limit | number <integer> (limit) Default: 0 Maximum number of results, activates pagination |
| offset | number <integer> (offset) Default: 0 Defines the offset of the pagination |
{- "success": true,
- "message": "string",
- "pagination": {
- "limit": 0,
- "offset": 0,
- "total": 0,
- "next": 0,
- "prev": 0
}, - "count": 0,
- "data": [
- {
- "articleNo": "string",
- "quantityFrom": 0.1,
- "quantityUntil": 0.1,
- "priceListName": "string",
- "validFrom": "2019-08-24T14:15:22Z",
- "validUntil": "2019-08-24T14:15:22Z",
- "baseUnit": "string",
- "packagingUnit": "string",
- "currencyId": "stri",
- "changeDate": "2019-08-24T14:15:22Z",
- "changeBy": "string",
- "price": 0.1,
- "priceBasis": 0.1,
- "priceListDescription": "string",
- "priceType": "string",
- "status": "s"
}
]
}Returns all stock entries from the system that the user has access to.
| articleNo | string (articleNo) <= 15 characters Filter by article number |
| batchNo | string (batchNo) <= 24 characters Filter by batch number |
| postingDateFrom | string <date-time> (postingDate) = 20 characters Filter by posting date |
| postingDateUntil | string <date-time> (postingDate) = 20 characters Filter by posting date |
| siteNo | integer (siteNo) Filter by site number |
| storageLocation | string (storageLocation) <= 12 characters Filter by storage location |
| stockEntryNo | integer (stockEntryNo) Filter by stock entry number |
| stockEntryNoFrom | integer (stockEntryNo) Filter by stock entry number from |
| stockEntryNoUntil | integer (stockEntryNo) Filter by stock entry number until |
| stampFrom | string <date-time> (stamp) = 20 characters Filter by timestamp |
| stampUntil | string <date-time> (stamp) = 20 characters Filter by timestamp |
{- "success": true,
- "message": "string",
- "count": 0,
- "data": [
- {
- "stockEntryNo": 0,
- "articleNo": "string",
- "batchNo": "string",
- "orderNo": "string",
- "orderPosNo": 0,
- "invoiceNo": "string",
- "purchaseOrderNo": 0,
- "purchaseOrderPosNo": 0,
- "quantityBaseUnit": 0.1,
- "baseUnit": "string",
- "stockEntryCode": 0,
- "stockEntryType": "E",
- "postingDate": "2019-08-24T14:15:22Z",
- "costCenter": "string",
- "costPlace": "string",
- "supplierNo": "string",
- "siteNo": 0,
- "storageLocation": "string",
- "stamp": "2019-08-24T14:15:22Z",
- "userName": "string",
- "quantityPackagingUnit": 0.1,
- "packagingUnit": "string",
- "comment": "string",
- "links": [
- {
- "rel": "string",
- "href": "string",
- "method": "string"
}
]
}
]
}Returns the desired stock entry.
| stockEntryNo required | integer (stockEntryNo) Unique number of a stock entry |
{- "success": true,
- "message": "string",
- "count": 1,
- "data": [
- {
- "stockEntryNo": 0,
- "articleNo": "string",
- "batchNo": "string",
- "orderNo": "string",
- "orderPosNo": 0,
- "invoiceNo": "string",
- "purchaseOrderNo": 0,
- "purchaseOrderPosNo": 0,
- "quantityBaseUnit": 0.1,
- "baseUnit": "string",
- "stockEntryCode": 0,
- "stockEntryType": "E",
- "postingDate": "2019-08-24T14:15:22Z",
- "costCenter": "string",
- "costPlace": "string",
- "supplierNo": "string",
- "siteNo": 0,
- "storageLocation": "string",
- "stamp": "2019-08-24T14:15:22Z",
- "userName": "string",
- "quantityPackagingUnit": 0.1,
- "packagingUnit": "string",
- "comment": "string",
- "links": [
- {
- "rel": "string",
- "href": "string",
- "method": "string"
}
]
}
]
}Returns the actual system stock level that the user has access to.
| limit | number <integer> (limit) Default: 0 Maximum number of results, activates pagination |
| offset | number <integer> (offset) Default: 0 Defines the offset of the pagination |
| articleNo | string (articleNo) <= 15 characters Filter by article number |
| storageLocation | string (storageLocation) <= 12 characters Filter by storage location |
| siteNo | integer (siteNo) Filter by site number |
| baseUnit | string (baseUnit) <= 12 characters Filter by article base unit |
| packagingUnit | string (packagingUnit) <= 30 characters Filter by packagingUnit |
| scope | string Value: "app" Filter by scope for a more precise response.
|
{- "success": true,
- "message": "string",
- "pagination": {
- "limit": 0,
- "offset": 0,
- "total": 0,
- "next": 0,
- "prev": 0
}, - "count": 0,
- "data": [
- {
- "articleNo": "string",
- "storageLocation": "string",
- "siteNo": 0,
- "quantityBaseUnit": 0.1,
- "baseUnit": "string",
- "quantityPackagingUnit": 0.1,
- "packagingUnit": "string",
- "links": [
- {
- "rel": "string",
- "href": "string",
- "method": "string"
}
]
}
]
}Returns the actual system stock level of batches that the user has access to.
| limit | number <integer> (limit) Default: 0 Maximum number of results, activates pagination |
| offset | number <integer> (offset) Default: 0 Defines the offset of the pagination |
| articleNo | string (articleNo) <= 15 characters Filter by article number |
| batchNo | string (batchNo) <= 24 characters Filter by batch number |
| storageLocation | string (storageLocation) <= 12 characters Filter by storage location |
| siteNo | integer (siteNo) Filter by site number |
| baseUnit | string (baseUnit) <= 12 characters Filter by article base unit |
| packagingUnit | string (packagingUnit) <= 30 characters Filter by packagingUnit |
{- "success": true,
- "message": "string",
- "pagination": {
- "limit": 0,
- "offset": 0,
- "total": 0,
- "next": 0,
- "prev": 0
}, - "count": 0,
- "data": [
- {
- "articleNo": "string",
- "articleName": "string",
- "batchNo": "string",
- "storageLocation": "string",
- "siteNo": 0,
- "quantityBaseUnit": 0.1,
- "baseUnit": "string",
- "quantityPackagingUnit": 0.1,
- "packagingUnit": "string",
- "links": [
- {
- "rel": "string",
- "href": "string",
- "method": "string"
}
], - "batch": {
- "baseBatchNo": "string",
- "foreignBatchNo": "string",
- "batchStatus": "K",
- "batchStatusName": "calculation"
}
}
]
}Perform stock posting/booking
| bookType required | string Enum: "input" "output" "relocate" "split" "merge" Type of posting |
| user | string <= 12 characters Set the casymir user name for history |
| articleNo required | string (articleNo) <= 15 characters Number of the article |
| batchNo required | string (batchNo) <= 24 characters Batch of the article |
| quantity required | number <float> (quantity) Quantity |
| packagingUnit | string (packagingUnit) <= 30 characters The packaging unit |
| siteNo required | integer (siteNo) Site number |
| storageLocation required | string (storageLocation) <= 12 characters Name of the storage location |
| createPallet | boolean Flag set to true if you want to generate the next pallet no (input only) |
| includeSSCC | boolean (includeSSCC) Indicates if the Serial Shipping Container Code (SSCC) should be included in the message. The variable |
| recipeOutput | boolean Flag set to true if you want to book materials outputs for input value (input only) |
| batchComment | string (comment) <= 255 characters Comment |
| batchComment1 | string (comment) <= 255 characters Comment |
| batchComment2 | string (comment) <= 255 characters Comment |
| printLabel | boolean (printLabel) Flag set to true if you want to print a label (input only) |
| postingDate | string <date-time> (postingDate) = 20 characters Posting date |
| foreignBatchNo | string (foreignBatchNo) <= 24 characters Foreign batch of the article batch |
| comment | string (comment) <= 255 characters Comment |
| proRata | boolean Flag set to true if you want to book material outputs pro rata for input value (input only) |
Relocate stock with batch and without packaging unit
{- "articleNo": "P001",
- "batchNo": "10060",
- "quantityBaseUnit": 2,
- "sourceSiteNo": 1,
- "sourceStorageLocation": "roh",
- "targetSiteNo": 1,
- "targetStorageLocation": "prod"
}{- "success": true,
- "message": "string",
- "count": 0,
- "data": [
- {
- "stockEntryNo": 0,
- "articleNo": "string",
- "batchNo": "string",
- "baseBatchNo": "string",
- "serialShippingContainerCode": "stringstringstring",
- "quantities": [
- {
- "quantity": 0,
- "packagingUnit": "string",
- "batchNo": "string",
- "success": true,
- "error": "string",
- "stockEntryNo": 0
}
]
}
]
}Returns all picking jobs from the system that the user has access to.
| stockEntryNo | integer (stockEntryNo) Filter by stock entry number |
{- "success": true,
- "message": "string",
- "count": 0,
- "data": [
- {
- "stockEntryNo": 0,
- "orderNo": "string",
- "orderPosNo": 0,
- "batchNo": "string",
- "siteNo": 0,
- "targetStorageLocation": "string",
- "comment": "string",
- "startDate": "2019-08-24T14:15:22Z",
- "startBy": "string",
- "pickingDate": "2019-08-24T14:15:22Z",
- "pickingBy": "string",
- "articleNo": "string",
- "sourceStorageLocation": "string",
- "quantityBaseUnit": 0.1,
- "baseUnit": "string",
- "quantityPackagingUnit": 0.1,
- "packagingUnit": "string",
- "postingDate": "2019-08-24T14:15:22Z",
- "stamp": "2019-08-24T14:15:22Z",
- "userName": "string"
}
]
}Create picking jobs for orders or rearrangements
| user | string <= 12 characters Set the casymir user name for history |
| articleNo | string (articleNo) <= 15 characters Number of the article |
| batchNo | string (batchNo) <= 24 characters Batch of the article |
| siteNo | integer (siteNo) Site number |
| sourceStorageLocation | string (storageLocation) <= 12 characters Name of the storage location |
| targetStorageLocation | string (storageLocation) <= 12 characters Name of the storage location |
| quantity | number <float> (quantity) Quantity |
| packagingUnit | string (packagingUnit) <= 30 characters The packaging unit |
| startBy | string (startBy) <= 12 characters User who started action |
| pickUp | boolean Flag set to true if you want to pickup the job |
{- "articleNo": "C001",
- "batchNo": "10000",
- "quantity": 560,
- "siteNo": 1,
- "sourceStorageLocation": "qua",
- "targetStorageLocation": "Vers",
- "pickUp": true
}{- "success": true,
- "message": "string",
- "count": 0,
- "data": [
- {
- "stockEntryNo": 0
}
]
}Creates or patches picking jobs and returns their stockEntryNo's.
| user | string <= 12 characters Set the casymir user name for history |
| articleNo required | string (articleNo) <= 15 characters Number of the article |
| batchNo required | string (batchNo) <= 24 characters Batch of the article |
| siteNo required | integer (siteNo) Site number |
| sourceStorageLocation required | string (storageLocation) <= 12 characters Name of the storage location |
| targetStorageLocation required | string (storageLocation) <= 12 characters Name of the storage location |
| quantity required | number <float> (quantity) Quantity |
| packagingUnit | string (packagingUnit) <= 30 characters The packaging unit |
| startBy | string (startBy) <= 12 characters User who started action |
| pickUp | boolean Flag set to true if you want to pickup the job |
[- {
- "articleNo": "string",
- "batchNo": "string",
- "siteNo": 0,
- "sourceStorageLocation": "string",
- "targetStorageLocation": "string",
- "quantity": 0.1,
- "packagingUnit": "string",
- "startBy": "string",
- "pickUp": true
}
]{- "success": true,
- "message": "string",
- "count": 0,
- "data": [
- {
- "stockEntryNo": 0
}
]
}Pick, park, change or complete a job and returns the entry id.
| stockEntryNo required | integer (stockEntryNo) Unique number of a stock entry |
| user | string <= 12 characters Set the casymir user name for history |
| targetStorageLocation | string (storageLocation) <= 12 characters Name of the storage location |
| quantity | number <float> (quantity) Quantity |
| packagingUnit | string (packagingUnit) <= 30 characters The packaging unit |
| action | string Enum: "lock" "unlock" Action to perform on the picking job |
| startBy | string (startBy) <= 12 characters User who started action |
| pickUp | boolean Flag set to true if you want to pickup the job |
{- "pickUp": true
}{- "success": true,
- "message": "string",
- "count": 0,
- "data": [
- {
- "stockEntryNo": 0
}
]
}Get reservations of sales or production orders
| articleNo | string (articleNo) <= 15 characters Filter by article number |
| batchNo | string (batchNo) <= 24 characters Filter by batch number |
| storageLocation | string (storageLocation) <= 12 characters Filter by storage location |
| siteNo | integer (siteNo) Filter by site number |
| orderNo | string (orderNo) <= 10 characters Filter by order number |
| orderPosNo | integer (orderPosNo) Filter by order position number |
| assignedOnly | boolean Show reservations with assigned batches only |
{- "success": true,
- "message": "string",
- "count": 0,
- "data": [
- {
- "articleNo": "string",
- "batchNo": "string",
- "orderNo": "string",
- "orderPosNo": 0,
- "id": 0,
- "siteNo": 0,
- "storageLocation": "string",
- "packagingUnit": "string",
- "quantity": 0.1,
- "requirementDate": "2019-08-24T14:15:22Z"
}
]
}Returns all current disposition orders from the system that the user has access to. Disposition orders can contain cross-order stock orders.
| dispoNo | number <integer> (dispoNo) Filter by disposition order number |
{- "success": true,
- "message": "string",
- "count": 0,
- "data": [
- {
- "dispoNo": 0,
- "description": "string",
- "dispoDate": "2019-08-24T14:15:22Z",
- "status": "s",
- "entryBy": "string",
- "entryDate": "2019-08-24T14:15:22Z",
- "changeBy": "string",
- "changeDate": "2019-08-24T14:15:22Z",
- "comment": "string",
- "comment1": "string",
- "comment2": "string",
- "pickingBy": "string",
- "weight": 0,
- "pallets": 0,
- "assignments": [
- {
- "orderNo": "string",
- "orderPosNo": 0,
- "tenant": "string",
- "entryBy": "string",
- "entryDate": "2019-08-24T14:15:22Z",
- "loadingOrder": 0
}
]
}
]
}Submits a count in the inventory.
| user | string <= 12 characters Set the casymir user name for history |
| articleNo required | string (articleNo) <= 15 characters Number of the article |
| batchNo | string (batchNo) <= 24 characters Batch of the article |
| quantity required | number <float> (quantity) Quantity |
| siteNo required | integer (siteNo) Site number |
| storageLocation required | string (storageLocation) <= 12 characters Name of the storage location |
| packagingUnit | string (packagingUnit) <= 30 characters The packaging unit |
| comment | string (comment) <= 255 characters Comment |
{- "articleNo": "string",
- "batchNo": "string",
- "quantity": 0.1,
- "siteNo": 0,
- "storageLocation": "string",
- "packagingUnit": "string",
- "comment": "string"
}{- "success": true,
- "message": "string"
}Returns all subscriptions from the system that the user has access to.
| limit | number <integer> (limit) Default: 0 Maximum number of results, activates pagination |
| offset | number <integer> (offset) Default: 0 Defines the offset of the pagination |
| subscriptionId | string (subscriptionId) <= 12 characters Filter by subscription number, [orderNo].[posNo] in casymir |
| customerId | string (customerId) <= 8 characters Filter by customer |
| companyId | string (companyId) <= 12 characters Filter by company |
{- "success": true,
- "message": "string",
- "pagination": {
- "limit": 0,
- "offset": 0,
- "total": 0,
- "next": 0,
- "prev": 0
}, - "count": 0,
- "data": [
- {
- "subscriptionId": "string",
- "description": "string",
- "customerId": "string",
- "customerName": "string",
- "articleNo": "string",
- "startDate": "2019-08-24T14:15:22Z",
- "endDate": "2019-08-24T14:15:22Z",
- "priceText": "string",
- "billingAddress": {
- "addressId": 0,
- "addressImage": "string",
- "companyLine1": "string",
- "companyLine2": "string",
- "firstName": "string",
- "lastName": "string",
- "sectionName": "string",
- "sectionNumber": 0,
- "sectionAdditive": "string",
- "addressLine1": "string",
- "addressLine2": "string",
- "salutationId": 0,
- "salutationShort": "string",
- "salutationLong": "string",
- "languageId": "stri",
- "phone": "string",
- "fax": "string",
- "mobilePhone": "string",
- "email": "string",
- "entryDate": "2019-08-24T14:15:22Z",
- "entryBy": "string",
- "changeDate": "2019-08-24T14:15:22Z",
- "changeBy": "string",
- "comment": "string",
- "countryId": "stri",
- "country": "string",
- "countryISOA2": "st",
- "city": "string",
- "postCode": "string",
- "phoneCityCode": "string",
- "locked": "s"
}, - "contactAddress": {
- "addressId": 0,
- "addressImage": "string",
- "companyLine1": "string",
- "companyLine2": "string",
- "firstName": "string",
- "lastName": "string",
- "sectionName": "string",
- "sectionNumber": 0,
- "sectionAdditive": "string",
- "addressLine1": "string",
- "addressLine2": "string",
- "salutationId": 0,
- "salutationShort": "string",
- "salutationLong": "string",
- "languageId": "stri",
- "phone": "string",
- "fax": "string",
- "mobilePhone": "string",
- "email": "string",
- "entryDate": "2019-08-24T14:15:22Z",
- "entryBy": "string",
- "changeDate": "2019-08-24T14:15:22Z",
- "changeBy": "string",
- "comment": "string",
- "countryId": "stri",
- "country": "string",
- "countryISOA2": "st",
- "city": "string",
- "postCode": "string",
- "phoneCityCode": "string",
- "locked": "s"
}, - "deliveryAddress": {
- "addressId": 0,
- "addressImage": "string",
- "companyLine1": "string",
- "companyLine2": "string",
- "firstName": "string",
- "lastName": "string",
- "sectionName": "string",
- "sectionNumber": 0,
- "sectionAdditive": "string",
- "addressLine1": "string",
- "addressLine2": "string",
- "salutationId": 0,
- "salutationShort": "string",
- "salutationLong": "string",
- "languageId": "stri",
- "phone": "string",
- "fax": "string",
- "mobilePhone": "string",
- "email": "string",
- "entryDate": "2019-08-24T14:15:22Z",
- "entryBy": "string",
- "changeDate": "2019-08-24T14:15:22Z",
- "changeBy": "string",
- "comment": "string",
- "countryId": "stri",
- "country": "string",
- "countryISOA2": "st",
- "city": "string",
- "postCode": "string",
- "phoneCityCode": "string",
- "locked": "s"
}, - "bankDetails": {
- "id": 0,
- "bankAccount": "string",
- "iban": "string",
- "bic": "string",
- "bankName": "string",
- "status": "s",
- "entryBy": "string",
- "entryDate": "2019-08-24T14:15:22Z",
- "changeBy": "string",
- "changeDate": "2019-08-24T14:15:22Z"
}, - "foreignSubscriptionId": "string"
}
]
}Creates a subscription and returns the subscriptionId.
| user | string <= 12 characters Set the casymir user name for history |
| customerId required | string (customerId) <= 8 characters Number of the customer |
| articleNo required | string (articleNo) <= 15 characters Number of the article |
| startDate required | string <date-time> (startDate) = 20 characters Date of the started action |
| orderNo | string (orderNo) <= 10 characters Production or sales order number |
| foreignSubscriptionId | string (foreignSubscriptionId) <= 200 characters Foreign subscription id, for example from a third party system |
{- "customerId": "string",
- "articleNo": "string",
- "startDate": "2019-08-24T14:15:22Z",
- "orderNo": "string",
- "foreignSubscriptionId": "string"
}{- "success": true,
- "message": "string",
- "count": 0,
- "data": [
- {
- "subscriptionId": "string"
}
]
}Endpoint mapped to customer plugin event processing to organize supllies for production means.
| user | string <= 12 characters Set the casymir user name for history |
| articleNo required | string (articleNo) <= 15 characters Number of the article |
| batchNo required | string (batchNo) <= 24 characters Batch of the article |
| partArticleNo required | string (articleNo) <= 15 characters Number of the article |
| siteNo required | integer (siteNo) Site number |
| storageLocation required | string (storageLocation) <= 12 characters Name of the storage location |
{- "articleNo": "string",
- "batchNo": "string",
- "partArticleNo": "string",
- "siteNo": 0,
- "storageLocation": "string"
}[- {
- "success": true,
- "message": "string",
- "count": 0,
- "data": [
- {
- "stockEntryNo": 0
}
]
}
]Archive documents in a connected DMS (multiple possible). Returns the record id in any connected DMS.
required | Array of objects List of files to archive |
required | object Report details (see CASYMIR ArchivZuordnungDetail) |
object Additional options |
{- "files": [
- {
- "base64Data": "string",
- "fileName": "string",
- "mimeType": "string",
- "sha256Checksum": "string"
}
], - "report": {
- "name": "string",
- "parameters": {
- "property1": "string",
- "property2": "string"
}
}, - "options": {
- "replaceAttachments": false
}
}{- "success": true,
- "message": "string",
- "count": 1,
- "data": [
- {
- "archiveIdentifier": "phoenix_documents",
- "archiveName": "PHOENIX Documents",
- "id": "recordId"
}
]
}Search for documents in a connected DMS (multiple possible). Returns the found records in any connected DMS.
required | Array of objects or objects List of filters to apply to the search |
object Additional options |
{- "filters": [
- {
- "archiveIdentifier": "phoenix_documents",
- "id": "00677fac-5093-2144-025a-f10ec3c127d3"
}, - {
- "archiveIdentifier": "phoenix_documents",
- "archive": {
- "identifier": "entw_einkauf"
}, - "queryString": "_dokumentenart=\"Bestellung\""
}, - {
- "archiveIdentifier": "phoenix_documents",
- "archive": {
- "id": "0067764d-4ea9-3178-6746-be57c15624bd"
}, - "query": {
- "dokumentenart": "Rechnung"
}
}
], - "options": {
- "includeFiles": false,
- "writeFiles": false,
- "writeFolder": "/home/transfer/phoenix-test"
}
}{- "success": true,
- "message": "string",
- "count": 1,
- "data": [
- {
- "archiveIdentifier": "phoenix_documents",
- "archiveName": "PHOENIX Documents",
- "records": [
- {
- "id": "00677fac-5093-2144-025a-f10ec3c127d3",
- "attachments": [
- {
- "id": "00677fab-3e3f-7053-350d-16cf2fc5338b",
- "fileName": "bestellung-204.pdf"
}, - {
- "id": "00677fac-50a1-3e15-dbb1-87fdb08ad0dc",
- "fileName": "Richard Ayoade.jpeg"
}
]
}
]
}
]
}Returns all possible incoming EDI message types.
{- "success": true,
- "message": "string",
- "count": 0,
- "data": [
- {
- "description": "string",
- "formats": [
- {
- "name": "string",
- "definition": "string"
}
], - "incoming": true,
- "messageType": "string",
- "outgoing": true
}
]
}Processes an incoming EDI message.
| messageType required | string Value: "DELFOR" The type of the message (e.g. 'ORDERS') |
Request body for importing an incoming EDI message
| filePath required | string The path of the file |
| format | string The format of the message. Default: AFx format of the message |
{- "file": "string",
- "format": "string"
}{- "success": true,
- "message": "string",
- "count": 0,
- "data": [
- {
- "deliveryScheduleId": "string",
- "deliveryScheduleNo": "string"
}
]
}Returns all possible outgoing EDI message types.
{- "success": true,
- "message": "string",
- "count": 0,
- "data": [
- {
- "description": "string",
- "formats": [
- {
- "name": "string",
- "definition": "string"
}
], - "incoming": true,
- "messageType": "string",
- "outgoing": true
}
]
}Creates an outgoing EDI message.
| messageType required | string Enum: "DESADV" "INVOIC" "ORDRSP" The type of the message (e.g. 'DESADV') |
Request body for creating an outgoing EDI message
| orderNo required | string (orderNo) <= 10 characters Production or sales order number |
| invoiceNo | string (invoiceNo) <= 10 characters Invoice number |
| format | string The format of the message. Default: AFx format of the message |
| writeFile | boolean Indicates if the message should be written to a file. Default: true |
| writeFolder | string The folder where the file should be written. Default: /tmp |
| includeFile | boolean Indicates if the file should be included in the message. Default: false |
| functionCode | string Enum: "N" "S" The function code of the message. Default: N |
| fileName | string The name of the file |
{- "orderNo": "string",
- "invoiceNo": "string",
- "format": "string",
- "writeFile": true,
- "writeFolder": "string",
- "includeFile": true,
- "functionCode": "N",
- "fileName": "string"
}{- "success": true,
- "message": "string",
- "count": 0,
- "data": {
- "fileName": "string",
- "filePath": "string",
- "file": "string"
}
}