API

Procurement APIs

GET procurement/quotes

List of purchase quotes

HTTP method GET
URI https://api.rambase.net/procurement/quotes
Supported formats Xml, Html, Json (ex. $format=json)
Maximum page size ($top) 80
Custom fields Custom fields supported
Successful HTTP status code 200
API resource identifier 602, version 18

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
$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.
$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.
$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.
$format String, optional Set the format of the response to use for the request. Accepted values are "xml", "html", "jsonstream", "json"
$showCustomFields Boolean, optional Set to "true" to include custom fields. Default value is false.
$top String, optional Specifies number of rows to return in each page. Maximum limit is specific for each API resource. Default value is 10.
$pageKey String, optional Use to navigate to first, previous, next or last page in list. Add $expand=PagingDetails to add the different keys to the response.
$filter String, optional Use to filter the result list, see the Filtering and sorting page for more information.
$orderby String, optional Use to order the result list, see the Filtering and sorting page for more information.
$inlinecount String, optional Set to "allpages" to include total number of rows in the response. Possible values are: "allpages", "none"

Read more about filters and sorting on how to use filter parameters and named filters.

CloseToExpiration() Named filter Purchase quotes close to expiration date
InfoNotification() Named filter Purchase quotes with notifications of category I (Information)
MyQuotes() Named filter Purchase quotes current user is assigned to
PendingRegistration() Named filter Purchase quotes pending registration (status 1)
Assignee Integer The user who has been assigned to work with this object. Available macros: currentUser()
ContainingNotificationMessage String Show all transaction documents containing notifications. Note that search will be for messages in company language, and not in user language.
ContainingNotificationTypeId Integer Notification type identifier.
CreatedAt Datetime Date and time of creation. Available macros: now(), startOfDay(), endOfDay(), currentDate(), currentMonth(), currentYear(), startOfMonth(), endOfMonth(), startOfYear(), endOfYear(), startOfWeek(), endOfWeek(), previousYear(), previousMonth()
Currency String Three character code following the ISO 4217 standard.
DeliveryTermPlace String A named place, which, together with the content of Delivery terms, determines where and when the costs, responsibility and risk for a shipment are transferred from the seller to the buye.
DeliveryTerms String Default delivery terms for the supplier. The delivery terms is based on the Incoterms rules from ICC (International Chamber of Commerce)..
EffectiveDate Date The date the purchase quote takes effect. The quote will be effective from and including this date. Available macros: today(), yesterday(), currentMonth(), currentYear(), startOfMonth(), endOfMonth(), startOfYear(), endOfYear(), startOfWeek(), endOfWeek(), previousYear(), previousMonth()
ExpirationDate Date The date the purchase quote expires. The quote will be active to and including this date. Available macros: today(), yesterday(), currentMonth(), currentYear(), startOfMonth(), endOfMonth(), startOfYear(), endOfYear(), startOfWeek(), endOfWeek(), previousYear(), previousMonth()
IsShipAndDebit Boolean True if purchase quote is ship and debit.
Name String Name of supplier (name of company or surname/familyname/lastname of a person).
Note String Additional information regarding the object (free text). This note might be visible to customers/suppliers.
PaymentTerms String Terms of payment. Defaut value is retrieved from the supplier..
PurchaseQuoteId Integer Purchase quote identifier.
RegistrationDate Date Date of registration. Available macros: today(), yesterday(), currentMonth(), currentYear(), startOfMonth(), endOfMonth(), startOfYear(), endOfYear(), startOfWeek(), endOfWeek(), previousYear(), previousMonth()
ShippingServiceId Integer Shipping service identifier.
Status Integer Status of purchase quote.
SupplierId Integer RamBase supplier identifier.
SuppliersReference String Suppliers/sellers reference. Typically a person.
SuppliersReferenceNumber String Suppliers/sellers reference number. Typically to an external system.
TotalAmount Decimal The total amount in object currency, including VAT.

Read more about filters and sorting on how to use sortable parameters

