API

Sales APIs

POST sales/order-requests/{salesOrderRequestId}/items

Creates a new item in provided sales order request. Note that Discount will be ignored when DiscountPercent is provided. Note also that Discount, DiscountPercent and GrossPrice will be ignored when GrossMargin is provided.

HTTP method POST
URI https://api.rambase.net/sales/order-requests/{salesOrderRequestId}/items
Supported formats Xml, Html, Json (ex. $format=json)
- URI parameter {salesOrderRequestId} Sales order request identifier
Integer, minimum 100000
Custom fields Custom fields supported
Successful HTTP status code 201
API resource identifier 2117, version 12

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
<SalesOrderRequestItem>
2
     <RequestedDeliveryDate
RequestedDeliveryDate

The delivery date as requested by the customer.

This field is optional.

>
{Date}</RequestedDeliveryDate>
3
     <CustomersReferenceNumber
CustomersReferenceNumber

Customers item reference number. Typically to the customers internal system.

This field is optional.

>
{String}</CustomersReferenceNumber>
4
     <CustomersProductName
CustomersProductName

Customers internal name of the product. Retrieved from the product.

This field is optional.

>
{String}</CustomersProductName>
5
     <EquivalentProductName
EquivalentProductName

Name of product with equivalent behavior and attributes. Can be used for same purpose.

This field is optional.

>
{String}</EquivalentProductName>
6
     <RequestedProductStructureRevision
RequestedProductStructureRevision

The revision will typically be a major change, as opposed to minor changes stored in the version of the product structure.

This field is optional.

>
{String}</RequestedProductStructureRevision>
7
     <ProductDescription
ProductDescription

Description of the item. If not specified, the description is by default copied from the product.

This field is optional.

>
{String}</ProductDescription>
8
     <Note
Note

Additional information regarding the item (free text). Might be visible to customers/suppliers.

This field is optional.

>
{String}</Note>
9
     <Quantity
Quantity

Required/mandatory field

The quantity requested

Minimum value: 0

>
{Decimal}</Quantity>
10
     <Price
Price

This field is optional.

>
11
          <ExpectedPrice
ExpectedPrice

The expected price received from the customer. This price will be rejected or accepted by the seller

Minimum value: 0

This field is optional.

>
{Decimal}</ExpectedPrice>
12
     </Price>
13
     <Seller
Seller

Reference to the seller of the item

This field is optional.

>
14
          <EmployeeId
EmployeeId

Employee identifier

Minimum value: 100

This field is optional.

>
{Integer}</EmployeeId>
15
     </Seller>
16
     <Product>
17
          <ProductId
ProductId

Required/mandatory field

Product identifier

Minimum value: 10000

>
{Integer}</ProductId>
18
     </Product>
19
     <LandedCost
LandedCost

This field is optional.

>
20
          <PurchaseCurrency
PurchaseCurrency

Purchase currency is the currency this product normally is purchased in. This is also the base currency used in the gross margin calculation. By default the purchase currency is retrieved from the product.

Applicable domain values can be found here

This field is optional.

>
{String}</PurchaseCurrency>
21
          <PurchaseExchangeRate
PurchaseExchangeRate

Exchange rate between document currency and purchase currency. Used in landed cost calculations.

This field is optional.

>
{Decimal}</PurchaseExchangeRate>
22
          <DerivedFrom
DerivedFrom

This field is optional.

>
23
               <PurchaseQuoteItemId
PurchaseQuoteItemId

Purchase quote item identifier

Minimum value: 1

This field is optional.

>
{Integer}</PurchaseQuoteItemId>
24
               <PurchaseQuote
PurchaseQuote

This field is optional.

>
25
                    <PurchaseQuoteId
PurchaseQuoteId

Purchase quote identifier

Minimum value: 100000

This field is optional.

>
{Integer}</PurchaseQuoteId>
26
               </PurchaseQuote>
27
          </DerivedFrom>
28
     </LandedCost>
