API

Procurement APIs

POST procurement/order-responses/{purchaseOrderResponseId}/items

Creates a new item in the provided purchase order response

HTTP method POST
URI https://api.rambase.net/procurement/order-responses/{purchaseOrderResponseId}/items
Supported formats Xml, Html, Json (ex. $format=json)
- URI parameter {purchaseOrderResponseId} Purchase order response identifier
Integer, minimum 100000
Custom fields Custom fields supported
Successful HTTP status code 201
API resource identifier 3049, version 9

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

Required/mandatory field

The delivery date as requested by the buyer/purchaser

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

Shceduled date of shipping goods or material to supplier for external work.

This field is optional.

>
{Date}</ScheduledShippingDateToSupplier>
4
     <ConfirmedDeliveryDate
ConfirmedDeliveryDate

Confirmed delivery date

This field is optional.

>
{Date}</ConfirmedDeliveryDate>
5
     <SuppliersReferenceNumber
SuppliersReferenceNumber

Suppliers/sellers item reference number. Typically to an external system.

This field is optional.

>
{String}</SuppliersReferenceNumber>
6
     <SuppliersProductName
SuppliersProductName

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

This field is optional.

>
{String}</SuppliersProductName>
7
     <EquivalentProductName
EquivalentProductName

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

This field is optional.

>
{String}</EquivalentProductName>
8
     <ProductStructureRevision
ProductStructureRevision

The requested revision of the product structure

This field is optional.

>
{String}</ProductStructureRevision>
9
     <ProductDescription
ProductDescription

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

This field is optional.

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

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

This field is optional.

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

Required/mandatory field

Quantity of the purchase order response item

Minimum value: 0

>
{Decimal}</Quantity>
12
     <HeatNumber
HeatNumber

A heat number is an identification coupon number that is stamped on a material plate after it is removed from the ladle and rolled at a steel mill.

This field is optional.

>
{String}</HeatNumber>
13
     <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>
14
     <Price
Price

This field is optional.

>
15
          <NetPrice
NetPrice

Final price per unit after deducting all discounts etc.

Minimum value: 0

This field is optional.

>
{Decimal}</NetPrice>
16
          <Freight
Freight

Estimated freight for including expected freight cost in the gross margin calculation in sales orders, sales invoices etc.

Minimum value: 0

This field is optional.

>
{Decimal}</Freight>
17
          <FreightPercent
FreightPercent

Estimated freight in percent of net price. Used for including expected freight cost in the gross margin calculation in sales orders, sales invoices etc.

Minimum value: 0

Maximum value: 100

This field is optional.

>
{Decimal}</FreightPercent>
18
     </Price>
19
     <Product>
20
          <ProductId
ProductId

Required/mandatory field

Product identifier

Minimum value: 10000

>
{Integer}</ProductId>
21
     </Product>
22
     <ManufacturersProduct
ManufacturersProduct

This field is optional.

>
23
          <ManufacturersProductId
ManufacturersProductId

Manufacturer product identifier

Minimum value: 100000

This field is optional.

>
{Integer}</ManufacturersProductId>
24
     </ManufacturersProduct>
25
     <Accounting
Accounting

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

This field is optional.

>
26
          <VATCodeDefinition
VATCodeDefinition

This field is optional.

>
27
               <VATCode
VATCode

Code that determines VAT rules used for VAT calculations.

This field is optional.

>
{String}</VATCode>
28
          </VATCodeDefinition>
29
     </Accounting>
