API

RamBase REST APIs

POST product/products

Create new product. Note that manufacturer might be required based on company settings.

HTTP method POST
URI https://api.rambase.net/product/products
Supported formats Xml, Html, Json (ex. $format=json)
Custom fields Custom fields supported
Successful HTTP status code 201
API resource identifier 2657, version 26

The following body must be added to the request. Mouse over fieldnames for description and other useful information about the fields. Note that fields in bold are required/mandatory.

Format:
1
<Product>
2
     <Name
Name

Required/mandatory field

Name of the product

>
{String}</Name>
3
     <Type
Type

Required/mandatory field

Type of product

Applicable domain values can be found here

>
{String}</Type>
4
     <Description
Description

Description of the product

This field is optional.

>
{String}</Description>
5
     <ExternalReference
ExternalReference

External reference of the product. Typically used for storing product identifier for same product in external system.

This field is optional.

>
{String}</ExternalReference>
6
     <CustomField1
CustomField1

Custom field for grouping, sorting, categorizing and other purposes.

This field is optional.

>
{String}</CustomField1>
7
     <CustomField2
CustomField2

Custom field for grouping, sorting, categorizing and other purposes.

This field is optional.

>
{String}</CustomField2>
8
     <CustomField3
CustomField3

Custom field for grouping, sorting, categorizing and other purposes

This field is optional.

>
{String}</CustomField3>
9
     <GlobalTradeItemNumber
GlobalTradeItemNumber

Global Trade Item Number (GTIN) is a 14 digit identifier for trade items (comprising among others of the former EAN International and Uniform Code Council). Examples of types of GTIN are UPC, EAN, JAN, ISBN

Maximum value: 14

Input must match the following regular expression pattern: ([0-9])+

This field is optional.

>
{String}</GlobalTradeItemNumber>
10
     <Weight
Weight

The weight of the product in kilograms.

Minimum value: 0

This field is optional.

>
{Decimal}</Weight>
11
     <CountryOfOriginCode
CountryOfOriginCode

Two-character code (ISO 3166) identifying the default country where the product is produced. This value is inherrited from the assigned goods reception(s). If not country of origin is specified for the goods reception(s), country of origin is retrieved from the product. If assigned to multiple goods receptions with different origin, the field will be empty.

This field is optional.

>
{String}</CountryOfOriginCode>
12
     <InternalNote
InternalNote

Internal note regardig the product. Should not be exposed to customers.

This field is optional.

>
{String}</InternalNote>
13
     <MoistureSensitivityLevel
MoistureSensitivityLevel

Moisture sensitivity level is an electronic standard for the time period in which a moisture sensitive device can be exposed to ambient room conditions.

Applicable domain values can be found here

This field is optional.

>
{String}</MoistureSensitivityLevel>
14
     <PublicProductUri
PublicProductUri

Public/external product URI for more information about the product. Will typically be an URL to product details at the manufacturer web site.

