articles
/articles GET
List all articles
Responses
[
{
"mexcParamvaluesetsid": "123456",
"date": "2022-12-21T12:00Z",
"articlenr": "abc123",
"articlename": "Basic article",
"articlegroup": "Basic",
"price": 123.45,
"vat": "25",
"unit": "st",
"currency": "SEK",
"mexcModulesid": 12345,
"mm3servicesid": 12345,
"changedate": "2022-12-21T12:00Z",
"status": "ACTIVE",
"name2": "Additional name",
"workcostenabled": "example",
"stock": 123,
"pricelist": "example"
}
]
/articles POST
Create a new article
Request parameters
{
"mexcParamvaluesetsid": "123456",
"date": "2022-12-21T12:00Z",
"articlenr": "abc123",
"articlename": "Basic article",
"articlegroup": "Basic",
"price": 123.45,
"vat": "25",
"unit": "st",
"currency": "SEK",
"mexcModulesid": 12345,
"mm3servicesid": 12345,
"changedate": "2022-12-21T12:00Z",
"status": "ACTIVE",
"name2": "Additional name",
"workcostenabled": "example",
"stock": 123,
"pricelist": "example"
}
Responses
{
"mexcParamvaluesetsid": "123456",
"date": "2022-12-21T12:00Z",
"articlenr": "abc123",
"articlename": "Basic article",
"articlegroup": "Basic",
"price": 123.45,
"vat": "25",
"unit": "st",
"currency": "SEK",
"mexcModulesid": 12345,
"mm3servicesid": 12345,
"changedate": "2022-12-21T12:00Z",
"status": "ACTIVE",
"name2": "Additional name",
"workcostenabled": "example",
"stock": 123,
"pricelist": "example"
}
Delete multiple articles
Remove more than one article
Request parameters
[
10000,
10000
]
Responses
{
"result": "Removed",
"count": 2
}
/articles/count GET
Count articles
Responses
{
"count": 7
}
/articles/{id} GET
Get the article for the given id
Request parameters
Responses
{
"mexcParamvaluesetsid": "123456",
"date": "2022-12-21T12:00Z",
"articlenr": "abc123",
"articlename": "Basic article",
"articlegroup": "Basic",
"price": 123.45,
"vat": "25",
"unit": "st",
"currency": "SEK",
"mexcModulesid": 12345,
"mm3servicesid": 12345,
"changedate": "2022-12-21T12:00Z",
"status": "ACTIVE",
"name2": "Additional name",
"workcostenabled": "example",
"stock": 123,
"pricelist": "example"
}
/articles/{id} DELETE
Delete an article
Request parameters
Responses
{
"status": "DELETED",
"query_id": 1000
}
/articles/{id} PATCH
Update an article
Request parameters
{
"mexcParamvaluesetsid": "123456",
"date": "2022-12-21T12:00Z",
"articlenr": "abc123",
"articlename": "Basic article",
"articlegroup": "Basic",
"price": 123.45,
"vat": "25",
"unit": "st",
"currency": "SEK",
"mexcModulesid": 12345,
"mm3servicesid": 12345,
"changedate": "2022-12-21T12:00Z",
"status": "ACTIVE",
"name2": "Additional name",
"workcostenabled": "example",
"stock": 123,
"pricelist": "example"
}
Responses
{
"mexcParamvaluesetsid": "123456",
"date": "2022-12-21T12:00Z",
"articlenr": "abc123",
"articlename": "Basic article",
"articlegroup": "Basic",
"price": 123.45,
"vat": "25",
"unit": "st",
"currency": "SEK",
"mexcModulesid": 12345,
"mm3servicesid": 12345,
"changedate": "2022-12-21T12:00Z",
"status": "ACTIVE",
"name2": "Additional name",
"workcostenabled": "example",
"stock": 123,
"pricelist": "example"
}
Last modified: 13 September 2024