Procurement APIs
Supplier details for the provided identifier
HTTP method | GET |
URI | https://api.rambase.net/procurement/suppliers/{supplierId} |
Supported formats | Xml, Html, Json (ex. $format=json) |
- URI parameter {supplierId} |
RamBase supplier identifier
Integer, minimum 100 |
Custom fields | Custom fields supported |
Successful HTTP status code | 200 |
API resource identifier | 328, version 48 |
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.
SupplierId
RamBase supplier identifier
>{Integer}</SupplierId>Status
Status of the supplier. 1:New, 2:Pending internal approvement, 4:Active, 9:Obsolete
Possible domain values can be found here
>{Integer}</Status>Name
Name of supplier (name of company or surname/familyname/lastname of a person)
>{String}</Name>FirstName
Firstname/givenname if the supplier is a person
>{String}</FirstName>PreferredLanguage
Preferred language for the supplier. Is used in prints, emails etc.
Possible domain values can be found here
>{String}</PreferredLanguage>Phone
Main phone number of the supplier
>{String}</Phone>Fax
Main fax number of the supplier
>{String}</Fax>Website
Suppliers website/homepage/webpage
>{String}</Website>Main email address to the supplier
>{String}</Email>Classification
Classification of the supplier
Possible domain values can be found here
>{String}</Classification>VATRegistrationNumber
Unique number assigned by the relevant tax authority to identify a party for use in relation to value added tax (VAT).
>{String}</VATRegistrationNumber>EORINumber
An EORI (Economic Operator Registration and Identification number) number is required of any party intending to import into the EU or export from the EU.
>{String}</EORINumber>Code
Intercompany database the supplier belongs to.
>{String}</Code>ExternalReference
External supplier reference/identifier. Can be used in external systems
>{String}</ExternalReference>InternalNote
Internal note/notice of the supplier. Should not be visible to the supplier.
>{String}</InternalNote>IsRelatedBusinessEntity
Identify if a supplier is related business entity to the company
>{Boolean}</IsRelatedBusinessEntity>IsUsingCashMethodSettlement
Identify if a supplier is using cash method for settlements
>{Boolean}</IsUsingCashMethodSettlement>LegalEntityIdentifier
The suppliers unique enterprise/organization number.
>{String}</LegalEntityIdentifier>UpdatedAt
Date and time of update
>{Datetime}</UpdatedAt>CreatedAt
Date and time of creation
>{Datetime}</CreatedAt>CreatedBy
The user (employee or RamBase-server) that created the supplier
>UserId
Employee identifier
>{Integer}</UserId>Name
Last name of employee
>{String}</Name>FirstName
First name of employee
>{String}</FirstName>UserLink
Employee reference
>{String}</UserLink>Currencies
Currencies used by the supplier
>CurrencyCode
Three character code following the ISO 4217 standard
Possible domain values can be found here
>{String}</CurrencyCode>VATHandling
Specifies how value added tax (VAT) should be calculated. Either always include VAT, always exclude VAT or use standard/default VAT rules.
Possible domain values can be found here
>{String}</VATHandling>ConfirmedDeliveryDateBuffer
If the confirmed delivery date is unreliable, you can specify a buffer in days to be added.
This buffer will be used when the requested delivery date for purchase orders is calculated.
This buffer will also be added to the confirmed delivery date when creating purchase order responses.
DeliveryTerms
Default delivery terms for the supplier. The delivery terms is based on the Incoterms rules from ICC (International Chamber of Commerce).
Possible domain values can be found here
>{String}</DeliveryTerms>DeliveryTermPlace
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
>{String}</DeliveryTermPlace>SpecialHandling
Special handling for departing shipments (to this supplier)
>SpecialHandlingId
Special handling identifier
>{Integer}</SpecialHandlingId>SpecialHandlingLink
Special handling code reference
>{String}</SpecialHandlingLink>ArrivingShippingService
Shipping service used for arriving shipments (from this supplier)
>ShippingServiceId
Shipping service identifier
>{Integer}</ShippingServiceId>Name
Name of shipping service
>{String}</Name>ShippingServiceLink
Shipping service reference
>{String}</ShippingServiceLink>DepartingShippingService
Shipping services used for departing shipments (to this supplier)
>ShippingServiceId
Shipping service identifier
>{Integer}</ShippingServiceId>Name
Name of shipping service
>{String}</Name>Currency
Three character code following the ISO 4217 standard
>{String}</Currency>Balance
Total balance for the supplier, without value added tax (VAT)
>{Decimal}</Balance>BalanceIncludingVAT
Total balance for the supplier, including value added tax (VAT)
>{Decimal}</BalanceIncludingVAT>BillingYTDAmount
Total amount of invoices and credit notes that has been invoiced this year (to current date)
>{Decimal}</BillingYTDAmount>OverdueAmount
Total amount of unpaid invoices which has passed due date
>{Decimal}</OverdueAmount>GeneralLedgerAccountId
General ledger account identifier
>{Integer}</GeneralLedgerAccountId>GeneralLedgerAccountLink
General ledger account reference
>{String}</GeneralLedgerAccountLink>PaymentTerms
Default payment terms to use in new documents.
Possible domain values can be found here
>{String}</PaymentTerms>PaymentMethod
Default payment method for the supplier
Possible domain values can be found here
>{String}</PaymentMethod>BlockPayments
Blocked payment of supplier
>{Boolean}</BlockPayments>SupplierId
RamBase supplier identifier
": "{Integer}",Status
Status of the supplier. 1:New, 2:Pending internal approvement, 4:Active, 9:Obsolete
Possible domain values can be found here
": "{Integer}",Name
Name of supplier (name of company or surname/familyname/lastname of a person)
": "{String}",FirstName
Firstname/givenname if the supplier is a person
": "{String}",PreferredLanguage
Preferred language for the supplier. Is used in prints, emails etc.
Possible domain values can be found here
": "{String}",Phone
Main phone number of the supplier
": "{String}",Fax
Main fax number of the supplier
": "{String}",Website
Suppliers website/homepage/webpage
": "{String}",Main email address to the supplier
": "{String}",Classification
Classification of the supplier
Possible domain values can be found here
": "{String}",VATRegistrationNumber
Unique number assigned by the relevant tax authority to identify a party for use in relation to value added tax (VAT).
": "{String}",EORINumber
An EORI (Economic Operator Registration and Identification number) number is required of any party intending to import into the EU or export from the EU.
": "{String}",Code
Intercompany database the supplier belongs to.
": "{String}"ExternalReference
External supplier reference/identifier. Can be used in external systems
": "{String}",InternalNote
Internal note/notice of the supplier. Should not be visible to the supplier.
": "{String}",IsRelatedBusinessEntity
Identify if a supplier is related business entity to the company
": "{Boolean}",IsUsingCashMethodSettlement
Identify if a supplier is using cash method for settlements
": "{Boolean}",LegalEntityIdentifier
The suppliers unique enterprise/organization number.
": "{String}",UpdatedAt
Date and time of update
": "{Datetime}",CreatedAt
Date and time of creation
": "{Datetime}",CreatedBy
The user (employee or RamBase-server) that created the supplier
": {UserId
Employee identifier
": "{Integer}",Name
Last name of employee
": "{String}",FirstName
First name of employee
": "{String}",UserLink
Employee reference
": "{String}"Currencies
Currencies used by the supplier
": [CurrencyCode
Three character code following the ISO 4217 standard
Possible domain values can be found here
": "{String}"VATHandling
Specifies how value added tax (VAT) should be calculated. Either always include VAT, always exclude VAT or use standard/default VAT rules.
Possible domain values can be found here
": "{String}",ConfirmedDeliveryDateBuffer
If the confirmed delivery date is unreliable, you can specify a buffer in days to be added.
This buffer will be used when the requested delivery date for purchase orders is calculated.
This buffer will also be added to the confirmed delivery date when creating purchase order responses.
DeliveryTerms
Default delivery terms for the supplier. The delivery terms is based on the Incoterms rules from ICC (International Chamber of Commerce).
Possible domain values can be found here
": "{String}",DeliveryTermPlace
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
": "{String}",SpecialHandling
Special handling for departing shipments (to this supplier)
": {SpecialHandlingId
Special handling identifier
": "{Integer}",SpecialHandlingLink
Special handling code reference
": "{String}"ArrivingShippingService
Shipping service used for arriving shipments (from this supplier)
": {ShippingServiceId
Shipping service identifier
": "{Integer}",Name
Name of shipping service
": "{String}",ShippingServiceLink
Shipping service reference
": "{String}"DepartingShippingService
Shipping services used for departing shipments (to this supplier)
": {ShippingServiceId
Shipping service identifier
": "{Integer}",Name
Name of shipping service
": "{String}",Currency
Three character code following the ISO 4217 standard
": "{String}",Balance
Total balance for the supplier, without value added tax (VAT)
": "{Decimal}",BalanceIncludingVAT
Total balance for the supplier, including value added tax (VAT)
": "{Decimal}",BillingYTDAmount
Total amount of invoices and credit notes that has been invoiced this year (to current date)
": "{Decimal}",OverdueAmount
Total amount of unpaid invoices which has passed due date
": "{Decimal}",GeneralLedgerAccountId
General ledger account identifier
": "{Integer}",GeneralLedgerAccountLink
General ledger account reference
": "{String}"PaymentTerms
Default payment terms to use in new documents.
Possible domain values can be found here
": "{String}",PaymentMethod
Default payment method for the supplier
Possible domain values can be found here
": "{String}",BlockPayments
Blocked payment of supplier
": "{Boolean}"
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 100050 HTTP 403 | No admittance as customer {0} |
Error 100053 HTTP 403 | You have only admittance to your own suppliers |