Procurement APIs
Purchase order suggestions details for provided identifier
HTTP method | GET |
URI | https://api.rambase.net/procurement/order-suggestions/{purchaseOrderSuggestionId} |
Supported formats | Xml, Html, Json (ex. $format=json) |
- URI parameter {purchaseOrderSuggestionId} |
Purchase order suggestion identifier
Integer, minimum 100000 |
Custom fields | Custom fields supported |
Successful HTTP status code | 200 |
API resource identifier | 3407, version 8 |
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.
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. |
$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. Fields colored in grey is expandable fields.
Please note that some fields may be removed from the response, based on user roles/duties/permissions.
PurchaseOrderSuggestionId
Purchase order suggestion identifier
>{Integer}</PurchaseOrderSuggestionId>Status
Status of purchase order suggestion
Possible domain values can be found here
>{Integer}</Status>RequestedDeliveryDate
Requested delivery date
>{Date}</RequestedDeliveryDate>DeadlineDate
Deadline for purchasing product from supplier. Calculated by subtracting leadtime from requested delivery date
>{Date}</DeadlineDate>LeadTime
Lead time for product and suggested supplier
>{Integer}</LeadTime>SuppliersProductName
Suppliers product name
>{String}</SuppliersProductName>Quantity
Quantity suggested to purchase
>{Decimal}</Quantity>GrossQuantity
The gross demand for supplier, product and requested delivery date.
>{Decimal}</GrossQuantity>SubtractedQuantity
Quantity from open purchase orders and purchase order responses subtracted from the gross demand quantity to get the net demand quantity.
>{Decimal}</SubtractedQuantity>NetQuantity
Net demand quantity for this product, supplier and requested delivery date. The net quantity is the current demand, and will be the base for creating the quantity of the purchase order suggestion.
>{Decimal}</NetQuantity>SupplierId
RamBase supplier identifier
>{Integer}</SupplierId>Name
Name of supplier (name of company or surname/familyname/lastname of a person)
>{String}</Name>MinimumOrderQuantity
A minimum order quantity (MOQ) is the lowest set amount of stock that a supplier is willing to sell. If you can’t purchase the MOQ of a specific product, then the supplier won’t sell it to you. Also note that if purchase quantity exceeds the MOQ, the purchase quantity should always be in multiple of the MOQ.
>{Integer}</MinimumOrderQuantity>SupplierLink
Supplier reference
>{String}</SupplierLink>SOPProcessId
S&OP (sales and operation planning) process identifier
>{Integer}</SOPProcessId>SOPProcessLink
S&OP (salse and operation planning) process reference
>{String}</SOPProcessLink>ProductId
Product identifier
>{Integer}</ProductId>Name
Name of the product
>{String}</Name>Description
Description of the product
>{String}</Description>BlockedForPurchase
If a product is blocked for purchase, no purchase quotes or purchase orders with that product can be registered.
>{Boolean}</BlockedForPurchase>MeasurementUnit
Measurement unit used for this product, both in sales and purchase.
>MeasurementUnitId
Measurement unit identifier
>{Integer}</MeasurementUnitId>Unit
Measurement unit (ex. mm, km, dl, kg)
>{String}</Unit>MeasurementUnitLink
Material unit reference
>{String}</MeasurementUnitLink>PalletQuantity
Total quantity of the product that can be on a pallet
>{Integer}</PalletQuantity>PackageQuantity
Total quantity of the product within a package
>{Integer}</PackageQuantity>PackageType
Type of wrapping used for the package
Possible domain values can be found here
>{String}</PackageType>Revision
Revision number
>{String}</Revision>PlanningCategory
Planning category
Possible domain values can be found here
>{String}</PlanningCategory>ProduceInMultipleOf
Quantity to procude in multiple of. Ex. if set to 2, you can only produce 2, 4, 6 etc.
>{Integer}</ProduceInMultipleOf>Name
Name of manufacturing area
>{String}</Name>ProductLink
Product reference
>{String}</ProductLink>LocationId
Location identifier
>{Integer}</LocationId>LocationLink
Location reference
>{String}</LocationLink>ReorderQuantity
Preferred quantity to use when reordering to this location. Is also used as order quantity when stock gets below reorder point.
>{Decimal}</ReorderQuantity>ReorderPoint
A minimum amount of quantity which a location holds in stock, such that, when stock falls to this amount, the product must be reordered.
MinimumWorkOrderQuantity
Minimum ProductionOrder quantity to a production
>{Decimal}</MinimumWorkOrderQuantity>ManufacturerId
Manufacturer identifier
>{Integer}</ManufacturerId>ShortName
Shortname/code of the manufacturer
>{String}</ShortName>ManufacturerLink
Manufacturer reference
>{String}</ManufacturerLink>Currency
Three character code following the ISO 4217 standard
Possible domain values can be found here
>{String}</Currency>GrossPrice
Gross price for the purchase order suggestion
>{Decimal}</GrossPrice>Currency
Three character code following the ISO 4217 standard
>{String}</Currency>GrossAmount
Gross amount for the purchase order suggestion
>{Decimal}</GrossAmount>PurchaseOrderSuggestionId
Purchase order suggestion identifier
": "{Integer}",Status
Status of purchase order suggestion
Possible domain values can be found here
": "{Integer}",RequestedDeliveryDate
Requested delivery date
": "{Date}",DeadlineDate
Deadline for purchasing product from supplier. Calculated by subtracting leadtime from requested delivery date
": "{Date}",LeadTime
Lead time for product and suggested supplier
": "{Integer}",SuppliersProductName
Suppliers product name
": "{String}",Quantity
Quantity suggested to purchase
": "{Decimal}",GrossQuantity
The gross demand for supplier, product and requested delivery date.
": "{Decimal}",SubtractedQuantity
Quantity from open purchase orders and purchase order responses subtracted from the gross demand quantity to get the net demand quantity.
": "{Decimal}",NetQuantity
Net demand quantity for this product, supplier and requested delivery date. The net quantity is the current demand, and will be the base for creating the quantity of the purchase order suggestion.
": "{Decimal}"SupplierId
RamBase supplier identifier
": "{Integer}",Name
Name of supplier (name of company or surname/familyname/lastname of a person)
": "{String}",MinimumOrderQuantity
A minimum order quantity (MOQ) is the lowest set amount of stock that a supplier is willing to sell. If you can’t purchase the MOQ of a specific product, then the supplier won’t sell it to you. Also note that if purchase quantity exceeds the MOQ, the purchase quantity should always be in multiple of the MOQ.
": "{Integer}",SupplierLink
Supplier reference
": "{String}"SOPProcessId
S&OP (sales and operation planning) process identifier
": "{Integer}",SOPProcessLink
S&OP (salse and operation planning) process reference
": "{String}"ProductId
Product identifier
": "{Integer}",Type
Type of product
Possible domain values can be found here
": "{String}",Name
Name of the product
": "{String}",Description
Description of the product
": "{String}",BlockedForPurchase
If a product is blocked for purchase, no purchase quotes or purchase orders with that product can be registered.
": "{Boolean}"MeasurementUnit
Measurement unit used for this product, both in sales and purchase.
": {MeasurementUnitId
Measurement unit identifier
": "{Integer}",Unit
Measurement unit (ex. mm, km, dl, kg)
": "{String}",MeasurementUnitLink
Material unit reference
": "{String}"PalletQuantity
Total quantity of the product that can be on a pallet
": "{Integer}",PackageQuantity
Total quantity of the product within a package
": "{Integer}",PackageType
Type of wrapping used for the package
Possible domain values can be found here
": "{String}"Revision
Revision number
": "{String}"PlanningCategory
Planning category
Possible domain values can be found here
": "{String}",ProduceInMultipleOf
Quantity to procude in multiple of. Ex. if set to 2, you can only produce 2, 4, 6 etc.
": "{Integer}",Name
Name of manufacturing area
": "{String}"ProductLink
Product reference
": "{String}"LocationId
Location identifier
": "{Integer}",LocationLink
Location reference
": "{String}"ReorderQuantity
Preferred quantity to use when reordering to this location. Is also used as order quantity when stock gets below reorder point.
": "{Decimal}",ReorderPoint
A minimum amount of quantity which a location holds in stock, such that, when stock falls to this amount, the product must be reordered.
MinimumWorkOrderQuantity
Minimum ProductionOrder quantity to a production
": "{Decimal}"ManufacturerId
Manufacturer identifier
": "{Integer}",ShortName
Shortname/code of the manufacturer
": "{String}",ManufacturerLink
Manufacturer reference
": "{String}"Currency
Three character code following the ISO 4217 standard
Possible domain values can be found here
": "{String}",GrossPrice
Gross price for the purchase order suggestion
": "{Decimal}"Currency
Three character code following the ISO 4217 standard
": "{String}",GrossAmount
Gross amount for the purchase order suggestion
": "{Decimal}"
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 |