Get generalProductPostingGroups
Retrieves the properties and relationships of a general product posting group object for Business Central.
HTTP request
Replace the URL prefix for Business Central depending on environment following the guideline.
GET businesscentralPrefix/companies({id})/generalProductPostingGroups({id})
Request headers
Header | Value |
---|---|
Authorization | Bearer {token}. Required. |
Request body
Do not supply a request body for this method.
Response
If successful, this method returns a 200 OK
response code and a generalProductPostingGroup object in the response body.
Example
Request
Here is an example of the request.
GET https://{businesscentralPrefix}/api/v2.0/companies({id})/generalProductPostingGroups({id})
Response
Here is an example of the response.
{
"@odata.etag": "W/\"JzQ0O1RkZjFGSzJKcXR3VU5QTmNyMUNuUjltT2Z5b1FtWjV5eGdndHNKcXN5bFE9MTswMDsn\"",
"id": "50bd9bdb-51ff-eb11-bb76-000d3a220646",
"code": "MISC",
"description": "Miscellaneous with VAT",
"defaultVATProductPostingGroup": "VAT25",
"autoInsertDefault": true
}
See Also
Commentaires
https://aka.ms/ContentUserFeedback.
Bientôt disponible : Tout au long de 2024, nous allons supprimer progressivement GitHub Issues comme mécanisme de commentaires pour le contenu et le remplacer par un nouveau système de commentaires. Pour plus d’informations, consultezEnvoyer et afficher des commentaires pour