30
</PurchaseOrderResponseItem>
1
{
2
     "purchaseOrderResponseItem": {
3
          "requestedDeliveryDate
RequestedDeliveryDate

Required/mandatory field

The delivery date as requested by the buyer/purchaser

":
"{Date}",
4
          "scheduledShippingDateToSupplier
ScheduledShippingDateToSupplier

Shceduled date of shipping goods or material to supplier for external work.

This field is optional.

":
"{Date}",
5
          "confirmedDeliveryDate
ConfirmedDeliveryDate

Confirmed delivery date

This field is optional.

":
"{Date}",
6
          "suppliersReferenceNumber
SuppliersReferenceNumber

Suppliers/sellers item reference number. Typically to an external system.

This field is optional.

":
"{String}",
7
          "suppliersProductName
SuppliersProductName

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

This field is optional.

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

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

This field is optional.

":
"{String}",
9
          "productStructureRevision
ProductStructureRevision

The requested revision of the product structure

This field is optional.

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

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

This field is optional.

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

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

This field is optional.

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

Required/mandatory field

Quantity of the purchase order response item

Minimum value: 0

":
"{Decimal}",
13
          "heatNumber
HeatNumber

A heat number is an identification coupon number that is stamped on a material plate after it is removed from the ladle and rolled at a steel mill.

This field is optional.

":
"{String}",
14
          "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}",
15
          "price
Price

This field is optional.

":
{
16
               "netPrice
NetPrice

Final price per unit after deducting all discounts etc.

Minimum value: 0

This field is optional.

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

Estimated freight for including expected freight cost in the gross margin calculation in sales orders, sales invoices etc.

Minimum value: 0

This field is optional.

":
"{Decimal}",
18
               "freightPercent
FreightPercent

Estimated freight in percent of net price. Used for including expected freight cost in the gross margin calculation in sales orders, sales invoices etc.

Minimum value: 0

Maximum value: 100

This field is optional.

":
"{Decimal}"
19
          },
20
          "product": {
21
               "productId
ProductId

Required/mandatory field

Product identifier

Minimum value: 10000

":
"{Integer}"
22
          },
23
          "manufacturersProduct
ManufacturersProduct

This field is optional.

":
{
24
               "manufacturersProductId
ManufacturersProductId

Manufacturer product identifier

Minimum value: 100000

This field is optional.

":
"{Integer}"
25
          },
26
          "accounting
Accounting

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

This field is optional.

":
{
27
               "vATCodeDefinition
VATCodeDefinition

This field is optional.

":
{
28
                    "vATCode
VATCode

Code that determines VAT rules used for VAT calculations.

This field is optional.

":
"{String}"
29
               }
30
          }
31
     }
32
}

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
<PurchaseOrderResponseItem>
2
     <PurchaseOrderResponseItemId
PurchaseOrderResponseItemId

Item-/linenumber of purchase order response

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

Status of the purchase order response item

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 buyer/purchaser

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

Shceduled date of shipping goods or material to supplier for external work.

>
{Date}</ScheduledShippingDateToSupplier>
8
     <ConfirmedDeliveryDate
ConfirmedDeliveryDate

Confirmed delivery date

>
{Date}</ConfirmedDeliveryDate>
9
     <SuppliersReferenceNumber
SuppliersReferenceNumber

Suppliers/sellers item reference number. Typically to an external system.

>
{String}</SuppliersReferenceNumber>
10
     <SuppliersProductName
SuppliersProductName

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

>
{String}</SuppliersProductName>
11
     <EquivalentProductName
EquivalentProductName

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

>
{String}</EquivalentProductName>
12
     <ProductStructureRevision
ProductStructureRevision

The requested revision of the product structure

>
{String}</ProductStructureRevision>
13
     <ProductDescription
ProductDescription

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

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

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

>
{String}</Note>
15
     <VATPercent
VATPercent

Value added tax percent

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

Quantity of the purchase order response item

>
{Decimal}</Quantity>
17
     <HeatNumber
HeatNumber

A heat number is an identification coupon number that is stamped on a material plate after it is removed from the ladle and rolled at a steel mill.

>
{String}</HeatNumber>
18
     <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>
19
     <RemainingQuantity
RemainingQuantity

Remaining number of units to be forwarded

>
{Decimal}</RemainingQuantity>
20
     <AvailableQuantity
AvailableQuantity

Quantity available/free for use. Not assigned to anything.

>
{Decimal}</AvailableQuantity>
21
     <ReservedQuantity