29
</SalesOrderRequestItem>
1
{
2
     "salesOrderRequestItem": {
3
          "requestedDeliveryDate
RequestedDeliveryDate

The delivery date as requested by the customer.

This field is optional.

":
"{Date}",
4
          "customersReferenceNumber
CustomersReferenceNumber

Customers item reference number. Typically to the customers internal system.

This field is optional.

":
"{String}",
5
          "customersProductName
CustomersProductName

Customers internal name of the product. Retrieved from the product.

This field is optional.

":
"{String}",
6
          "equivalentProductName
EquivalentProductName

Name of product with equivalent behavior and attributes. Can be used for same purpose.

This field is optional.

":
"{String}",
7
          "requestedProductStructureRevision
RequestedProductStructureRevision

The revision will typically be a major change, as opposed to minor changes stored in the version of the product structure.

This field is optional.

":
"{String}",
8
          "productDescription
ProductDescription

Description of the item. If not specified, the description is by default copied from the product.

This field is optional.

":
"{String}",
9
          "note
Note

Additional information regarding the item (free text). Might be visible to customers/suppliers.

This field is optional.

":
"{String}",
10
          "quantity
Quantity

Required/mandatory field

The quantity requested

Minimum value: 0

":
"{Decimal}",
11
          "price
Price

This field is optional.

":
{
12
               "expectedPrice
ExpectedPrice

The expected price received from the customer. This price will be rejected or accepted by the seller

Minimum value: 0

This field is optional.

":
"{Decimal}"
13
          },
14
          "seller
Seller

Reference to the seller of the item

This field is optional.

":
{
15
               "employeeId
EmployeeId

Employee identifier

Minimum value: 100

This field is optional.

":
"{Integer}"
16
          },
17
          "product": {
18
               "productId
ProductId

Required/mandatory field

Product identifier

Minimum value: 10000

":
"{Integer}"
19
          },
20
          "landedCost
LandedCost

This field is optional.

":
{
21
               "purchaseCurrency
PurchaseCurrency

Purchase currency is the currency this product normally is purchased in. This is also the base currency used in the gross margin calculation. By default the purchase currency is retrieved from the product.

Applicable domain values can be found here

This field is optional.

":
"{String}",
22
               "purchaseExchangeRate
PurchaseExchangeRate

Exchange rate between document currency and purchase currency. Used in landed cost calculations.

This field is optional.

":
"{Decimal}",
23
               "derivedFrom
DerivedFrom

This field is optional.

":
{
24
                    "purchaseQuoteItemId
PurchaseQuoteItemId

Purchase quote item identifier

Minimum value: 1

This field is optional.

":
"{Integer}",
25
                    "purchaseQuote
PurchaseQuote

This field is optional.

":
{
26
                         "purchaseQuoteId
PurchaseQuoteId

Purchase quote identifier

Minimum value: 100000

This field is optional.

":
"{Integer}"
27
                    }
28
               }
29
          }
30
     }
31
}

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
<SalesOrderRequestItem>
2
     <SalesOrderRequestItemId
SalesOrderRequestItemId

Sales order request item identifier

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

Status of the sales order request identifier

Possible domain values can be found here

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

Date and time of creation

>
{Datetime}</CreatedAt>
5
     <LineNumber
LineNumber

Line- or sequence number of the item. The LineNumber is used for sorting items in applications, prints, reports etc.

>
{Integer}</LineNumber>
6
     <RequestedDeliveryDate
RequestedDeliveryDate

The delivery date as requested by the customer.

>
{Date}</RequestedDeliveryDate>
7
     <CustomersReferenceNumber
CustomersReferenceNumber

Customers item reference number. Typically to the customers internal system.

>
{String}</CustomersReferenceNumber>
8
     <CustomersProductName
CustomersProductName

Customers internal name of the product. Retrieved from the product.

>
{String}</CustomersProductName>
9
     <EquivalentProductName
EquivalentProductName

Name of product with equivalent behavior and attributes. Can be used for same purpose.

>
{String}</EquivalentProductName>
10
     <RequestedProductStructureRevision
RequestedProductStructureRevision

The revision will typically be a major change, as opposed to minor changes stored in the version of the product structure.

>
{String}</RequestedProductStructureRevision>
11
     <ProductDescription
ProductDescription

Description of the item. If not specified, the description is by default copied from the product.

>
{String}</ProductDescription>
12
     <Note
Note

Additional information regarding the item (free text). Might be visible to customers/suppliers.

>
{String}</Note>
13
     <GrossMargin
GrossMargin

Gross margin of the item.

>
{Decimal}</GrossMargin>
14
     <VATPercent
VATPercent

Value added tax percent

>
{Decimal}</VATPercent>
15
     <Quantity
Quantity

The quantity requested

>
{Decimal}</Quantity>
16
     <RemainingQuantity