Input must match the following regular expression pattern: ^(http|https):\/\/[\w\-_]+(\.[\w\-_]+)+([\w\-\.,@?^=%&:/~\+#]*[\w\-\@?^=%&/~\+#])?$

This field is optional.

>
{String}</PublicProductUri>
15
     <RequireSerialNumberBeforeShipping
RequireSerialNumberBeforeShipping

If all units of this product should have a serial number before shipping, you should require serial number to be specified before shipping this product. Shipping includes supplier returns, shipping advices and stock transfers.

Default value: False

This field is optional.

>
{Boolean}</RequireSerialNumberBeforeShipping>
16
     <MeasurementUnit
MeasurementUnit

Measurement unit used for this product, both in sales and purchase.

This field is optional.

>
17
          <MeasurementUnitId
MeasurementUnitId

Measurement unit identifier

Minimum value: 100

This field is optional.

>
{Integer}</MeasurementUnitId>
18
     </MeasurementUnit>
19
     <Manufacturer
Manufacturer

Manufacturer of the product

This field is optional.

>
20
          <ManufacturerId
ManufacturerId

Manufacturer identifier

Minimum value: 1000

This field is optional.

>
{Integer}</ManufacturerId>
21
     </Manufacturer>
22
     <Package
Package

This field is optional.

>
23
          <PalletQuantity
PalletQuantity

Total quantity of the product that can be on a pallet

Minimum value: 0

This field is optional.

>
{Integer}</PalletQuantity>
24
          <PackageQuantity
PackageQuantity

Total quantity of the product within a package

Minimum value: 0

This field is optional.

>
{Integer}</PackageQuantity>
25
          <PackageType
PackageType

Type of wrapping used for the package

Applicable domain values can be found here

This field is optional.

>
{String}</PackageType>
26
     </Package>
27
     <Dimensions
Dimensions

This field is optional.

>
28
          <Width
Width

Width of the product in centimetres

Minimum value: 0

This field is optional.

>
{Decimal}</Width>
29
          <Height
Height

Height of the product in centimetres

Minimum value: 0

This field is optional.

>
{Decimal}</Height>
30
          <Length
Length

Length of the product in centimetres

Minimum value: 0

This field is optional.

>
{Decimal}</Length>
31
          <Volume
Volume

Volume of the product in cubic centimetres. Volume is calculated automatically as L* W* H (when the volume field is empty and L,W ,H have values). Volume can also be changed manually

Minimum value: 0

This field is optional.

>
{Decimal}</Volume>
32
     </Dimensions>
33
     <MainImage
MainImage

Main image of the product

This field is optional.

>
34
          <File
File

This field is optional.

>
35
               <FileId
FileId

File identifier

Minimum value: 100000

This field is optional.

>
{Integer}</FileId>
36
          </File>
37
     </MainImage>
38
     <ProductClassification
ProductClassification

This field is optional.

>
39
          <ProductClassificationId
ProductClassificationId

Product classification identifier

This field is optional.

>
{String}</ProductClassificationId>
40
     </ProductClassification>
41
     <Production
Production

This field is optional.

>
42
          <IsTraceableMaterialOfProductUnit
IsTraceableMaterialOfProductUnit

During production of a product structure, each produced unit generates a list of tracable materials included in the finished unit. When this value is true, this product is included in the list of tracable materials.

This field is optional.

>
{Boolean}</IsTraceableMaterialOfProductUnit>
43
          <IsManufacturedInBatches
IsManufacturedInBatches

Products is either manufactured in batch product units, or single product units. When manufactured as single, each production unit of a production work order should result in seperate product units. When manufactured in batches, all production units from one production work order should result in one common product unit.

Default value: False

This field is optional.

>
{Boolean}</IsManufacturedInBatches>
44
          <NeedsMaterialReplacementToRelease
NeedsMaterialReplacementToRelease

You can add a dummy article in productions which you replace with the actual product before production starts. This function is used in situations where it is undecided which product will be used in the final production.

Default value: False

This field is optional.

>
{Boolean}</NeedsMaterialReplacementToRelease>
45
          <ManufacturingArea
ManufacturingArea

This field is optional.

>
46
               <ManufacturingAreaId
ManufacturingAreaId

Manufacturing area identifier

Minimum value: 100000

This field is optional.

>
{Integer}</ManufacturingAreaId>
47
          </ManufacturingArea>
48
     </Production>
49
     <Service
Service

This field is optional.

>
50
          <ServiceInterval
ServiceInterval

Service template of the product. This template will be used when performing service for this product.

This field is optional.

>
51
               <ServiceIntervalId
ServiceIntervalId

Service interval identifier

Minimum value: 100000

This field is optional.

>
{Integer}</ServiceIntervalId>
52
          </ServiceInterval>
53
     </Service>
54
     <Sales
Sales

This field is optional.

>
55
          <Type
Type

Defines if an article is of one of the types: Sales, Sales and rental, Rental, Subscription

Applicable domain values can be found here

This field is optional.

>
{Integer}</Type>
56
          <AssignInMultipleOf
AssignInMultipleOf

Sometimes the products are packed together in a way that makes it preferrable to keep them together when selling. When RamBase starts the process of assigning sales to stock or purchase backlog, this field is taken into consideration. If the available quantity is not in this multiple, the rest quantity will be requested for procurement.

Ex. a product is set up to be assigned in multiple of 3. When selling 7 pcs of this product, 6 is assigned to stock or purchase backlog, while the last one is always requested for procurement (even though you have 100 in stock). Note that you can still manually override this behaviour and assign everything to stock or purchase backlog.

Minimum value: 1

This field is optional.

>
{Integer}</AssignInMultipleOf>
57
          <MinimumGrossMargin
MinimumGrossMargin

The minimum gross margin, in percent, for the product

Minimum value: 0

This field is optional.

>
{Decimal}</MinimumGrossMargin>
58
          <WarrantyPeriod
WarrantyPeriod

The time period (in months) in which the product may be returned or exchanged. The warranty period starts at the date of shipment to customer.

Minimum value: 0

This field is optional.

>
{Integer}</WarrantyPeriod>
59
          <StandardLeadTime
StandardLeadTime

The standard lead time, in number of days, from customer places order to delivery.

Minimum value: 0

This field is optional.

>
{Integer}</StandardLeadTime>
60
          <MinimumSalesPrice
MinimumSalesPrice

This field is optional.

>
61
               <Currency
Currency

Three character code following the ISO 4217 standard

Applicable domain values can be found here

This field is optional.

>
{String}</Currency>
62
               <NetPrice
NetPrice

Minimum sales price for product

Minimum value: 0

This field is optional.

>
{Decimal}</NetPrice>
63
          </MinimumSalesPrice>
64
          <ExclusivelyForCustomer
ExclusivelyForCustomer

If customer is specified, only this customer can place orders for this product.

This field is optional.

>
65
               <CustomerId
CustomerId

Customer identifier

Minimum value: 10000

This field is optional.

>
{Integer}</CustomerId>
66
          </ExclusivelyForCustomer>
67
     </Sales>
68
     <Stock
Stock

This field is optional.

>
69
          <IsNonStock
IsNonStock

True if this is a non-physical product which are no using assignments from the assignment archive

This field is optional.

>
{Boolean}</IsNonStock>
70
          <RequireSerialNumberAtGoodsReception
RequireSerialNumberAtGoodsReception

If all units of this product should have a serial number in stock, you should require serial number to be required at goods reception. This will ensure that serial number is specified before goods receptions with this product is registered.

Default value: False

This field is optional.

>
{Boolean}</RequireSerialNumberAtGoodsReception>
71
     </Stock>
72
     <Procurement
Procurement

This field is optional.

>
73
          <ExpectedLeadTime
ExpectedLeadTime

The expected lead time, in number of days, from ordering from supplier to delivery. Used in different purchase processes, typically when supplier is unknown. Note that this might differ from the standard lead times defined on the different suppliers.

Minimum value: 0

This field is optional.

>
{Integer}</ExpectedLeadTime>
74
          <AutoGenerateSerialNumbersForPurchaseOrders
AutoGenerateSerialNumbersForPurchaseOrders

Serial numbers can be added to all newly created purchase order items. The serial number is specified in the company setting ProductionSerialNumberCounter, which will increase afterwards. If the company setting AutoProductionSerialNumberPrefix is specified, the serial number will be prefixed by this value.

Default value: False

This field is optional.

>
{Boolean}</AutoGenerateSerialNumbersForPurchaseOrders>
75
     </Procurement>
76
     <ProductCollection
ProductCollection

This field is optional.

>
77
          <ProductId
ProductId

Product identifier

Minimum value: 10000

This field is optional.

>
{Integer}</ProductId>
78
     </ProductCollection>
79
</Product>
1
{
2
     "product": {
3
          "name
Name

Required/mandatory field

Name of the product

":
"{String}",
4
          "type
Type

Required/mandatory field

Type of product

Applicable domain values can be found here

":
"{String}",
5
          "description
Description

Description of the product

This field is optional.

":
"{String}",
6
          "externalReference
ExternalReference

External reference of the product. Typically used for storing product identifier for same product in external system.

This field is optional.

":
"{String}",
7
          "customField1
CustomField1

Custom field for grouping, sorting, categorizing and other purposes.

This field is optional.

":
"{String}",
8
          "customField2
CustomField2

Custom field for grouping, sorting, categorizing and other purposes.

This field is optional.

":
"{String}",
9
          "customField3
CustomField3

Custom field for grouping, sorting, categorizing and other purposes

This field is optional.

":
"{String}",
10
          "globalTradeItemNumber
GlobalTradeItemNumber

Global Trade Item Number (GTIN) is a 14 digit identifier for trade items (comprising among others of the former EAN International and Uniform Code Council). Examples of types of GTIN are UPC, EAN, JAN, ISBN

Maximum value: 14

Input must match the following regular expression pattern: ([0-9])+

This field is optional.

":
"{String}",
11
          "weight
Weight

The weight of the product in kilograms.

Minimum value: 0

This field is optional.

":
"{Decimal}",
12
          "countryOfOriginCode
CountryOfOriginCode

Two-character code (ISO 3166) identifying the default country where the product is produced. This value is inherrited from the assigned goods reception(s). If not country of origin is specified for the goods reception(s), country of origin is retrieved from the product. If assigned to multiple goods receptions with different origin, the field will be empty.

This field is optional.

":
"{String}",
13
          "internalNote
InternalNote

Internal note regardig the product. Should not be exposed to customers.

This field is optional.

":
"{String}",
14
          "moistureSensitivityLevel
MoistureSensitivityLevel

Moisture sensitivity level is an electronic standard for the time period in which a moisture sensitive device can be exposed to ambient room conditions.

Applicable domain values can be found here

This field is optional.

":
"{String}",
15
          "publicProductUri
PublicProductUri

Public/external product URI for more information about the product. Will typically be an URL to product details at the manufacturer web site.

Input must match the following regular expression pattern: ^(http|https):\/\/[\w\-_]+(\.[\w\-_]+)+([\w\-\.,@?^=%&:/~\+#]*[\w\-\@?^=%&/~\+#])?$

This field is optional.

":
"{String}",
16
          "requireSerialNumberBeforeShipping
RequireSerialNumberBeforeShipping

If all units of this product should have a serial number before shipping, you should require serial number to be specified before shipping this product. Shipping includes supplier returns, shipping advices and stock transfers.

Default value: False

This field is optional.

":
"{Boolean}",
17
          "measurementUnit
MeasurementUnit

Measurement unit used for this product, both in sales and purchase.

This field is optional.

":
{
18
               "measurementUnitId
MeasurementUnitId

Measurement unit identifier

Minimum value: 100

This field is optional.

":
"{Integer}"
19
          },
20
          "manufacturer
Manufacturer

Manufacturer of the product

This field is optional.

":
{
21
               "manufacturerId
ManufacturerId

Manufacturer identifier

Minimum value: 1000

This field is optional.

":
"{Integer}"
22
          },
23
          "package
Package

This field is optional.

":
{
24
               "palletQuantity
PalletQuantity

Total quantity of the product that can be on a pallet

Minimum value: 0

This field is optional.

":
"{Integer}",
25
               "packageQuantity
PackageQuantity

Total quantity of the product within a package

Minimum value: 0

This field is optional.

":
"{Integer}",
26
               "packageType
PackageType

Type of wrapping used for the package

Applicable domain values can be found here

This field is optional.

":
"{String}"
27
          },
28
          "dimensions
Dimensions

This field is optional.

":
{
29
               "width
Width

Width of the product in centimetres

Minimum value: 0

This field is optional.

":
"{Decimal}",
30
               "height
Height

Height of the product in centimetres

Minimum value: 0

This field is optional.

":
"{Decimal}",
31
               "length
Length

Length of the product in centimetres

Minimum value: 0

This field is optional.

":
"{Decimal}",
32
               "volume
Volume

Volume of the product in cubic centimetres. Volume is calculated automatically as L* W* H (when the volume field is empty and L,W ,H have values). Volume can also be changed manually

Minimum value: 0

This field is optional.

":
"{Decimal}"
33
          },
34
          "mainImage
MainImage

Main image of the product

This field is optional.

":
{
35
               "file
File

This field is optional.

":
{
36
                    "fileId
FileId

File identifier

Minimum value: 100000

This field is optional.

":
"{Integer}"
37
               }
38
          },
39
          "productClassification
ProductClassification

This field is optional.

":
{
40
               "productClassificationId
ProductClassificationId

Product classification identifier

This field is optional.

":
"{String}"
41
          },
42
          "production
Production

This field is optional.

":
{
43
               "isTraceableMaterialOfProductUnit
IsTraceableMaterialOfProductUnit

During production of a product structure, each produced unit generates a list of tracable materials included in the finished unit. When this value is true, this product is included in the list of tracable materials.

This field is optional.

":
"{Boolean}",
44
               "isManufacturedInBatches
IsManufacturedInBatches

Products is either manufactured in batch product units, or single product units. When manufactured as single, each production unit of a production work order should result in seperate product units. When manufactured in batches, all production units from one production work order should result in one common product unit.

Default value: False

This field is optional.

":
"{Boolean}",
45
               "needsMaterialReplacementToRelease
NeedsMaterialReplacementToRelease

You can add a dummy article in productions which you replace with the actual product before production starts. This function is used in situations where it is undecided which product will be used in the final production.

Default value: False

This field is optional.

":
"{Boolean}",
46
               "manufacturingArea
ManufacturingArea

This field is optional.

":
{
47
                    "manufacturingAreaId
ManufacturingAreaId

Manufacturing area identifier

Minimum value: 100000

This field is optional.

":
"{Integer}"
48
               }
49
          },
50
          "service
Service

This field is optional.

":
{
51
               "serviceInterval
ServiceInterval

Service template of the product. This template will be used when performing service for this product.

This field is optional.

":
{
52
                    "serviceIntervalId
ServiceIntervalId

Service interval identifier

Minimum value: 100000

This field is optional.

":
"{Integer}"
53
               }
54
          },
55
          "sales
Sales

This field is optional.

":
{
56
               "type
Type

Defines if an article is of one of the types: Sales, Sales and rental, Rental, Subscription

Applicable domain values can be found here

This field is optional.

":
"{Integer}",
57
               "assignInMultipleOf
AssignInMultipleOf

Sometimes the products are packed together in a way that makes it preferrable to keep them together when selling. When RamBase starts the process of assigning sales to stock or purchase backlog, this field is taken into consideration. If the available quantity is not in this multiple, the rest quantity will be requested for procurement.

Ex. a product is set up to be assigned in multiple of 3. When selling 7 pcs of this product, 6 is assigned to stock or purchase backlog, while the last one is always requested for procurement (even though you have 100 in stock). Note that you can still manually override this behaviour and assign everything to stock or purchase backlog.

Minimum value: 1

This field is optional.

":
"{Integer}",
58
               "minimumGrossMargin
MinimumGrossMargin

The minimum gross margin, in percent, for the product

Minimum value: 0

This field is optional.

":
"{Decimal}",
59
               "warrantyPeriod
WarrantyPeriod

The time period (in months) in which the product may be returned or exchanged. The warranty period starts at the date of shipment to customer.

Minimum value: 0

This field is optional.

":
"{Integer}",
60
               "standardLeadTime
StandardLeadTime

The standard lead time, in number of days, from customer places order to delivery.

Minimum value: 0

This field is optional.

":
"{Integer}",
61
               "minimumSalesPrice
MinimumSalesPrice

This field is optional.

":
{
62
                    "currency
Currency

Three character code following the ISO 4217 standard

Applicable domain values can be found here

This field is optional.

":
"{String}",
63
                    "netPrice
NetPrice

Minimum sales price for product

Minimum value: 0

This field is optional.

":
"{Decimal}"
64
               },
65
               "exclusivelyForCustomer
ExclusivelyForCustomer

If customer is specified, only this customer can place orders for this product.

This field is optional.

":
{
66
                    "customerId
CustomerId

Customer identifier

Minimum value: 10000

This field is optional.

":
"{Integer}"
67
               }
68
          },
69
          "stock
Stock

This field is optional.

":
{
70
               "isNonStock
IsNonStock

True if this is a non-physical product which are no using assignments from the assignment archive

This field is optional.

":
"{Boolean}",
71
               "requireSerialNumberAtGoodsReception
RequireSerialNumberAtGoodsReception

If all units of this product should have a serial number in stock, you should require serial number to be required at goods reception. This will ensure that serial number is specified before goods receptions with this product is registered.

Default value: False

This field is optional.

":
"{Boolean}"
72
          },
73
          "procurement
Procurement

This field is optional.

":
{
74
               "expectedLeadTime
ExpectedLeadTime

The expected lead time, in number of days, from ordering from supplier to delivery. Used in different purchase processes, typically when supplier is unknown. Note that this might differ from the standard lead times defined on the different suppliers.

Minimum value: 0

This field is optional.

":
"{Integer}",
75
               "autoGenerateSerialNumbersForPurchaseOrders
AutoGenerateSerialNumbersForPurchaseOrders

Serial numbers can be added to all newly created purchase order items. The serial number is specified in the company setting ProductionSerialNumberCounter, which will increase afterwards. If the company setting AutoProductionSerialNumberPrefix is specified, the serial number will be prefixed by this value.

Default value: False

This field is optional.

":
"{Boolean}"
76
          },
77
          "productCollection
ProductCollection

This field is optional.

":
{
78
               "productId
ProductId

Product identifier

Minimum value: 10000

This field is optional.

":
"{Integer}"
79
          }
80
     }
81
}

The query string is placed after the resource URL, seperated with a questionmark (?). The query string is composed of a series of query parameters with values. See the page about query parameters on how to use these parameters.

$access_token String, optional After successful login you get an access token which needs to be provided in all API requests. Even though it is possible to pass this token as query parameter, we recommended passing it using the HTTP request header as described in Authorization. Note that all access tokens have an expiration time.
$db String, optional Set the database/company for the request
$useMinimumVersion Integer, optional Used to run a new version of an API resource when your API client is running a deprecated API resource. See the Breaking changes page for more information.
$showDomainDescriptions Boolean, optional Set to "true" to include domain descriptions for fields using domain values. See the Domain values page for more information. Default value is false.
$lang String, optional Specifies the language used in the response, following the 3-letter ISO-639-1 [lll]
$showCustomFields Boolean, optional Set to "true" to include custom fields. Default value is false.

Read more about filters and sorting on how to use filter parameters and named filters.

Read more about filters and sorting on how to use sortable parameters

Requesting this resource will yield the following response. Mouse over fieldnames (or fieldgroups) for descriptions and other useful information about the fields.

Please note that some fields may be removed from the response, based on user roles/duties/permissions.

Format:
1
<Product>
2
     <ProductId
ProductId

Product identifier

>
{Integer}</ProductId>
3
     <Status
Status

Status of the product

Possible domain values can be found here

>
{Integer}</Status>
4
     <Name
Name

Name of the product

>
{String}</Name>
5
     <Type
Type

Type of product

Possible domain values can be found here

>
{String}</Type>
6
     <Description
Description

Description of the product

>
{String}</Description>
7
     <ExternalReference
ExternalReference

External reference of the product. Typically used for storing product identifier for same product in external system.

>
{String}</ExternalReference>
8
     <CustomField1
CustomField1

Custom field for grouping, sorting, categorizing and other purposes.

>
{String}</CustomField1>
9
     <CustomField2
CustomField2

Custom field for grouping, sorting, categorizing and other purposes.

>
{String}</CustomField2>
10
     <CustomField3
CustomField3

Custom field for grouping, sorting, categorizing and other purposes

>
{String}</CustomField3>
11
     <GlobalTradeItemNumber
GlobalTradeItemNumber

Global Trade Item Number (GTIN) is a 14 digit identifier for trade items (comprising among others of the former EAN International and Uniform Code Council). Examples of types of GTIN are UPC, EAN, JAN, ISBN

>
{String}</GlobalTradeItemNumber>
12
     <Weight
Weight

The weight of the product in kilograms.

>
{Decimal}</Weight>
13
     <CountryOfOriginCode
CountryOfOriginCode

Two-character code (ISO 3166) identifying the default country where the product is produced. This value is inherrited from the assigned goods reception(s). If not country of origin is specified for the goods reception(s), country of origin is retrieved from the product. If assigned to multiple goods receptions with different origin, the field will be empty.

>
{String}</CountryOfOriginCode>
14
     <InternalNote
InternalNote

Internal note regardig the product. Should not be exposed to customers.

>
{String}</InternalNote>
15
     <MoistureSensitivityLevel
MoistureSensitivityLevel

Moisture sensitivity level is an electronic standard for the time period in which a moisture sensitive device can be exposed to ambient room conditions.

Possible domain values can be found here

>
{String}</MoistureSensitivityLevel>
16
     <PublicProductUri
PublicProductUri

Public/external product URI for more information about the product. Will typically be an URL to product details at the manufacturer web site.

>
{String}</PublicProductUri>
17
     <RequireSerialNumberBeforeShipping
RequireSerialNumberBeforeShipping

If all units of this product should have a serial number before shipping, you should require serial number to be specified before shipping this product. Shipping includes supplier returns, shipping advices and stock transfers.

>
{Boolean}</RequireSerialNumberBeforeShipping>
18
     <CreatedAt
CreatedAt

Date and time of creation

>
{Datetime}</CreatedAt>
19
     <UpdatedAt
UpdatedAt

Date and time of update

>
20
          <UserId
UserId

User identifier

>
{Integer}</UserId>
21
          <Name
Name

Name of the user

>
{String}</Name>
22
          <FirstName
FirstName

First name of the user

>
{String}</FirstName>
23
          <UserLink
UserLink

User reference

>
{String}</UserLink>
24
     </UpdatedAt>
25
     <MeasurementUnit
MeasurementUnit

Measurement unit used for this product, both in sales and purchase.

>
26
          <MeasurementUnitId
MeasurementUnitId

Measurement unit identifier

>
{Integer}</MeasurementUnitId>
27
          <Unit
Unit

Measurement unit (ex. mm, km, dl, kg)

>
{String}</Unit>
28
          <MeasurementUnitLink
MeasurementUnitLink

Material unit reference

>
{String}</MeasurementUnitLink>
29
     </MeasurementUnit>
30
     <Manufacturer
Manufacturer

Manufacturer of the product

>
31
          <ManufacturerId
ManufacturerId

Manufacturer identifier

>
{Integer}</ManufacturerId>
32
          <ShortName
ShortName

Shortname/code of the manufacturer

>
{String}</ShortName>
33
          <ManufacturerLink
ManufacturerLink

Manufacturer reference

>
{String}</ManufacturerLink>
34
     </Manufacturer>
35
     <DefaultManufacturersProduct>
36
          <ManufacturersProductId
ManufacturersProductId

Manufacturer product identifier

>
{Integer}</ManufacturersProductId>
37
          <ManufacturersProductLink
ManufacturersProductLink

Manufacturers product reference

>
{String}</ManufacturersProductLink>
38
     </DefaultManufacturersProduct>
39
     <Package>
40
          <PalletQuantity
PalletQuantity

Total quantity of the product that can be on a pallet

>
{Integer}</PalletQuantity>
41
          <PackageQuantity
PackageQuantity

Total quantity of the product within a package

>
{Integer}</PackageQuantity>
42
          <PackageType
PackageType

Type of wrapping used for the package

Possible domain values can be found here

>
{String}</PackageType>
43
     </Package>
44
     <Dimensions>
45
          <Width
Width

Width of the product in centimetres

>
{Decimal}</Width>
46
          <Height
Height

Height of the product in centimetres

>
{Decimal}</Height>
47
          <Length
Length

Length of the product in centimetres

>
{Decimal}</Length>
48
          <Volume
Volume

Volume of the product in cubic centimetres. Volume is calculated automatically as L* W* H (when the volume field is empty and L,W ,H have values). Volume can also be changed manually

>
{Decimal}</Volume>
49
     </Dimensions>
50
     <MainImage
MainImage

Main image of the product

>
51
          <FileVersionId
FileVersionId

Version of the file

>
{Integer}</FileVersionId>
52
          <File>
53
               <FileId
FileId

File identifier

>
{Integer}</FileId>
54
               <FileLink
FileLink

File reference

>
{String}</FileLink>
55
          </File>
56
          <FileVersionLink
FileVersionLink

File version reference

>
{String}</FileVersionLink>
57
     </MainImage>
58
     <Accounting>
59
          <CostingMethod
CostingMethod

Costing method to use in accounting

Possible domain values can be found here

>
{String}</CostingMethod>
60
     </Accounting>
61
     <ProductClassification>
62
          <ProductClassificationId
ProductClassificationId

Product classification identifier

>
{String}</ProductClassificationId>
63
          <ProductClassificationLink
ProductClassificationLink

Product classification reference

>
{String}</ProductClassificationLink>
64
          <ParentProductClassification>
65
               <ProductClassificationId
ProductClassificationId

Product classification identifier

>
{String}</ProductClassificationId>
66
               <TreeLevel
TreeLevel

Level in product classification tree (0 is root)

>
{Integer}</TreeLevel>
67
               <Name
Name

Name of product classification

>
{String}</Name>
68
               <ProductClassificationLink
ProductClassificationLink

Product classification reference

>
{String}</ProductClassificationLink>
69
          </ParentProductClassification>
70
     </ProductClassification>
71
     <Production>
72
          <HasExternalMaterialOwners
HasExternalMaterialOwners

If true, this product has external material owners specified, with both the customer and a supplier that represents the same customer. During the manufacturing process it will automatically be created a purchase order to request shipment of this material from the external owner.

>
{Boolean}</HasExternalMaterialOwners>
73
          <IsTraceableMaterialOfProductUnit
IsTraceableMaterialOfProductUnit

During production of a product structure, each produced unit generates a list of tracable materials included in the finished unit. When this value is true, this product is included in the list of tracable materials.

>
{Boolean}</IsTraceableMaterialOfProductUnit>
74
          <IsManufacturedInBatches
IsManufacturedInBatches

Products is either manufactured in batch product units, or single product units. When manufactured as single, each production unit of a production work order should result in seperate product units. When manufactured in batches, all production units from one production work order should result in one common product unit.

>
{Boolean}</IsManufacturedInBatches>
75
          <NeedsMaterialReplacementToRelease
NeedsMaterialReplacementToRelease

You can add a dummy article in productions which you replace with the actual product before production starts. This function is used in situations where it is undecided which product will be used in the final production.

>
{Boolean}</NeedsMaterialReplacementToRelease>
76
          <PlanningCategory
PlanningCategory

Planning category

Possible domain values can be found here

>
{String}</PlanningCategory>
77
          <ManufacturingArea>
78
               <ManufacturingAreaId
ManufacturingAreaId

Manufacturing area identifier

>
{Integer}</ManufacturingAreaId>
79
               <ManufacturingAreaLink
ManufacturingAreaLink

Manufacturing area reference

>
{String}</ManufacturingAreaLink>
80
          </ManufacturingArea>
81
     </Production>
82
     <Service>
83
          <ServiceInterval
ServiceInterval

Service template of the product. This template will be used when performing service for this product.

>
84
               <ServiceIntervalId
ServiceIntervalId

Service interval identifier

>
{Integer}</ServiceIntervalId>
85
               <ServiceIntervalLink
ServiceIntervalLink

Service interval reference

>
{String}</ServiceIntervalLink>
86
          </ServiceInterval>
87
     </Service>
88
     <Sales>
89
          <Type
Type

Defines if an article is of one of the types: Sales, Sales and rental, Rental, Subscription

Possible domain values can be found here

>
{Integer}</Type>
90
          <AssignInMultipleOf
AssignInMultipleOf

Sometimes the products are packed together in a way that makes it preferrable to keep them together when selling. When RamBase starts the process of assigning sales to stock or purchase backlog, this field is taken into consideration. If the available quantity is not in this multiple, the rest quantity will be requested for procurement.

Ex. a product is set up to be assigned in multiple of 3. When selling 7 pcs of this product, 6 is assigned to stock or purchase backlog, while the last one is always requested for procurement (even though you have 100 in stock). Note that you can still manually override this behaviour and assign everything to stock or purchase backlog.

>
{Integer}</AssignInMultipleOf>
91
          <MinimumGrossMargin
MinimumGrossMargin

The minimum gross margin, in percent, for the product

>
{Decimal}</MinimumGrossMargin>
92
          <WarrantyPeriod
WarrantyPeriod

The time period (in months) in which the product may be returned or exchanged. The warranty period starts at the date of shipment to customer.

>
{Integer}</WarrantyPeriod>
93
          <StandardLeadTime
StandardLeadTime

The standard lead time, in number of days, from customer places order to delivery.

>
{Integer}</StandardLeadTime>
94
          <MinimumSalesPrice>
95
               <Currency
Currency

Three character code following the ISO 4217 standard

Possible domain values can be found here

>
{String}</Currency>
96
               <NetPrice
NetPrice

Minimum sales price for product

>
{Decimal}</NetPrice>
97
               <CustomerId
CustomerId

Customer identifier

>
{Integer}</CustomerId>
98
               <Name
Name

Name of customer (name of company or surname/familyname/lastname of a person)

>
{String}</Name>
99
               <CustomerLink
CustomerLink

Customer reference

>
{String}</CustomerLink>
100
          </MinimumSalesPrice>
101
     </Sales>
102
     <Stock>
103
          <IsNonStock
IsNonStock

True if this is a non-physical product which are no using assignments from the assignment archive

>
{Boolean}</IsNonStock>
104
          <StockQuantity
StockQuantity

Quantity on hand. The total number of units that are physically located at all locations at the current time. This includes items already assigned to fulfilling production needs or sales orders. So, this number may differ from the available quantity.

>
{Decimal}</StockQuantity>
105
          <AvailableStockQuantity
AvailableStockQuantity

Quantity on hand which is not assigned. The total number of the product that are physically located in all warehouse locations and are currently available for new orders or fulfilling production needs

>
{Decimal}</AvailableStockQuantity>
106
          <AvailablePurchasedQuantity
AvailablePurchasedQuantity

Quantity of the purchase backlog which is not allocated. The quantity only exists in the purchase backlog, and is not physically located in the warehouse location. The products are currently available for use in filling a new order or for purposes such as production or distribution.

>
{Decimal}</AvailablePurchasedQuantity>
107
          <RequireSerialNumberAtGoodsReception
RequireSerialNumberAtGoodsReception

If all units of this product should have a serial number in stock, you should require serial number to be required at goods reception. This will ensure that serial number is specified before goods receptions with this product is registered.

>
{Boolean}</RequireSerialNumberAtGoodsReception>
108
     </Stock>
109
     <Procurement>
110
          <ExpectedLeadTime
ExpectedLeadTime

The expected lead time, in number of days, from ordering from supplier to delivery. Used in different purchase processes, typically when supplier is unknown. Note that this might differ from the standard lead times defined on the different suppliers.

>
{Integer}</ExpectedLeadTime>
111
          <AutoGenerateSerialNumbersForPurchaseOrders
AutoGenerateSerialNumbersForPurchaseOrders

Serial numbers can be added to all newly created purchase order items. The serial number is specified in the company setting ProductionSerialNumberCounter, which will increase afterwards. If the company setting AutoProductionSerialNumberPrefix is specified, the serial number will be prefixed by this value.

>
{Boolean}</AutoGenerateSerialNumbersForPurchaseOrders>
112
     </Procurement>
113
     <ProductCollection>
114
          <ProductId
ProductId

Product identifier

>
{Integer}</ProductId>
115
          <ProductLink
ProductLink

Product reference

>
{String}</ProductLink>
116
          <ProductRevisionId
ProductRevisionId

Product revision identifier

>
{Integer}</ProductRevisionId>
117
          <Status
Status

Status of product revision

>
{Integer}</Status>
118
          <Revision
Revision

Revision number

>
{String}</Revision>
119
          <ProductRevisionLink
ProductRevisionLink

Product revision reference

>
{String}</ProductRevisionLink>
120
     </ProductCollection>
121
</Product>
1
{
2
     "product": {
3
          "productId
ProductId

Product identifier

":
"{Integer}",
4
          "status
Status

Status of the product

Possible domain values can be found here

":
"{Integer}",
5
          "name
Name

Name of the product

":
"{String}",
6
          "type
Type

Type of product

Possible domain values can be found here

":
"{String}",
7
          "description
Description

Description of the product

":
"{String}",
8
          "externalReference
ExternalReference

External reference of the product. Typically used for storing product identifier for same product in external system.

":
"{String}",
9
          "customField1
CustomField1

Custom field for grouping, sorting, categorizing and other purposes.

":
"{String}",
10
          "customField2
CustomField2

Custom field for grouping, sorting, categorizing and other purposes.

":
"{String}",
11
          "customField3
CustomField3

Custom field for grouping, sorting, categorizing and other purposes

":
"{String}",
12
          "globalTradeItemNumber
GlobalTradeItemNumber

Global Trade Item Number (GTIN) is a 14 digit identifier for trade items (comprising among others of the former EAN International and Uniform Code Council). Examples of types of GTIN are UPC, EAN, JAN, ISBN

":
"{String}",
13
          "weight
Weight

The weight of the product in kilograms.

":
"{Decimal}",
14
          "countryOfOriginCode
CountryOfOriginCode

Two-character code (ISO 3166) identifying the default country where the product is produced. This value is inherrited from the assigned goods reception(s). If not country of origin is specified for the goods reception(s), country of origin is retrieved from the product. If assigned to multiple goods receptions with different origin, the field will be empty.

":
"{String}",
15
          "internalNote
InternalNote

Internal note regardig the product. Should not be exposed to customers.

":
"{String}",
16
          "moistureSensitivityLevel
MoistureSensitivityLevel

Moisture sensitivity level is an electronic standard for the time period in which a moisture sensitive device can be exposed to ambient room conditions.

Possible domain values can be found here

":
"{String}",
17
          "publicProductUri
PublicProductUri

Public/external product URI for more information about the product. Will typically be an URL to product details at the manufacturer web site.

":
"{String}",
18
          "requireSerialNumberBeforeShipping
RequireSerialNumberBeforeShipping

If all units of this product should have a serial number before shipping, you should require serial number to be specified before shipping this product. Shipping includes supplier returns, shipping advices and stock transfers.

":
"{Boolean}",
19
          "createdAt
CreatedAt

Date and time of creation

":
"{Datetime}",
20
          "updatedAt
UpdatedAt

Date and time of update

":
{
21
               "userId
UserId

User identifier

":
"{Integer}",
22
               "name
Name

Name of the user

":
"{String}",
23
               "firstName
FirstName

First name of the user

":
"{String}",
24
               "userLink
UserLink

User reference

":
"{String}"
25
          },
26
          "measurementUnit
MeasurementUnit

Measurement unit used for this product, both in sales and purchase.

":
{
27
               "measurementUnitId
MeasurementUnitId

Measurement unit identifier

":
"{Integer}",
28
               "unit
Unit

Measurement unit (ex. mm, km, dl, kg)

":
"{String}",
29
               "measurementUnitLink
MeasurementUnitLink

Material unit reference

":
"{String}"
30
          },
31
          "manufacturer
Manufacturer

Manufacturer of the product

":
{
32
               "manufacturerId
ManufacturerId

Manufacturer identifier

":
"{Integer}",
33
               "shortName
ShortName

Shortname/code of the manufacturer

":
"{String}",
34
               "manufacturerLink
ManufacturerLink

Manufacturer reference

":
"{String}"
35
          },
36
          "defaultManufacturersProduct": {
37
               "manufacturersProductId
ManufacturersProductId

Manufacturer product identifier

":
"{Integer}",
38
               "manufacturersProductLink
ManufacturersProductLink

Manufacturers product reference

":
"{String}"
39
          },
40
          "package": {
41
               "palletQuantity
PalletQuantity

Total quantity of the product that can be on a pallet

":
"{Integer}",
42
               "packageQuantity
PackageQuantity

Total quantity of the product within a package

":
"{Integer}",
43
               "packageType
PackageType

Type of wrapping used for the package

Possible domain values can be found here

":
"{String}"
44
          },
45
          "dimensions": {
46
               "width
Width

Width of the product in centimetres

":
"{Decimal}",
47
               "height
Height

Height of the product in centimetres

":
"{Decimal}",
48
               "length
Length

Length of the product in centimetres

":
"{Decimal}",
49
               "volume
Volume

Volume of the product in cubic centimetres. Volume is calculated automatically as L* W* H (when the volume field is empty and L,W ,H have values). Volume can also be changed manually

":
"{Decimal}"
50
          },
51
          "mainImage
MainImage

Main image of the product

":
{
52
               "fileVersionId
FileVersionId

Version of the file

":
"{Integer}",
53
               "file": {
54
                    "fileId
FileId

File identifier

":
"{Integer}",
55
                    "fileLink
FileLink

File reference

":
"{String}"
56
               },
57
               "fileVersionLink
FileVersionLink

File version reference

":
"{String}"
58
          },
59
          "accounting": {
60
               "costingMethod
CostingMethod

Costing method to use in accounting

Possible domain values can be found here

":
"{String}"
61
          },
62
          "productClassification": {
63
               "productClassificationId
ProductClassificationId

Product classification identifier

":
"{String}",
64
               "productClassificationLink
ProductClassificationLink

Product classification reference

":
"{String}",
65
               "parentProductClassification": {
66
                    "productClassificationId
ProductClassificationId

Product classification identifier

":
"{String}",
67
                    "treeLevel
TreeLevel

Level in product classification tree (0 is root)

":
"{Integer}",
68
                    "name
Name

Name of product classification

":
"{String}",
69
                    "productClassificationLink
ProductClassificationLink

Product classification reference

":
"{String}"
70
               }
71
          },
72
          "production": {
73
               "hasExternalMaterialOwners
HasExternalMaterialOwners

If true, this product has external material owners specified, with both the customer and a supplier that represents the same customer. During the manufacturing process it will automatically be created a purchase order to request shipment of this material from the external owner.

":
"{Boolean}",
74
               "isTraceableMaterialOfProductUnit
IsTraceableMaterialOfProductUnit

During production of a product structure, each produced unit generates a list of tracable materials included in the finished unit. When this value is true, this product is included in the list of tracable materials.

":
"{Boolean}",
75
               "isManufacturedInBatches
IsManufacturedInBatches

Products is either manufactured in batch product units, or single product units. When manufactured as single, each production unit of a production work order should result in seperate product units. When manufactured in batches, all production units from one production work order should result in one common product unit.

":
"{Boolean}",
76
               "needsMaterialReplacementToRelease
NeedsMaterialReplacementToRelease

You can add a dummy article in productions which you replace with the actual product before production starts. This function is used in situations where it is undecided which product will be used in the final production.

":
"{Boolean}",
77
               "planningCategory
PlanningCategory

Planning category

Possible domain values can be found here

":
"{String}",
78
               "manufacturingArea": {
79
                    "manufacturingAreaId
ManufacturingAreaId

Manufacturing area identifier

":
"{Integer}",
80
                    "manufacturingAreaLink
ManufacturingAreaLink

Manufacturing area reference

":
"{String}"
81
               }
82
          },
83
          "service": {
84
               "serviceInterval
ServiceInterval

Service template of the product. This template will be used when performing service for this product.

":
{
85
                    "serviceIntervalId
ServiceIntervalId

Service interval identifier

":
"{Integer}",
86
                    "serviceIntervalLink
ServiceIntervalLink

Service interval reference

":
"{String}"
87
               }
88
          },
89
          "sales": {
90
               "type
Type

Defines if an article is of one of the types: Sales, Sales and rental, Rental, Subscription

Possible domain values can be found here

":
"{Integer}",
91
               "assignInMultipleOf
AssignInMultipleOf

Sometimes the products are packed together in a way that makes it preferrable to keep them together when selling. When RamBase starts the process of assigning sales to stock or purchase backlog, this field is taken into consideration. If the available quantity is not in this multiple, the rest quantity will be requested for procurement.

Ex. a product is set up to be assigned in multiple of 3. When selling 7 pcs of this product, 6 is assigned to stock or purchase backlog, while the last one is always requested for procurement (even though you have 100 in stock). Note that you can still manually override this behaviour and assign everything to stock or purchase backlog.

":
"{Integer}",
92
               "minimumGrossMargin
MinimumGrossMargin

The minimum gross margin, in percent, for the product

":
"{Decimal}",
93
               "warrantyPeriod
WarrantyPeriod

The time period (in months) in which the product may be returned or exchanged. The warranty period starts at the date of shipment to customer.

":
"{Integer}",
94
               "standardLeadTime
StandardLeadTime

The standard lead time, in number of days, from customer places order to delivery.

":
"{Integer}",
95
               "minimumSalesPrice": {
96
                    "currency
Currency

Three character code following the ISO 4217 standard

Possible domain values can be found here

":
"{String}",
97
                    "netPrice
NetPrice

Minimum sales price for product

":
"{Decimal}",
98
                    "customerId
CustomerId

Customer identifier

":
"{Integer}",
99
                    "name
Name

Name of customer (name of company or surname/familyname/lastname of a person)

":
"{String}",
100
                    "customerLink
CustomerLink

Customer reference

":
"{String}"
101
               }
102
          },
103
          "stock": {
104
               "isNonStock
IsNonStock

True if this is a non-physical product which are no using assignments from the assignment archive

":
"{Boolean}",
105
               "stockQuantity
StockQuantity

Quantity on hand. The total number of units that are physically located at all locations at the current time. This includes items already assigned to fulfilling production needs or sales orders. So, this number may differ from the available quantity.

":
"{Decimal}",
106
               "availableStockQuantity
AvailableStockQuantity

Quantity on hand which is not assigned. The total number of the product that are physically located in all warehouse locations and are currently available for new orders or fulfilling production needs

":
"{Decimal}",
107
               "availablePurchasedQuantity
AvailablePurchasedQuantity

Quantity of the purchase backlog which is not allocated. The quantity only exists in the purchase backlog, and is not physically located in the warehouse location. The products are currently available for use in filling a new order or for purposes such as production or distribution.

":
"{Decimal}",
108
               "requireSerialNumberAtGoodsReception
RequireSerialNumberAtGoodsReception

If all units of this product should have a serial number in stock, you should require serial number to be required at goods reception. This will ensure that serial number is specified before goods receptions with this product is registered.

":
"{Boolean}"
109
          },
110
          "procurement": {
111
               "expectedLeadTime
ExpectedLeadTime

The expected lead time, in number of days, from ordering from supplier to delivery. Used in different purchase processes, typically when supplier is unknown. Note that this might differ from the standard lead times defined on the different suppliers.

":
"{Integer}",
112
               "autoGenerateSerialNumbersForPurchaseOrders
AutoGenerateSerialNumbersForPurchaseOrders

Serial numbers can be added to all newly created purchase order items. The serial number is specified in the company setting ProductionSerialNumberCounter, which will increase afterwards. If the company setting AutoProductionSerialNumberPrefix is specified, the serial number will be prefixed by this value.

":
"{Boolean}"
113
          },
114
          "productCollection": {
115
               "productId
ProductId

Product identifier

":
"{Integer}",
116
               "productLink
ProductLink

Product reference

":
"{String}",
117
               "productRevisionId
ProductRevisionId

Product revision identifier

":
"{Integer}",
118
               "status
Status

Status of product revision

":
"{Integer}",
119
               "revision
Revision

Revision number

":
"{String}",
120
               "productRevisionLink
ProductRevisionLink

Product revision reference

":
"{String}"
121
          }
122
     }
123
}

List of available operations/actions for this resource.
See the operations documentation for more information about API operations.

Possible error codes the response might return:

Error 100170 HTTP 404 Asset not found
Error 101254 HTTP 400 Only articles with matching PARTNERID can be purchased from this supplier
Error 104869 HTTP 404 Default account not found
Error 101488 HTTP 400 Illegal general ledger account : {0}
Error 105186 HTTP 400 Postings are not allowed on control accounts.
Error 101490 HTTP 400 Illegal Account {0}: This account has been blocked for {1}-documents
Error 101491 HTTP 400 Illegal Account {0}: Check the account's FromPeriod and ToPeriod
Error 101517 HTTP 400 Illegal Account {0}: This account require ICTDB.
Error 102482 HTTP 400 Department is required for general ledger account {0}
Error 102483 HTTP 400 Finance project is required for general ledger account {0}
Error 102484 HTTP 400 Asset is required for general ledger account {0}
Error 102485 HTTP 400 Dimension {0} ({1}) is required for general ledger account {2}
Error 101313 HTTP 400 Department number is not valid: {0}
Error 101320 HTTP 400 The project number is not valid: {0}
Error 101500 HTTP 400 Project {0} could not be used : Check project FromPeriod and ToPeriod.
Error 101501 HTTP 400 Asset is not allowed on general ledger account {0}
Error 101326 HTTP 400 The asset number is not valid : {0}
Error 102486 HTTP 400 Invalid value for dimension {0}
Error 101124 HTTP 400 Hardware code already exists
Error 106437 HTTP 400 Type can not be changed when status is not equal to draft (status 1)
Error 101009 HTTP 400 The product has a structure. You can only change the product type to a type that can contain a structure.
Error 101010 HTTP 400 The product structure contains operations and can not be changed to become a phantom structure
Error 101008 HTTP 400 Cannot change product type from a physical type to a virtual type
Error 101007 HTTP 400 Cannot change product type from a virtual type to a physical type
Error 103021 HTTP 400 Linkid must be a rental product
Error 104760 HTTP 400 Costing method can't be changed after product has been received
Error 104652 HTTP 400 Both minimum sales price and minimum sales price currency must be given
Error 100563 HTTP 400 Currency {0} is not supported by the system
Error 104653 HTTP 400 Minimum sales price can not be negative
Error 106506 HTTP 404 Image not found