ReservedQuantity

Quantity reserved from beeing assigned to other objects. Ex. quantity reserved to be used as spare parts, reserved for exhibitions and similar. The reserved quantity cannot be assigned to anything until the reservedquantity is released.

>
{Decimal}</ReservedQuantity>
22
     <ProductUnitMarkingSpecification
ProductUnitMarkingSpecification

Describes how to mark the product unit

>
23
          <EarliestConsumptionDate
EarliestConsumptionDate

The earliest date that these items can be used or consumed based upon the stock assignment with the earliest production date if it is linked to a production work order, or if it is linked to a sales order, the earliest requested date on the linked sales orders.

>
{Date}</EarliestConsumptionDate>
24
          <EarliestConsumptionDays
EarliestConsumptionDays

The deviation between Earliest consumption date and Confirmed delivery date, or Requested delivery date if no delivery date is confirmed by the supplier.

>
{Integer}</EarliestConsumptionDays>
25
          <LatestConsumptionDate
LatestConsumptionDate

The earliest date that these items can be used or consumed based upon the stock assignment with the latest production date if it is linked to a production work order, or if it is linked to a sales order, the latest requested date on the linked sales orders.

>
{Date}</LatestConsumptionDate>
26
          <LatestConsumptionDays
LatestConsumptionDays

The deviation between Latest consumption date and Confirmed delivery date, or Requested delivery date if no delivery date is confirmed by the supplier.

>
{Integer}</LatestConsumptionDays>
27
          <PercentUnassigned
PercentUnassigned

Remaining production available in percent

>
{Decimal}</PercentUnassigned>
28
     </ProductUnitMarkingSpecification>
29
     <PurchaseGroup>
30
          <PurchaseGroupId
PurchaseGroupId

Purchase group identifier

>
{Integer}</PurchaseGroupId>
31
          <PurchaseGroupLink
PurchaseGroupLink

Material unit reference

>
{String}</PurchaseGroupLink>
32
     </PurchaseGroup>
33
     <Price>
34
          <Currency
Currency

Three character code following the ISO 4217 standard

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

Final price per unit after deducting all discounts etc.

>
{Decimal}</NetPrice>
36
          <Freight
Freight

Estimated freight for including expected freight cost in the gross margin calculation in sales orders, sales invoices etc.

>
{Decimal}</Freight>
37
          <FreightPercent
FreightPercent

Estimated freight in percent of net price. Used for including expected freight cost in the gross margin calculation in sales orders, sales invoices etc.

>
{Decimal}</FreightPercent>
38
          <Currency
Currency

Three character code following the ISO 4217 standard

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

Final price per unit after deducting all discounts.

>
{Decimal}</NetPrice>
40
     </Price>
41
     <Totals>
42
          <Currency
Currency

Three character code following the ISO 4217 standard

>
{String}</Currency>
43
          <NetAmount
NetAmount

Final item amount after deducting all discounts etc.

>
{Decimal}</NetAmount>
44
          <Currency
Currency

Three character code following the ISO 4217 standard

>
{String}</Currency>
45
          <NetAmount
NetAmount

Total net amount in company currency.

>
{Decimal}</NetAmount>
46
          <EmployeeId
EmployeeId

Employee identifier

>
{Integer}</EmployeeId>
47
          <FirstName
FirstName

First name of employee

>
{String}</FirstName>
48
          <LastName
LastName

Last name of employee

>
{String}</LastName>
49
          <EmployeeLink
EmployeeLink

Employee reference

>
{String}</EmployeeLink>
50
     </Totals>
51
     <MeasurementUnit>
52
          <MeasurementUnitId
MeasurementUnitId

Material unit reference

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

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

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

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

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

Material unit reference

>
{String}</MeasurementUnitLink>
56
     </MeasurementUnit>
57
     <Product>
58
          <ProductId
ProductId

Product identifier

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

Name of the product

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

Type of product

Possible domain values can be found here