Assignee Integer The user who has been assigned to work with this object.
ContainingNotificationMessage String Show all transaction documents containing notifications. Note that search will be for messages in company language, and not in user language.
ContainingNotificationTypeId Integer Notification type identifier
CreatedAt Datetime Date and time of creation
Currency String Three character code following the ISO 4217 standard
DeliveryTermPlace String A named place, which, together with the content of Delivery terms, determines where and when the costs, responsibility and risk for a shipment are transferred from the seller to the buye
DeliveryTerms String Default delivery terms for the supplier. The delivery terms is based on the Incoterms rules from ICC (International Chamber of Commerce).
EffectiveDate Date The date the purchase quote takes effect. The quote will be effective from and including this date.
ExpirationDate Date The date the purchase quote expires. The quote will be active to and including this date.
IsShipAndDebit Boolean True if purchase quote is ship and debit
Name String Name of supplier (name of company or surname/familyname/lastname of a person)
Note String Additional information regarding the object (free text). This note might be visible to customers/suppliers.
PaymentTerms String Terms of payment. Defaut value is retrieved from the supplier.
PurchaseQuoteId Integer Purchase quote identifier
RegistrationDate Date Date of registration
ShippingServiceId Integer Shipping service identifier
Status Integer Status of purchase quote
SupplierId Integer RamBase supplier identifier
SuppliersReference String Suppliers/sellers reference. Typically a person.
SuppliersReferenceNumber String Suppliers/sellers reference number. Typically to an external system.
TotalAmount Decimal The total amount in object currency, including VAT

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
<PurchaseQuotes>
2
     <PurchaseQuote>
3
          <PurchaseQuoteId
PurchaseQuoteId

Purchase quote identifier

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

Status of purchase quote

Possible domain values can be found here

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

Date and time of creation

>
{Datetime}</CreatedAt>
6
          <RegistrationDate
RegistrationDate

Date of registration

>
{Date}</RegistrationDate>
7
          <SuppliersReference
SuppliersReference

Suppliers/sellers reference. Typically a person.

>
{String}</SuppliersReference>
8
          <SuppliersReferenceNumber
SuppliersReferenceNumber

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

>
{String}</SuppliersReferenceNumber>
9
          <IsShipAndDebit
IsShipAndDebit

True if purchase quote is ship and debit

>
{Boolean}</IsShipAndDebit>
10
          <Assignee
Assignee

The user who has been assigned to work with this object.

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

>
11
               <UserId
UserId

User identifier

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

>
{Integer}</UserId>
12
               <Name
Name

Name of the user

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

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

First name of the user

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

>
{String}</FirstName>
14
               <UserLink
UserLink

User reference

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

>
{String}</UserLink>
15
          </Assignee>
16
          <Validity>
17
               <EffectiveDate
EffectiveDate

The date the purchase quote takes effect. The quote will be effective from and including this date.

>
{Date}</EffectiveDate>
18
               <ExpirationDate
ExpirationDate

The date the purchase quote expires. The quote will be active to and including this date.

>
{Date}</ExpirationDate>
19
          </Validity>
20
          <Supplier>
21
               <SupplierId
SupplierId

RamBase supplier identifier

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

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

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

Supplier reference

>
{String}</SupplierLink>
24
          </Supplier>
25
          <Totals>
26
               <Currency
Currency

Three character code following the ISO 4217 standard

>
{String}</Currency>
27
               <TotalAmount
TotalAmount

The total amount in object currency, including VAT

>
{Decimal}</TotalAmount>
28
          </Totals>
29
          <HighlightedNotification
HighlightedNotification

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

>
30
               <NotificationId
NotificationId

Notification identifier

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

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

Status of the notification

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

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

Date and time of creation

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

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

The message from the notification definition, expanded with parameters.

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

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

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

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

>
{String}</TranslatedMessage>
35
               <NotificationType
NotificationType

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

>
36
                    <NotificationTypeId
NotificationTypeId

Notification type identifier

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

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

Category of notification type (warning, information etc)

Possible domain values can be found here

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

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

Notification type reference

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

>
{String}</NotificationTypeLink>
39
               </NotificationType>
40
               <NotificationLink
NotificationLink

Notification reference

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

>
{String}</NotificationLink>
41
          </HighlightedNotification>
42
          <PurchaseQuoteLink
PurchaseQuoteLink

Purchase quote reference

>
{String}</PurchaseQuoteLink>
43
     </PurchaseQuote>
44
     <Paging
Paging

Detailed paging information for this list.

>
45
          <PageSize
PageSize

Number of elements in the list, as defined in $top. Default is 10.

>
{Integer}</PageSize>
46
          <Position
Position

Position of the first element in the list

>
{Integer}</Position>
47
          <Page
Page

Page index

>
{Integer}</Page>
48
          <FirstPageKey
FirstPageKey

Page key to use for navigating to the first page in the list

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

>
{String}</FirstPageKey>
49
          <FirstPage
FirstPage

Link to the first page in the list. $pageKey is set to FirstPageKey.

>
{String}</FirstPage>
50
          <PreviousPageKey
PreviousPageKey

Page key to use for navigating to previous page in the list

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

>
{String}</PreviousPageKey>
51
          <PreviousPage
PreviousPage

Link to the previous page in the list. $pageKey is set to PreviousPageKey.

>
{String}</PreviousPage>
52
          <NextPageKey
