Procurement APIs
Updates provided change item
HTTP method | PUT |
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 | 3098, version 3 |
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.
PurchaseOrderChangeRequestItem
This field is optional.
>LineNumber
Line- or sequence number of the item. The LineNumber is used for sorting items in applications, prints, reports etc.
Minimum value: 1
This field is optional.
>{Integer}</LineNumber>RequestedDeliveryDate
The delivery date as requested by the buyer/purchaser
This field is optional.
>{Date}</RequestedDeliveryDate>SuppliersProductName
Suppliers internal name of the product. Retrieved from the product.
This field is optional.
>{String}</SuppliersProductName>EquivalentProductName
Name of product with equivalent behavior and attributes. Can be used for same purpose.
This field is optional.
>{String}</EquivalentProductName>ProductStructureRevision
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}</ProductStructureRevision>ProductDescription
Description of the item. If not specified, the description is by default copied from the product.
This field is optional.
>{String}</ProductDescription>Quantity
Quantity of the purchase order change requeste item
Minimum value: 0
This field is optional.
>{Decimal}</Quantity>Price
This field is optional.
>NetPrice
Final price per unit after deducting all discounts etc.
Minimum value: 0
This field is optional.
>{Decimal}</NetPrice>Product
This field is optional.
>ProductId
Product identifier
Minimum value: 10000
This field is optional.
>{Integer}</ProductId>PurchaseOrderChangeRequestItem
This field is optional.
": {LineNumber
Line- or sequence number of the item. The LineNumber is used for sorting items in applications, prints, reports etc.
Minimum value: 1
This field is optional.
": "{Integer}",RequestedDeliveryDate
The delivery date as requested by the buyer/purchaser
This field is optional.
": "{Date}",SuppliersProductName
Suppliers internal name of the product. Retrieved from the product.
This field is optional.
": "{String}",EquivalentProductName
Name of product with equivalent behavior and attributes. Can be used for same purpose.
This field is optional.
": "{String}",ProductStructureRevision
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}",ProductDescription
Description of the item. If not specified, the description is by default copied from the product.
This field is optional.
": "{String}",Quantity
Quantity of the purchase order change requeste item
Minimum value: 0
This field is optional.
": "{Decimal}",Price
This field is optional.
": {NetPrice
Final price per unit after deducting all discounts etc.
Minimum value: 0
This field is optional.
": "{Decimal}"Product
This field is optional.
": {ProductId
Product identifier
Minimum value: 10000
This field is optional.
": "{Integer}"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. |
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.
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 101013 HTTP 404 | Sub-module not found |
Error 102018 HTTP 403 | You need permission {0}. Duties with this permission: {1} |
Error 101420 HTTP 404 | Setting definition not found |
Error 103825 HTTP 400 | Requested change line for cancellation has to be for the whole quantity of the current item |