API Forum

This forum is in read-only mode.
Please refer to our API support in case you have any questions.
We can be reached at api@e-conomic.com
e-conomic API developer forum

product name missing

0

I have the following invoice draft:

 

with the productname "TESTING VARENAVN"

 

when i GET that invoice line (https://restapi.e-conomic.com/invoices/drafts/XX/lines/1) i get:

 

{
    "discountPercentage": 0.0,
    "lineNumber": 1,
    "metaData": {
        "delete": {
            "description": "Delete this draft invoice line.",
            "httpMethod": "delete"
        },
        "replace": {
            "description": "Replace this draft invoice line.",
            "httpMethod": "put"
        },
        "update": {
            "description": "Update a subset of properties on this invoice line.",
            "httpMethod": "patch"
        }
    },
    "product": {
        "amountAvailable": 0.0,
        "amountInStock": 0.0,
        "amountOrderedByCustomers": 0.0,
        "amountOrderedFromSuppliers": 0.0,
        "id": "9988",
        "isAccessible": true,
        "name": "API test",
        "packageVolume": 0.0,
        "priceCost": 80.0,
        "priceRecommended": 0.0,
        "priceSales": 100.0,
        "productGroupId": 1,
    },
    "quantity": 1.0,
    "salesDocumentLineType": "draftInvoiceLine",
    "totalNetAmount": 26000.0,
    "unitCostPrice": 80.0,
    "unitId": 2,
    "unitNetPrice": 26000.0,
    "unitPrice": 26000.0
}
 
i.e. the product name is just the standard ("API test) from the product. Any suggestions to what might be wrong?

 

 

created Aug 18, 2014 by fh_at_ipwsystems.dk
0% Accept Rate
Q 1 A 0 C 0

1 Answer

0
It seems this has been fixed now.

Where did you find documentation regarding the "lines" in the URL?

/Kjeld
answered Sep 18, 2014 by ecodyr
Visma e-conomic A/S
...