NextPageKey

Page key to use for navigating to next page in the list

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

>
{String}</NextPageKey>
53
          <NextPage
NextPage

Link to the next page in the list. $pageKey is set to NextPageKey.

>
{String}</NextPage>
54
          <LastPageKey
LastPageKey

Page key to use for navigating to last page in the list

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

>
{String}</LastPageKey>
55
          <LastPage
LastPage

Link to the last page in the list. $pageKey is set to LastPageKey.

>
{String}</LastPage>
56
          <Size
Size

Total number of records in the list. Use $inlinecount=allpages in the request uri to include this

>
{Integer}</Size>
57
     </Paging>
58
</PurchaseQuotes>
1
{
2
     "purchaseQuotes": [
3
          {
4
               "purchaseQuoteId
PurchaseQuoteId

Purchase quote identifier

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

Status of purchase quote

Possible domain values can be found here

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

Date and time of creation

":
"{Datetime}",
7
               "registrationDate
RegistrationDate

Date of registration

":
"{Date}",
8
               "suppliersReference
SuppliersReference

Suppliers/sellers reference. Typically a person.

":
"{String}",
9
               "suppliersReferenceNumber
SuppliersReferenceNumber

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

":
"{String}",
10
               "isShipAndDebit
IsShipAndDebit

True if purchase quote is ship and debit

":
"{Boolean}",
11
               "assignee
Assignee

The user who has been assigned to work with this object.

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

":
{
12
                    "userId
UserId

User identifier

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

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

Name of the user

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

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

First name of the user

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

":
"{String}",
15
                    "userLink
UserLink

User reference

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

":
"{String}"
16
               },
17
               "validity": {
18
                    "effectiveDate
EffectiveDate

The date the purchase quote takes effect. The quote will be effective from and including this date.

":
"{Date}",
19
                    "expirationDate
ExpirationDate

The date the purchase quote expires. The quote will be active to and including this date.

":
"{Date}"
20
               },
21
               "supplier": {
22
                    "supplierId
SupplierId

RamBase supplier identifier

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

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

":
"{String}",
24
                    "supplierLink
SupplierLink

Supplier reference

":
"{String}"
25
               },
26
               "totals": {
27
                    "currency
Currency

Three character code following the ISO 4217 standard

":
"{String}",
28
                    "totalAmount
TotalAmount

The total amount in object currency, including VAT

":
"{Decimal}"
29
               },
30
               "highlightedNotification
HighlightedNotification

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

":
{
31
                    "notificationId
NotificationId

Notification identifier

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

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

Status of the notification

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

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

Date and time of creation

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

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

The message from the notification definition, expanded with parameters.

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

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

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

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

":
"{String}",
36
                    "notificationType
NotificationType

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

":
{
37
                         "notificationTypeId
NotificationTypeId

Notification type identifier

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

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

Category of notification type (warning, information etc)

Possible domain values can be found here

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

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

Notification type reference

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

":
"{String}"
40
                    },
41
                    "notificationLink
NotificationLink

Notification reference

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

":
"{String}"
42
               },
43
               "purchaseQuoteLink
PurchaseQuoteLink

Purchase quote reference

":
"{String}"
44
          }
45
     ],
46
     "paging
Paging

Detailed paging information for this list.

":
{
47
          "pageSize
PageSize

Number of elements in the list, as defined in $top. Default is 10.

":
"{Integer}",
48
          "position
Position

Position of the first element in the list

":
"{Integer}",
49
          "page
Page

Page index

":
"{Integer}",
50
          "firstPageKey
FirstPageKey

Page key to use for navigating to the first page in the list

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

":
"{String}",
51
          "firstPage
FirstPage

Link to the first page in the list. $pageKey is set to FirstPageKey.

":
"{String}",
52
          "previousPageKey
PreviousPageKey

Page key to use for navigating to previous page in the list

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

":
"{String}",
53
          "previousPage
PreviousPage

Link to the previous page in the list. $pageKey is set to PreviousPageKey.

":
"{String}",
54
          "nextPageKey
NextPageKey

Page key to use for navigating to next page in the list

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

":
"{String}",
55
          "nextPage
NextPage

Link to the next page in the list. $pageKey is set to NextPageKey.

":
"{String}",
56
          "lastPageKey
LastPageKey

Page key to use for navigating to last page in the list

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

":
"{String}",
57
          "lastPage
LastPage

Link to the last page in the list. $pageKey is set to LastPageKey.

":
"{String}",
58
          "size
Size

Total number of records in the list. Use $inlinecount=allpages in the request uri to include this

":
"{Integer}"
59
     }
60
}

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 100147 HTTP 404 Notification type not found