AZURE API MANAGMENT -Web Service for Inter Cars customers

Explore APIs
Picture

API using can be started by logging in to the portal:

Picture

If you want to use Inter Cars ERP API and you do not have account on this site, then you need to register it using “Sing up now” option. E-mail that is used for registration must be a valid e-mail address.

After creating account, you will get an e-mail. After clicking link in this e-mail you account is ready. However, you will not have access to ERP API yet. With active account you need to contact Inter Cars to obtain permission to use ERP API. After getting those permissions you’re all set to go with programming Inter Cars ERP Web API.

Developer can test the API by going to the "Apis" tab and selecting the appropriate interface (ERP API).

Picture
Picture
In the next view, choose the action that you want to call and then click "Try it".
Each query requires two headings:
Ocp-Apim-Subscription-Key:  subscription key (this header should be completed automatically)
Content-Type: application/json (this header should be filled in manually)
Picture

The example call parameters are always given in the description of the given API function.

 

The subscription key can be checked in the "Products" module

Select the category "External".

Picture

A window will appear, in which you need to select the subscription "External subscription"

Picture

This will bring up a window showing the details of the subscription:

Picture

Clicking on the "Show" area shown above will show one of the required keys.

The key value should be copied in order to be able to use it as a desired parameter in the header
Ocp-Apim-Subscription-Key: 

Keep in mind that, in addition to the key in the header, this must additionally be found in header:

Content-Type: application/json (this header should be filled in manually)

The real part of the results from 2018.10.01 is shown below for the item availability search with the ID "256651" using the test number:

Picture

Click "Send", after a moment the API will return the expected response.

Picture
Picture

The following is an example showing which information in the IC_Katalog is responsible for specific fields "Idx" or "Id"

Full documentation of individual operations can be found after logging in to the portal:

Portal

List of available operations:

  1.      Create order

  2.      Add items to order – adding goods to the created order

  3.      Confirm order

Get invoice

Get invoices (headers only)

Get item availability

Get item price

Get item price and availability

Get order

Get order id (from ErpId) – order’s number in ERP system

Get orders (headers only)

Order conditions

Remove order

List of operations to be performed in order to create a new order:

1.       First of all, it is worth checking commercial terms (this is not obligatory). As a result of the query, you will receive the fields needed to create the order.

Method: OrderConditions

2.       Then create a new order with the heading:

Method: CreateOrder

3.       Add products to order:

Method: AddItemsToOrder

4.       If you need to delete an order, you can delete it:

Method: RemoveOrder

5.       To confirm the order, use the next method

Method: ConfirmOrder