API

Procurement APIs

GET procurement/change-requests/{purchaseOrderChangeRequestId}/changes/{changeId}/items/{itemId}

Details of the provided change item

HTTP method GET
URI https://api.rambase.net/procurement/change-requests/{purchaseOrderChangeRequestId}/changes/{changeId}/items/{itemId}
Supported formats Xml, Html, Json (ex. $format=json)
- URI parameter {purchaseOrderChangeRequestId} Purchase order change request identifier
Integer, minimum 100000
- URI parameter {changeId} Change identifier
Integer, minimum 1
- URI parameter {itemId} Purchase order change request item identifier
Integer, minimum 1
Successful HTTP status code 200
API resource identifier 3090, version 6

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
1

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.

$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]
$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
$format String, optional Set the format of the response to use for the request. Accepted values are "xml", "html", "jsonstream", "json"
$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.
$select String, optional Use to define the fields to return in the response. Accepts a comma-separated list of field names. See the Expand and select page for more information.
$expand String, optional Use to include output fields that are not returned by default in the response. Accepts a comma-separated list of expandable field names. See the Expand and Select page for more information.

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. Fields colored in grey is expandable fields.

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

Format:
1
<PurchaseOrderChangeRequestItem>
2
     <PurchaseOrderChangeRequestItemId
PurchaseOrderChangeRequestItemId

Purchase order change request item identifier

>
{Integer}</PurchaseOrderChangeRequestItemId>
3
     <CreatedAt
CreatedAt

Date and time of creation

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

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

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

The delivery date as requested by the buyer/purchaser

>
{Date}</RequestedDeliveryDate>
6
     <SuppliersProductName
SuppliersProductName

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

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

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

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

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

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

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

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

Quantity of the purchase order change requeste item

>
{Decimal}</Quantity>
11
     <Price>
12
          <Currency
Currency

Three character code following the ISO 4217 standard

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

Final price per unit after deducting all discounts etc.

>
{Decimal}</NetPrice>
14
     </Price>
15
     <MeasurementUnit>
16
          <MeasurementUnitId
MeasurementUnitId

Measurement unit identifier

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

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

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

Material unit reference

>
{String}</MeasurementUnitLink>
19
     </MeasurementUnit>
20
     <Product>
21
          <ProductId
ProductId

Product identifier

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

Name of the product

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

Type of product

Possible domain values can be found here

>
{String}</Type>
24
          <Manufacturer>
25
               <ManufacturerId
ManufacturerId

Manufacturer identifier

>
{Integer}</ManufacturerId>
26
               <Name
Name

Company name of the manufacturer.

This field is greyed out because it is an expandable field. You have to add $expand=Product.Manufacturer.Name in your request URI to get this field

>
{String}</Name>
27
               <ShortName
ShortName

Shortname/code of the manufacturer

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

Manufacturer reference

>
{String}</ManufacturerLink>
29
          </Manufacturer>
30
          <ProductLink
ProductLink

Product reference

>
{String}</ProductLink>
31
     </Product>
32
     <ForwardedTo>
33
          <PurchaseOrderResponseItemId
PurchaseOrderResponseItemId

Item-/linenumber of purchase order response

>
{Integer}</PurchaseOrderResponseItemId>
34
          <PurchaseOrderResponse>
35
               <PurchaseOrderResponseId
PurchaseOrderResponseId

Purchase order response identifier

>
{Integer}</PurchaseOrderResponseId>
36
               <PurchaseOrderResponseLink
PurchaseOrderResponseLink

Purchase order response reference

>
{String}</PurchaseOrderResponseLink>
37
          </PurchaseOrderResponse>
38
          <PurchaseOrderResponseItemLink
PurchaseOrderResponseItemLink

Purchase order response item reference

>
{String}</PurchaseOrderResponseItemLink>
39
     </ForwardedTo>
40
</PurchaseOrderChangeRequestItem>
1
{
2
     "purchaseOrderChangeRequestItem": {
3
          "purchaseOrderChangeRequestItemId
PurchaseOrderChangeRequestItemId

Purchase order change request item identifier

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

Date and time of creation

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

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

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

The delivery date as requested by the buyer/purchaser

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

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

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

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

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

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

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

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

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

Quantity of the purchase order change requeste item

":
"{Decimal}",
12
          "price": {
13
               "currency
Currency

Three character code following the ISO 4217 standard

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

Final price per unit after deducting all discounts etc.

":
"{Decimal}"
15
          },
16
          "measurementUnit": {
17
               "measurementUnitId
MeasurementUnitId

Measurement unit identifier

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

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

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

Material unit reference

":
"{String}"
20
          },
21
          "product": {
22
               "productId
ProductId

Product identifier

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

Name of the product

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

Type of product

Possible domain values can be found here

":
"{String}",
25
               "manufacturer": {
26
                    "manufacturerId
ManufacturerId

Manufacturer identifier

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

Company name of the manufacturer.

This field is greyed out because it is an expandable field. You have to add $expand=Product.Manufacturer.Name in your request URI to get this field

":
"{String}",
28
                    "shortName
ShortName

Shortname/code of the manufacturer

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

Manufacturer reference

":
"{String}"
30
               },
31
               "productLink
ProductLink

Product reference

":
"{String}"
32
          },
33
          "forwardedTo": {
34
               "purchaseOrderResponseItemId
PurchaseOrderResponseItemId

Item-/linenumber of purchase order response

":
"{Integer}",
35
               "purchaseOrderResponse": {
36
                    "purchaseOrderResponseId
PurchaseOrderResponseId

Purchase order response identifier

":
"{Integer}",
37
                    "purchaseOrderResponseLink
PurchaseOrderResponseLink

Purchase order response reference

":
"{String}"
38
               },
39
               "purchaseOrderResponseItemLink
PurchaseOrderResponseItemLink

Purchase order response item reference

":
"{String}"
40
          }
41
     }
42
}

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 102738 HTTP 404 Price list not found
Error 100055 HTTP 403 You have only admittance to your own objects
Error 101233 HTTP 404 Purchase order response item not found.