RemainingQuantity

Remaining number of units to be forwarded.

>
{Decimal}</RemainingQuantity>
17
     <IsBlockedForProduction
IsBlockedForProduction

True if a new production is not to be started automatically based on this sales order request item.

>
18
          <CustomerId
CustomerId

Customer identifier

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

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

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

Secondary name of a company or firstname of a person

>
{String}</FirstName>
21
          <VATRegistrationNumber
VATRegistrationNumber

Unique number assigned by the relevant tax authority to identify a party for use in relation to value added tax (VAT).

>
{String}</VATRegistrationNumber>
22
          <CustomerLink
CustomerLink

Customer reference

>
{String}</CustomerLink>
23
     </IsBlockedForProduction>
24
     <Price>
25
          <Currency
Currency

Three character code following the ISO 4217 standard

>
{String}</Currency>
26
          <ExpectedPrice
ExpectedPrice

The expected price received from the customer. This price will be rejected or accepted by the seller

>
{Decimal}</ExpectedPrice>
27
          <Currency
Currency

Three character code following the ISO 4217 standard

>
{String}</Currency>
28
          <ExpectedPrice
ExpectedPrice

Expected price in company currency

>
{Decimal}</ExpectedPrice>
29
     </Price>
30
     <Totals>
31
          <Currency
Currency

Three character code following the ISO 4217 standard

>
{String}</Currency>
32
          <ExpectedAmount
ExpectedAmount

Represents the expected item amount

>
{Decimal}</ExpectedAmount>
33
          <RemainingAmount
RemainingAmount

Total remaining value of item in document currency. The sum of remaining quantity and open forwarded quantity, multiplied with netprice

>
{Decimal}</RemainingAmount>
34
          <Currency
Currency

Three character code following the ISO 4217 standard

>
{String}</Currency>
35
          <ExpectedAmount
ExpectedAmount

Total net amount in company currency.

>
{Decimal}</ExpectedAmount>
36
          <RemainingAmount
RemainingAmount

Total remaining amount in company currency.

>
{Decimal}</RemainingAmount>
37
     </Totals>
38
     <Seller
Seller

Reference to the seller of the item

>
39
          <EmployeeId
EmployeeId

Employee identifier

>
{Integer}</EmployeeId>
40
          <EmployeeLink
EmployeeLink

Employee reference

>
{String}</EmployeeLink>
41
     </Seller>
42
     <MeasurementUnit>
43
          <MeasurementUnitId
MeasurementUnitId

Measurement unit identifier

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

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

>
{String}</Unit>
45
          <Precision
Precision

The precision/accuracy of the measurement (number of decimals)

>
{Integer}</Precision>
46
          <MeasurementUnitLink
MeasurementUnitLink

Material unit reference

>
{String}</MeasurementUnitLink>
47
     </MeasurementUnit>
48
     <Product>
49
          <ProductId
ProductId

Product identifier

>
{Integer}</ProductId>
50
          <Name
Name

Name of the product

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

Type of product

Possible domain values can be found here

>
{String}</Type>
52
          <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>
53
          <CustomField1
CustomField1

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

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

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

>
{String}</CustomField2>
55
          <StandardLeadTime
StandardLeadTime

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}</StandardLeadTime>
56
          <Weight
Weight

The weight of the product in kilograms.

>
{Decimal}</Weight>
57
          <Manufacturer>
58
               <ManufacturerId
ManufacturerId

Manufacturer identifier

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

Shortname/code of the manufacturer

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

Manufacturer reference

>
{String}</ManufacturerLink>
61
          </Manufacturer>
62
          <ProductClassification>
63
               <ProductClassificationId
ProductClassificationId

Product classification identifier

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

Product classification reference

>
{String}</ProductClassificationLink>
65
               <Revision
Revision

Revision number

>
{String}</Revision>
66
          </ProductClassification>
67
          <ProductLink
ProductLink

Product reference

>
{String}</ProductLink>
68
     </Product>
69
     <LandedCost>
70
          <PurchaseCurrency
PurchaseCurrency

Purchase currency is the currency this product normally is purchased in. This is also the base currency used in the gross margin calculation. By default the purchase currency is retrieved from the product.

Possible domain values can be found here

>
{String}</PurchaseCurrency>
71
          <PurchasePrice
PurchasePrice

Purchase price for each unit

