Get a specific account code
Return a specific account code. Limited to those the user can see
Path parameters
-
Which item to be processed
Minimum value is
0
.
GET
/accountcode/{id}
curl \
-X GET https://YOURSITE.infoodle.com/apiv2/accountcode/99 \
-H "Authorization: Bearer $ACCESS_TOKEN"
Response examples (200)
{
"id": 123,
"accountcode": "200-D",
"name": "Donations",
"incomeexpense": 1,
"taxable": 1,
"salestax": 1,
"sort_order": 1,
"xero_account_id": "62f28bd8-3d47-4302-88a3-dc6ff53d8126",
"xero_status": "OK",
"primary_for_duplicates": 1,
"for_group_id": 28
}
Response examples (401)
{
"error": "Unauthorised"
}
Response examples (403)
{
"error": "Invalid Permission"
}
Response examples (404)
{
"error": "Not Found"
}