API List
- API Introduction
- Authentication Key API
- Server Date and Time
- Embed Image API
- Attachment Download API
- Common lookups API
CRM Integration API
- List of companies with basic details
- Complete details of a company
- List of customers of a branch with basic details
- Register Person
- Register company
- Register address
- Register contact query
- Login ID availability check
- Customer Login API
Delivery / Shipment Order API
Expense Claims Integration API
- Register Expense Claim
- Add expense item to claim
- Save and present claim for approval
- Get list of claims with basic details
- Get claim with all details
Inventory Module Integration API
Sales Module Integration API
- Register Quotation API
- Register Proforma Invoice API
- List of Commercial Invoices
- Number of Commercial Invoices
- Register Invoice API
Shopping Cart Integration API
- Price List API
- Create Shopping Cart Order
- Add product to shopping cart
- Update payment details
- Get order in shopping cart
- List of orders in shopping cart
Procurement Module API
Manufacturing Module API
API # : 8031 | API Name : attachment
Attachment Download API retrieves an attachment. In case the attachment is an image, it retrieves pre-scaled watermarked image. This API responds to get method and accepts all input data including authentication as parameters. This API can be used to retrieve image to another server or machine as well as to directly use this image in web pages. However, it is recommended to cache the image on the server delivering the web content and then use in web pages.
URL : <domain>/apic/attachment?device=<DEVICEID>&Authentication=<auth>&id=<image id>&size=<size code>
Methods Allowed : GET
Request Parameters :
Name | Description |
---|---|
device | A short name of your application. Device is mandatory but any value between 3 and 20 characters is accepted. |
Authentication | Authentication code generated for API call. |
id | Attahment ID retrieved through other API like Delivery Order Tracking API, etc. |
size | Integer between 0 and 9 corresponding to Image Size. |
Size Chart :
Size Code | Size of Larger side in pixels |
---|---|
0 | Original Un-scaled Image |
1 | 32 px |
2 | 48 px |
3 | 64 px |
4 | 96 px |
5 | 128 px |
6 | 192 px |
7 | 256 px |
8 | 384 px |
9 | 512 px |