>
{Decimal}</PurchasePrice>
72
          <Freight
Freight

Estimated freight cost of getting each unit in stock. Used for calculating landed cost.

>
{Decimal}</Freight>
73
          <Duty
Duty

Duty cost of getting each unit in stock. Used for calculating landed cost.

>
{Decimal}</Duty>
74
          <Charge
Charge

Other costs of getting each unit in stock. Used for calculating landed cost.

>
{Decimal}</Charge>
75
          <GrossPrice
GrossPrice

Total cost (landed cost or true cost) of getting each unit in stock, including purchase price, duties, charges, freight etc.

>
{Decimal}</GrossPrice>
76
          <PurchaseExchangeRate
PurchaseExchangeRate

Exchange rate between document currency and purchase currency. Used in landed cost calculations.

>
{Decimal}</PurchaseExchangeRate>
77
          <IsDerivedFromPreferredPurchasePrice
IsDerivedFromPreferredPurchasePrice

True if the landed cost for this item is derived from preferred purchase price. This means that parts (or all) of the item has not reserved goods in stock, nor incoming goods (supplier backlog or production backlog).

>
{Boolean}</IsDerivedFromPreferredPurchasePrice>
78
          <DerivedFrom>
79
               <PurchaseQuoteItemId
PurchaseQuoteItemId

Purchase quote item identifier

>
{Integer}</PurchaseQuoteItemId>
80
               <PurchaseQuote>
81
                    <Database
Database

Database of the object

>
{String}</Database>
82
                    <PurchaseQuoteId
PurchaseQuoteId

Purchase quote identifier

>
{Integer}</PurchaseQuoteId>
83
                    <PurchaseQuoteLink
PurchaseQuoteLink

Purchase quote reference

>
{String}</PurchaseQuoteLink>
84
               </PurchaseQuote>
85
               <PurchaseQuoteItemLink
PurchaseQuoteItemLink

Purchase quote item link

>
{String}</PurchaseQuoteItemLink>
86
          </DerivedFrom>
87
          <Currency
Currency

Three character code following the ISO 4217 standard

>
{String}</Currency>
88
          <PurchasePrice
PurchasePrice

Purchase price in sales currency.

>
{Decimal}</PurchasePrice>
89
          <Freight
Freight

Freigth cost in sales currency.

>
{Decimal}</Freight>
90
          <Duty
Duty

Duty costs in sales currency.

>
{Decimal}</Duty>
91
          <Charge
Charge

Other cost in sales currency

>
{Decimal}</Charge>
92
          <GrossPrice
GrossPrice

Total cost (landed cost or true cost) in sales currency

>
{Decimal}</GrossPrice>
93
     </LandedCost>
94
     <Accounting
Accounting

Accounting details for the item, including fixed/system dimensions. For all dimensions, see seperate resource.

>
95
          <VATCodeDefinition>
96
               <VATCode
VATCode

Code that determines VAT rules used for VAT calculations.

>
{String}</VATCode>
97
          </VATCodeDefinition>
98
     </Accounting>
99
     <ForwardedFrom
ForwardedFrom

The preceding/previous/source item.

>
100
          <Currency
Currency

Three character code following the ISO 4217 standard

>
{String}</Currency>
101
          <ForwardedNetAmount
ForwardedNetAmount

The net amount forwarded to this item.

>
{Decimal}</ForwardedNetAmount>
102
          <ForwardedQuantity
ForwardedQuantity

The quantity forwarded to this item.

>
{Decimal}</ForwardedQuantity>
103
          <ForwardedFromItem>
104
               <ItemId
ItemId

Identifier of the object

>
{Integer}</ItemId>
105
               <Object>
106
                    <ObjectId
ObjectId

Identifier of the object

>
{Integer}</ObjectId>
107
                    <ObjectType
ObjectType

Type of object

>
{String}</ObjectType>
108
                    <ObjectLink
ObjectLink

API reference to the object

>
{String}</ObjectLink>
109
               </Object>
110
               <RamBaseKey
RamBaseKey

Internal RamBase identifier of the object/item

>
{String}</RamBaseKey>
111
               <ItemLink
ItemLink

API reference to the item

>
{String}</ItemLink>
112
          </ForwardedFromItem>
113
          <OpenForwardedQuantity
OpenForwardedQuantity

When items are forwarded they end up in one or more open items. Open items in this context means items that are not registered (status 0 or 1). OpenForwardedQuantity will be the sum of ForwardedQuantity of all items this item has been forwarded to.