>
{String}</Type>
61
          <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>
62
          <CustomField1
CustomField1

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

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

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

>
{String}</CustomField2>
64
          <Dimensions>
65
               <Weight
Weight

The weight of the product in kilograms.

>
{Decimal}</Weight>
66
          </Dimensions>
67
          <ProductClassification>
68
               <ProductClassificationId
ProductClassificationId

Product classification identifier

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

Product classification reference

>
{String}</ProductClassificationLink>
70
          </ProductClassification>
71
          <Stock>
72
               <IsNonStock
IsNonStock

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

>
{Boolean}</IsNonStock>
73
               <AutoCreateProductUnitAtGoodsReception
AutoCreateProductUnitAtGoodsReception

When activated, product units are automatically generated when goods are registered to stock.

>
{Boolean}</AutoCreateProductUnitAtGoodsReception>
74
          </Stock>
75
          <ProductLink
ProductLink

Product reference

>
{String}</ProductLink>
76
     </Product>
77
     <Manufacturer>
78
          <ManufacturerId
ManufacturerId

Manufacturer identifier

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

Shortname/code of the manufacturer

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

Manufacturer reference

>
{String}</ManufacturerLink>
81
          <ManufacturersProductId
ManufacturersProductId

Manufacturer product identifier

>
{Integer}</ManufacturersProductId>
82
          <Name
Name

Manufacturers name of the product. Also known as Manufacturer Part Number (MPN).

>
{String}</Name>
83
          <ManufacturersProductLink
ManufacturersProductLink

Manufacturers product reference

>
{String}</ManufacturersProductLink>
84
     </Manufacturer>
85
     <Accounting
Accounting

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

>
86
          <VATCodeDefinition>
87
               <VATCode
VATCode

Code that determines VAT rules used for VAT calculations.

>
{String}</VATCode>
88
          </VATCodeDefinition>
89
          <GeneralLedgerAccount>
90
               <GeneralLedgerAccountId
GeneralLedgerAccountId

General ledger account identifier

>
{Integer}</GeneralLedgerAccountId>
91
               <GeneralLedgerAccountLink
GeneralLedgerAccountLink

General ledger account reference

>
{String}</GeneralLedgerAccountLink>
92
          </GeneralLedgerAccount>
93
          <Department
Department

The department related to the item. One of the system/fixed account dimensions.

>
94
               <DepartmentId
DepartmentId

Department identifier

>
{Integer}</DepartmentId>
95
               <DepartmentLink
DepartmentLink

Finance department reference

>
{String}</DepartmentLink>
96
          </Department>
97
          <FinanceProject
FinanceProject

The finance project related to the item. One of the system/fixed account dimensions.

>
98
               <FinanceProjectId
FinanceProjectId

Finance project identifier

>
{Integer}</FinanceProjectId>
99
               <FinanceProjectLink
FinanceProjectLink

Finance project reference

>
{String}</FinanceProjectLink>
100
          </FinanceProject>
101
          <Asset
Asset

The asset related to the item. One of the system/fixed account dimensions.

>
102
               <AssetId
AssetId

Asset identifier

>
{Integer}</AssetId>
103
               <AssetLink
AssetLink

Asset reference

>
{String}</AssetLink>
104
          </Asset>
105
     </Accounting>
106
     <ForwardedFrom
ForwardedFrom

The preceding/previous/source item.

>
107
          <ForwardedFromItem>
108
               <ItemId
ItemId

Identifier of the object

>
{Integer}</ItemId>
109
               <Object>
110
                    <ObjectId
ObjectId

Identifier of the object

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

Type of object

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

API reference to the object

>
{String}</ObjectLink>
113
               </Object>
114
               <RamBaseKey
RamBaseKey

Internal RamBase identifier of the object/item

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

API reference to the item

>
{String}</ItemLink>
116
          </ForwardedFromItem>
117
          <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>
118
          <ForwardedToItems>
119
               <Item
Item

Item this item was forwarded to.

>
120
                    <ItemId
