Hi,
I have problem with API from one of my clients distributors. I was already working with similar services, ,but they were somehow more detailed explained with code examples.
I’m not sure how to access data.
Here is their documentation:
To access the API the following header for all requests should be:
Content-Type : application/json
x-auth-token : dXNlcm5hbWU6cGFzc3dvcmQ=
Parameters:
“username”: API_USERNAME,
“password”: API_PASSWORD
API_USERNAME : as given by Nottage to allow you access to our API
API_PASSWORD :password as given by Nottage to allow you access to our API
NIConcept.com is currently split into 3 native worlds [The Range, Bullet and Elevate].A request can be filtered by defining which world is being requested.
“nativeWorld”:NOTTAGE_NATIVE_WORLD
NOTTAGE_NATIVE_WORLD: this defines which world of NIConcept to return. Options include “therange”, “elevate” or “Bullet”
To return the product information including product prices, indicative data, decoration methods, prices, image files, sku information use this webservice:
END POINT:
http://niconceptws.com/api/NottageECommerceApi/GetProduct
REQUIRED INPUT:
“username”: API_USERNAME,
“password”: API_PASSWORD
OPTIONAL INPUTS:
REQUEST ONE PRODUCT:
“itemnumber”: "9161 "
The item number is the Nottage product code. Do not request SKU’s as they will be included in the item request.
REQUEST MULTIPLE PRODUCTS:
“itemnumber”: "9161,884 "
List all products comma delimited.
REQUEST ALL PRODUCTS FOR A GIVEN WORLD:
“nativeworld”: “therange”
For other worlds use “bullet” and “elevate”
REQUEST SPECIFIC DECORATOR:
“decorator”: “Alex Printing”
This option can be used to return decoration options for a given decorator rather than listing them all.
For other decorators use [”G& K Printing”, “JK Multicolor”, “NI Printshop”]
REQUEST RECOMMENDED DECORATIONS:
“decoration”:“Recommended”
This will show just the recommended decoration methods recommended by Nottage for this product.