>
{Decimal}</OpenForwardedQuantity>
114
          <ForwardedToItems>
115
               <Item
Item

Item this item was forwarded to.

>
116
                    <ItemId
ItemId

Identifier of the object

>
{Integer}</ItemId>
117
                    <Object>
118
                         <ObjectId
ObjectId

Identifier of the object

>
{Integer}</ObjectId>
119
                         <ObjectType
ObjectType

Type of object

>
{String}</ObjectType>
120
                         <ObjectLink
ObjectLink

API reference to the object

>
{String}</ObjectLink>
121
                    </Object>
122
                    <RamBaseKey
RamBaseKey

Internal RamBase identifier of the object/item

>
{String}</RamBaseKey>
123
                    <ItemLink
ItemLink

API reference to the item

>
{String}</ItemLink>
124
               </Item>
125
          </ForwardedToItems>
126
          <NotificationId
NotificationId

Notification identifier

>
{Integer}</NotificationId>
127
          <Status
Status

Status of the notification

Possible domain values can be found here

>
{Integer}</Status>
128
          <CreatedAt
CreatedAt

Date and time of creation

>
{Datetime}</CreatedAt>
129
          <Message
Message

The message from the notification definition, expanded with parameters.

>
{String}</Message>
130
          <TranslatedMessage
TranslatedMessage

The translated message from the notification definition, expanded with parameters.

>
{String}</TranslatedMessage>
131
          <NotificationType>
132
               <NotificationTypeId
NotificationTypeId

Notification type identifier

>
{String}</NotificationTypeId>
133
               <Category
Category

Category of notification type (warning, information etc)

Possible domain values can be found here

>
{String}</Category>
134
               <NotificationTypeLink
NotificationTypeLink

Notification type reference

>
{String}</NotificationTypeLink>
135
          </NotificationType>
136
          <NotificationLink
NotificationLink

Notification reference

>
{String}</NotificationLink>
137
     </ForwardedFrom>