ItemId

Identifier of the object

>
{Integer}</ItemId>
121
                    <Object>
122
                         <ObjectId
ObjectId

Identifier of the object

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

Type of object

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

API reference to the object

>
{String}</ObjectLink>
125
                    </Object>
126
                    <RamBaseKey
RamBaseKey

Internal RamBase identifier of the object/item

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

API reference to the item

>
{String}</ItemLink>
128
               </Item>
129
          </ForwardedToItems>
130
     </ForwardedFrom>
131
     <InitialBacklogItem
InitialBacklogItem

Purchase order reference this purchase order response item is created for

>
132
          <ItemId
ItemId

Item-number of the object

>
{Integer}</ItemId>
133
          <Object>
134
               <ObjectId
ObjectId

Identifier of the object

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

Type of object

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

API reference to the object

>
{String}</ObjectLink>
137
          </Object>
138
          <RamBaseKey
RamBaseKey

Internal RamBase identifier of the object/item

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

API reference to the item

>
{String}</ItemLink>
140
          <NotificationId
NotificationId

Notification identifier

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

Status of the notification

Possible domain values can be found here

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

Date and time of creation

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

The message from the notification definition, expanded with parameters.

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

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

>
{String}</TranslatedMessage>
145
          <NotificationType>
146
               <NotificationTypeId
NotificationTypeId

Notification type identifier

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

Category of notification type (warning, information etc)

Possible domain values can be found here

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

Notification type reference

>
{String}</NotificationTypeLink>
149
          </NotificationType>
150
          <NotificationLink
NotificationLink

Notification reference

>
{String}</NotificationLink>
151
          <ProjectOrderItemId
ProjectOrderItemId

Project order item identifier

>
{Integer}</ProjectOrderItemId>
152
          <ProjectOrder>
153
               <ProjectOrderId
ProjectOrderId

Project order identifier

>
{Integer}</ProjectOrderId>
154
          </ProjectOrder>
155
          <InitialOrderQuantity
InitialOrderQuantity

Original total quantity of purchase order

>
{Decimal}</InitialOrderQuantity>
156
          <InitialOrderAmount
InitialOrderAmount

Original total amount of purchase order

>
{Decimal}</InitialOrderAmount>
157
          <RemainingOrderQuantity
RemainingOrderQuantity

Net quantity of purchase order

>
{Decimal}</RemainingOrderQuantity>
158
          <RemainingOrderAmount
RemainingOrderAmount

Total net amount of purchase order

>
{Decimal}</RemainingOrderAmount>
159
          <ConfirmedQuantity
ConfirmedQuantity

Total confirmed quantity

>
{Decimal}</ConfirmedQuantity>
160
          <ConfirmedAmount
ConfirmedAmount

Total confirmed amount

>
{Decimal}</ConfirmedAmount>
161
          <ReceivedQuantity
ReceivedQuantity

Total received quantity

>
{Decimal}</ReceivedQuantity>
162
          <ReceivedAmount
ReceivedAmount

Total received amount

>
{Decimal}</ReceivedAmount>
163
          <InvoicedQuantity
InvoicedQuantity

Total invoiced quantity

>
{Decimal}</InvoicedQuantity>
164
          <InvoicedAmount
InvoicedAmount

Total invoiced amount

>
{Decimal}</InvoicedAmount>
165
          <CanceledQuantity
CanceledQuantity

Total canceled quantity

>
{Decimal}</CanceledQuantity>
166
          <CanceledAmount
CanceledAmount

Total canceled amount

>
{Decimal}</CanceledAmount>
167
          <ClosedWithoutInvoiceQuantity
ClosedWithoutInvoiceQuantity

Total no invoice quantity

>
{Decimal}</ClosedWithoutInvoiceQuantity>
168
          <ClosedWithoutInvoiceAmount
ClosedWithoutInvoiceAmount

Total no invoice amount

>
{Decimal}</ClosedWithoutInvoiceAmount>
169
     </InitialBacklogItem>
