I am now officially bald having torn all my hair out.
Following an excellent post by @Gabitas, I started working on an accounting interface to Xero. succesfully made a call, got my tenant ID to the demo company etc, then thought I'd start small and just GET the account details for the BANK accounts.
So I'm looking in my developer account history and can see I'm making successful calls from AwareIM (returning code 200 OK) and I can see using their API Explorer the results I should be getting back into AwareIM (see below). I have a BO called Accounts, and have all the attributes correctly spelt BUT - I'm not getting anything written back into AIM. Not sure about the UdatedDateUTC field - should that be a timestamp? (it is) I've assumed AIM takes care of that? and I'm not sure about the first bit to the first square bracket, is that ignored or do I need to do something with it.
Any ideas would be much appreciated and if you need more info, just shout out
{EDIT} Such a silly - but time-painful mistake!! It wasn't anything to do with Xero or AIM. I had a stupid VIEW command in my process which was trying to view the wrong BO record and it wasn't resolving to anything in context. Result AIM (correctly) rolled everything back. DOHHHH
{
[b] "Id": "d160d5bb-3f76-43a9-b153-97931e56c40a",
"Status": "OK",
"ProviderName": "API Explorer",
"DateTimeUTC": "\/Date(1692795459269)\/",
"Accounts":[/b] [
{
"AccountID": "bd9e85e0-0478-433d-ae9f-0b3c4f04bfe4",
"Code": "090",
"Name": "Business Bank Account",
"Status": "ACTIVE",
"Type": "BANK",
"TaxType": "NONE",
"Class": "ASSET",
"EnablePaymentsToAccount": false,
"ShowInExpenseClaims": false,
"BankAccountNumber": "990404987654321",
"BankAccountType": "BANK",
"CurrencyCode": "GBP",
"ReportingCode": "ASS",
"ReportingCodeName": "Assets",
"HasAttachments": false,
"UpdatedDateUTC": "\/Date(1692116322947+0000)\/",
"AddToWatchlist": false
},
{
"AccountID": "a8d6fb1a-8c5d-4683-90ce-bf9d28fc62ba",
"Code": "091",
"Name": "Business Savings Account",
"Status": "ACTIVE",
"Type": "BANK",
"TaxType": "NONE",
"Class": "ASSET",
"EnablePaymentsToAccount": false,
"ShowInExpenseClaims": false,
"BankAccountNumber": "890303876543210",
"BankAccountType": "BANK",
"CurrencyCode": "GBP",
"ReportingCode": "ASS",
"ReportingCodeName": "Assets",
"HasAttachments": false,
"UpdatedDateUTC": "\/Date(1692116322947+0000)\/",
"AddToWatchlist": false
}
]
}