138
</SalesOrderRequestItem>
1
{
2
     "salesOrderRequestItem": {
3
          "salesOrderRequestItemId
SalesOrderRequestItemId

Sales order request item identifier

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

Status of the sales order request identifier

Possible domain values can be found here

":
"{Integer}",
5
          "createdAt
CreatedAt

Date and time of creation

":
"{Datetime}",
6
          "lineNumber
LineNumber

Line- or sequence number of the item. The LineNumber is used for sorting items in applications, prints, reports etc.

":
"{Integer}",
7
          "requestedDeliveryDate
RequestedDeliveryDate

The delivery date as requested by the customer.

":
"{Date}",
8
          "customersReferenceNumber
CustomersReferenceNumber

Customers item reference number. Typically to the customers internal system.

":
"{String}",
9
          "customersProductName
CustomersProductName

Customers internal name of the product. Retrieved from the product.

":
"{String}",
10
          "equivalentProductName
EquivalentProductName

Name of product with equivalent behavior and attributes. Can be used for same purpose.

":
"{String}",
11
          "requestedProductStructureRevision
RequestedProductStructureRevision

The revision will typically be a major change, as opposed to minor changes stored in the version of the product structure.

":
"{String}",
12
          "productDescription
ProductDescription

Description of the item. If not specified, the description is by default copied from the product.

":
"{String}",
13
          "note
Note

Additional information regarding the item (free text). Might be visible to customers/suppliers.

":
"{String}",
14
          "grossMargin
GrossMargin

Gross margin of the item.

":
"{Decimal}",
15
          "vATPercent
VATPercent

Value added tax percent

":
"{Decimal}",
16
          "quantity
Quantity

The quantity requested

":
"{Decimal}",
17
          "remainingQuantity
RemainingQuantity

Remaining number of units to be forwarded.

":
"{Decimal}",
18
          "isBlockedForProduction
IsBlockedForProduction

True if a new production is not to be started automatically based on this sales order request item.

":
{
19
               "customerId
CustomerId

Customer identifier

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

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

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

Secondary name of a company or firstname of a person

":
"{String}",
22
               "vATRegistrationNumber
VATRegistrationNumber

Unique number assigned by the relevant tax authority to identify a party for use in relation to value added tax (VAT).

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

Customer reference

":
"{String}"
24
          },
25
          "price": {
26
               "currency
Currency

Three character code following the ISO 4217 standard

":
"{String}",
27
               "expectedPrice
ExpectedPrice

The expected price received from the customer. This price will be rejected or accepted by the seller

":
"{Decimal}",
28
               "currency
Currency

Three character code following the ISO 4217 standard

":
"{String}",
29
               "expectedPrice
ExpectedPrice

Expected price in company currency

":
"{Decimal}"
30
          },
31
          "totals": {
32
               "currency
Currency

Three character code following the ISO 4217 standard

":
"{String}",
33
               "expectedAmount
ExpectedAmount

Represents the expected item amount

":
"{Decimal}",
34
               "remainingAmount
RemainingAmount

Total remaining value of item in document currency. The sum of remaining quantity and open forwarded quantity, multiplied with netprice

":
"{Decimal}",
35
               "currency
Currency

Three character code following the ISO 4217 standard

":
"{String}",
36
               "expectedAmount
ExpectedAmount

Total net amount in company currency.

":
"{Decimal}",
37
               "remainingAmount
RemainingAmount

Total remaining amount in company currency.

":
"{Decimal}"
38
          },
39
          "seller
Seller

Reference to the seller of the item

":
{
40
               "employeeId
EmployeeId

Employee identifier

":
"{Integer}",
41
               "employeeLink
EmployeeLink

Employee reference

":
"{String}"
42
          },
43
          "measurementUnit": {
44
               "measurementUnitId
MeasurementUnitId

Measurement unit identifier

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

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

":
"{String}",
46
               "precision
Precision

The precision/accuracy of the measurement (number of decimals)

":
"{Integer}",
47
               "measurementUnitLink
MeasurementUnitLink

Material unit reference

":
"{String}"
48
          },
49
          "product": {
50
               "productId
ProductId

Product identifier

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

Name of the product

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

Type of product

Possible domain values can be found here

":
"{String}",
53
               "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}",
54
               "customField1
CustomField1

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

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

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

":
"{String}",
56
               "standardLeadTime
StandardLeadTime

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}",
57
               "weight
Weight

The weight of the product in kilograms.

":
"{Decimal}",
58
               "manufacturer": {
59
                    "manufacturerId
ManufacturerId

Manufacturer identifier

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

Shortname/code of the manufacturer

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

Manufacturer reference

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

Product classification identifier

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

Product classification reference

":
"{String}",
66
                    "revision
Revision

Revision number

":
"{String}"
67
               },
68
               "productLink
ProductLink

Product reference

":
"{String}"
69
          },
70
          "landedCost": {
71
               "purchaseCurrency
PurchaseCurrency

Purchase currency is the currency this product normally is purchased in. This is also the base currency used in the gross margin calculation. By default the purchase currency is retrieved from the product.

Possible domain values can be found here

":
"{String}",
72
               "purchasePrice
PurchasePrice

Purchase price for each unit

":
"{Decimal}",
73
               "freight
Freight

Estimated freight cost of getting each unit in stock. Used for calculating landed cost.

":
"{Decimal}",
74
               "duty
Duty

Duty cost of getting each unit in stock. Used for calculating landed cost.

":
"{Decimal}",
75
               "charge
Charge

Other costs of getting each unit in stock. Used for calculating landed cost.

":
"{Decimal}",
76
               "grossPrice
GrossPrice

Total cost (landed cost or true cost) of getting each unit in stock, including purchase price, duties, charges, freight etc.

":
"{Decimal}",
77
               "purchaseExchangeRate
PurchaseExchangeRate

Exchange rate between document currency and purchase currency. Used in landed cost calculations.

":
"{Decimal}",
78
               "isDerivedFromPreferredPurchasePrice
IsDerivedFromPreferredPurchasePrice

True if the landed cost for this item is derived from preferred purchase price. This means that parts (or all) of the item has not reserved goods in stock, nor incoming goods (supplier backlog or production backlog).

":
"{Boolean}",
79
               "derivedFrom": {
80
                    "purchaseQuoteItemId
PurchaseQuoteItemId

Purchase quote item identifier

":
"{Integer}",
81
                    "purchaseQuote": {
82
                         "database
Database

Database of the object

":
"{String}",
83
                         "purchaseQuoteId
PurchaseQuoteId

Purchase quote identifier

":
"{Integer}",
84
                         "purchaseQuoteLink
PurchaseQuoteLink

Purchase quote reference

":
"{String}"
85
                    },
86
                    "purchaseQuoteItemLink
PurchaseQuoteItemLink

Purchase quote item link

":
"{String}"
87
               },
88
               "currency
Currency

Three character code following the ISO 4217 standard

":
"{String}",
89
               "purchasePrice
PurchasePrice

Purchase price in sales currency.

":
"{Decimal}",
90
               "freight
Freight

Freigth cost in sales currency.

":
"{Decimal}",
91
               "duty
Duty

Duty costs in sales currency.

":
"{Decimal}",
92
               "charge
Charge

Other cost in sales currency

":
"{Decimal}",
93
               "grossPrice
GrossPrice

Total cost (landed cost or true cost) in sales currency

":
"{Decimal}"
94
          },
95
          "accounting
Accounting

Accounting details for the item, including fixed/system dimensions. For all dimensions, see seperate resource.

":
{
96
               "vATCodeDefinition": {
97
                    "vATCode
VATCode

Code that determines VAT rules used for VAT calculations.

":
"{String}"
98
               }
99
          },
100
          "forwardedFrom
ForwardedFrom

The preceding/previous/source item.

":
{
101
               "currency
Currency

Three character code following the ISO 4217 standard

":
"{String}",
102
               "forwardedNetAmount
ForwardedNetAmount

The net amount forwarded to this item.

":
"{Decimal}",
103
               "forwardedQuantity
ForwardedQuantity

The quantity forwarded to this item.

":
"{Decimal}",
104
               "forwardedFromItem": {
105
                    "itemId
ItemId

Identifier of the object

":
"{Integer}",
106
                    "object": {
107
                         "objectId
ObjectId

Identifier of the object

":
"{Integer}",
108
                         "objectType
ObjectType

Type of object

":
"{String}",
109
                         "objectLink
ObjectLink

API reference to the object

":
"{String}"
110
                    },
111
                    "ramBaseKey
RamBaseKey

Internal RamBase identifier of the object/item

":
"{String}",
112
                    "itemLink
ItemLink

API reference to the item

":
"{String}"
113
               },
114
               "openForwardedQuantity
OpenForwardedQuantity

When items are forwarded they end up in one or more open items. Open items in this context means items that are not registered (status 0 or 1). OpenForwardedQuantity will be the sum of ForwardedQuantity of all items this item has been forwarded to.

":
"{Decimal}",
115
               "forwardedToItems": [
116
                    {
117
                         "itemId
ItemId

Identifier of the object

":
"{Integer}",
118
                         "object": {
119
                              "objectId
ObjectId

Identifier of the object

":
"{Integer}",
120
                              "objectType
ObjectType

Type of object

":
"{String}",
121
                              "objectLink
ObjectLink

API reference to the object

":
"{String}"
122
                         },
123
                         "ramBaseKey
RamBaseKey

Internal RamBase identifier of the object/item

":
"{String}",
124
                         "itemLink
ItemLink

API reference to the item

":
"{String}"
125
                    }
126
               ],
127
               "notificationId
NotificationId

Notification identifier

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

Status of the notification

Possible domain values can be found here

":
"{Integer}",
129
               "createdAt
CreatedAt

Date and time of creation

":
"{Datetime}",
130
               "message
Message

The message from the notification definition, expanded with parameters.

":
"{String}",
131
               "translatedMessage
TranslatedMessage

The translated message from the notification definition, expanded with parameters.

":
"{String}",
132
               "notificationType": {
133
                    "notificationTypeId
NotificationTypeId

Notification type identifier

":
"{String}",
134
                    "category
Category

Category of notification type (warning, information etc)

Possible domain values can be found here

":
"{String}",
135
                    "notificationTypeLink
NotificationTypeLink

Notification type reference

":
"{String}"
136
               },
137
               "notificationLink
NotificationLink

Notification reference

":
"{String}"
138
          }
139
     }
140
}

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 104047 HTTP 404 Additional Production Cost not found
Error 102633 HTTP 404 Product structure cost element not found
Error 103838 HTTP 400 Recalculation failed. Missing location.
Error 103546 HTTP 400 Only product structures can be blocked for production
Error 107762 HTTP 400 Only product structures can auto create work orders for sub production
Error 107763 HTTP 400 Only product structures can be set up for line production
Error 107764 HTTP 400 Only product structures can be externally manufactured
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}