170
</PurchaseOrderResponseItem>
1
{
2
     "purchaseOrderResponseItem": {
3
          "purchaseOrderResponseItemId
PurchaseOrderResponseItemId

Item-/linenumber of purchase order response

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

Status of the purchase order response item

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 buyer/purchaser

":
"{Date}",
8
          "scheduledShippingDateToSupplier
ScheduledShippingDateToSupplier

Shceduled date of shipping goods or material to supplier for external work.

":
"{Date}",
9
          "confirmedDeliveryDate
ConfirmedDeliveryDate

Confirmed delivery date

":
"{Date}",
10
          "suppliersReferenceNumber
SuppliersReferenceNumber

Suppliers/sellers item reference number. Typically to an external system.

":
"{String}",
11
          "suppliersProductName
SuppliersProductName

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

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

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

":
"{String}",
13
          "productStructureRevision
ProductStructureRevision

The requested revision of the product structure

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

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

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

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

":
"{String}",
16
          "vATPercent
VATPercent

Value added tax percent

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

Quantity of the purchase order response item

":
"{Decimal}",
18
          "heatNumber
HeatNumber

A heat number is an identification coupon number that is stamped on a material plate after it is removed from the ladle and rolled at a steel mill.

":
"{String}",
19
          "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}",
20
          "remainingQuantity
RemainingQuantity

Remaining number of units to be forwarded

":
"{Decimal}",
21
          "availableQuantity
AvailableQuantity

Quantity available/free for use. Not assigned to anything.

":
"{Decimal}",
22
          "reservedQuantity
ReservedQuantity

Quantity reserved from beeing assigned to other objects. Ex. quantity reserved to be used as spare parts, reserved for exhibitions and similar. The reserved quantity cannot be assigned to anything until the reservedquantity is released.

":
"{Decimal}",
23
          "productUnitMarkingSpecification
ProductUnitMarkingSpecification

Describes how to mark the product unit

":
{
24
               "earliestConsumptionDate
EarliestConsumptionDate

The earliest date that these items can be used or consumed based upon the stock assignment with the earliest production date if it is linked to a production work order, or if it is linked to a sales order, the earliest requested date on the linked sales orders.

":
"{Date}",
25
               "earliestConsumptionDays
EarliestConsumptionDays

The deviation between Earliest consumption date and Confirmed delivery date, or Requested delivery date if no delivery date is confirmed by the supplier.

":
"{Integer}",
26
               "latestConsumptionDate
LatestConsumptionDate

The earliest date that these items can be used or consumed based upon the stock assignment with the latest production date if it is linked to a production work order, or if it is linked to a sales order, the latest requested date on the linked sales orders.

":
"{Date}",
27
               "latestConsumptionDays
LatestConsumptionDays

The deviation between Latest consumption date and Confirmed delivery date, or Requested delivery date if no delivery date is confirmed by the supplier.

":
"{Integer}",
28
               "percentUnassigned
PercentUnassigned

Remaining production available in percent

":
"{Decimal}"
29
          },
30
          "purchaseGroup": {
31
               "purchaseGroupId
PurchaseGroupId

Purchase group identifier

":
"{Integer}",
32
               "purchaseGroupLink
PurchaseGroupLink

Material unit reference

":
"{String}"
33
          },
34
          "price": {
35
               "currency
Currency

Three character code following the ISO 4217 standard

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

Final price per unit after deducting all discounts etc.

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

Estimated freight for including expected freight cost in the gross margin calculation in sales orders, sales invoices etc.

":
"{Decimal}",
38
               "freightPercent
FreightPercent

Estimated freight in percent of net price. Used for including expected freight cost in the gross margin calculation in sales orders, sales invoices etc.

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

Three character code following the ISO 4217 standard

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

Final price per unit after deducting all discounts.

":
"{Decimal}"
41
          },
42
          "totals": {
43
               "currency
Currency

Three character code following the ISO 4217 standard

":
"{String}",
44
               "netAmount
NetAmount

Final item amount after deducting all discounts etc.

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

Three character code following the ISO 4217 standard

":
"{String}",
46
               "netAmount
NetAmount

Total net amount in company currency.

":
"{Decimal}",
47
               "employeeId
EmployeeId

Employee identifier

":
"{Integer}",
48
               "firstName
FirstName

First name of employee

":
"{String}",
49
               "lastName
LastName

Last name of employee

":
"{String}",
50
               "employeeLink
EmployeeLink

Employee reference

":
"{String}"
51
          },
52
          "measurementUnit": {
53
               "measurementUnitId
MeasurementUnitId

Material unit reference

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

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

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

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

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

Material unit reference

":
"{String}"
57
          },
58
          "product": {
59
               "productId
ProductId

Product identifier

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

Name of the product

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

Type of product

Possible domain values can be found here

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

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

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

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

":
"{String}",
65
               "dimensions": {
66
                    "weight
Weight

The weight of the product in kilograms.

":
"{Decimal}"
67
               },
68
               "productClassification": {
69
                    "productClassificationId
ProductClassificationId

Product classification identifier

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

Product classification reference

":
"{String}"
71
               },
72
               "stock": {
73
                    "isNonStock
IsNonStock

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

":
"{Boolean}",
74
                    "autoCreateProductUnitAtGoodsReception
AutoCreateProductUnitAtGoodsReception

When activated, product units are automatically generated when goods are registered to stock.

":
"{Boolean}"
75
               },
76
               "productLink
ProductLink

Product reference

":
"{String}"
77
          },
78
          "manufacturer": {
79
               "manufacturerId
ManufacturerId

Manufacturer identifier

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

Shortname/code of the manufacturer

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

Manufacturer reference

":
"{String}",
82
               "manufacturersProductId
ManufacturersProductId

Manufacturer product identifier

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

Manufacturers name of the product. Also known as Manufacturer Part Number (MPN).

":
"{String}",
84
               "manufacturersProductLink
ManufacturersProductLink

Manufacturers product reference

":
"{String}"
85
          },
86
          "accounting
Accounting

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

":
{
87
               "vATCodeDefinition": {
88
                    "vATCode
VATCode

Code that determines VAT rules used for VAT calculations.

":
"{String}"
89
               },
90
               "generalLedgerAccount": {
91
                    "generalLedgerAccountId
GeneralLedgerAccountId

General ledger account identifier

":
"{Integer}",
92
                    "generalLedgerAccountLink
GeneralLedgerAccountLink

General ledger account reference

":
"{String}"
93
               },
94
               "department
Department

The department related to the item. One of the system/fixed account dimensions.

":
{
95
                    "departmentId
DepartmentId

Department identifier

":
"{Integer}",
96
                    "departmentLink
DepartmentLink

Finance department reference

":
"{String}"
97
               },
98
               "financeProject
FinanceProject

The finance project related to the item. One of the system/fixed account dimensions.

":
{
99
                    "financeProjectId
FinanceProjectId

Finance project identifier

":
"{Integer}",
100
                    "financeProjectLink
FinanceProjectLink

Finance project reference

":
"{String}"
101
               },
102
               "asset
Asset

The asset related to the item. One of the system/fixed account dimensions.

":
{
103
                    "assetId
AssetId

Asset identifier

":
"{Integer}",
104
                    "assetLink
AssetLink

Asset reference

":
"{String}"
105
               }
106
          },
107
          "forwardedFrom
ForwardedFrom

The preceding/previous/source item.

":
{
108
               "forwardedFromItem": {
109
                    "itemId
ItemId

Identifier of the object

":
"{Integer}",
110
                    "object": {
111
                         "objectId
ObjectId

Identifier of the object

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

Type of object

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

API reference to the object

":
"{String}"
114
                    },
115
                    "ramBaseKey
RamBaseKey

Internal RamBase identifier of the object/item

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

API reference to the item

":
"{String}"
117
               },
118
               "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}",
119
               "forwardedToItems": [
120
                    {
121
                         "itemId
ItemId

Identifier of the object

":
"{Integer}",
122
                         "object": {
123
                              "objectId
ObjectId

Identifier of the object

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

Type of object

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

API reference to the object

":
"{String}"
126
                         },
127
                         "ramBaseKey
RamBaseKey

Internal RamBase identifier of the object/item

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

API reference to the item

":
"{String}"
129
                    }
130
               ]
131
          },
132
          "initialBacklogItem
InitialBacklogItem

Purchase order reference this purchase order response item is created for

":
{
133
               "itemId
ItemId

Item-number of the object

":
"{Integer}",
134
               "object": {
135
                    "objectId
ObjectId

Identifier of the object

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

Type of object

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

API reference to the object

":
"{String}"
138
               },
139
               "ramBaseKey
RamBaseKey

Internal RamBase identifier of the object/item

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

API reference to the item

":
"{String}",
141
               "notificationId
NotificationId

Notification identifier

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

Status of the notification

Possible domain values can be found here

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

Date and time of creation

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

The message from the notification definition, expanded with parameters.

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

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

":
"{String}",
146
               "notificationType": {
147
                    "notificationTypeId
NotificationTypeId

Notification type identifier

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

Category of notification type (warning, information etc)

Possible domain values can be found here

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

Notification type reference

":
"{String}"
150
               },
151
               "notificationLink
NotificationLink

Notification reference

":
"{String}",
152
               "projectOrderItemId
ProjectOrderItemId

Project order item identifier

":
"{Integer}",
153
               "projectOrder": {
154
                    "projectOrderId
ProjectOrderId

Project order identifier

":
"{Integer}"
155
               },
156
               "initialOrderQuantity
InitialOrderQuantity

Original total quantity of purchase order

":
"{Decimal}",
157
               "initialOrderAmount
InitialOrderAmount

Original total amount of purchase order

":
"{Decimal}",
158
               "remainingOrderQuantity
RemainingOrderQuantity

Net quantity of purchase order

":
"{Decimal}",
159
               "remainingOrderAmount
RemainingOrderAmount

Total net amount of purchase order

":
"{Decimal}",
160
               "confirmedQuantity
ConfirmedQuantity

Total confirmed quantity

":
"{Decimal}",
161
               "confirmedAmount
ConfirmedAmount

Total confirmed amount

":
"{Decimal}",
162
               "receivedQuantity
ReceivedQuantity

Total received quantity

":
"{Decimal}",
163
               "receivedAmount
ReceivedAmount

Total received amount

":
"{Decimal}",
164
               "invoicedQuantity
InvoicedQuantity

Total invoiced quantity

":
"{Decimal}",
165
               "invoicedAmount
InvoicedAmount

Total invoiced amount

":
"{Decimal}",
166
               "canceledQuantity
CanceledQuantity

Total canceled quantity

":
"{Decimal}",
167
               "canceledAmount
CanceledAmount

Total canceled amount

":
"{Decimal}",
168
               "closedWithoutInvoiceQuantity
ClosedWithoutInvoiceQuantity

Total no invoice quantity

":
"{Decimal}",
169
               "closedWithoutInvoiceAmount
ClosedWithoutInvoiceAmount

Total no invoice amount

":
"{Decimal}"
170
          }
171
     }
172
}

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 102529 HTTP 404 RamBase event type not found
Error 105969 HTTP 400 Start date is required
Error 105970 HTTP 400 End date is required
Error 102747 HTTP 400 Error in formula: {0}
Error 101050 HTTP 400 Purchase Quote Item quantity needs to be increased
Error 101045 HTTP 400 The purchase quote item needs to be activated
Error 101401 HTTP 400 The Ship and debit purchase quote must be in the same database as the stock assignment
Error 101047 HTTP 400 The purchase quote item has too low available quantity
Error 101400 HTTP 400 Supplier credit claim has been created from shipping advice
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}