Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

ICare API

Status
Not open for further replies.

RBEANRBEAN

Technical User
Jun 7, 2021
5
0
0
ZA
Hello All

I am trying to use the Icare API
1st thing would be to create a SVC Account , but am getting errors using the below example:

I know my program code is correct and also the account # next available.

<?xml version="1.0" encoding="UTF-8" ?>
<CRMMessage language="EN-US" currency="ZAR">
<RequestCode version="1">PostAccountTransaction</RequestCode>
<Transaction>
<Type>1</Type>
<CheckDigitType>1</CheckDigitType>
<TransDateTime>2022-11-17 08:11:10.0</TransDateTime>
<PreambleLength>8</PreambleLength>
<BusinessDate>2022-11-17</BusinessDate>
<AccountPOSRef>2485109000000003</AccountPOSRef>
<CustFriendlyDesc>
create
2485109000000003
</CustFriendlyDesc>
<Amount>10.00</Amount>
<NumberAccounts>1</NumberAccounts>
<Reversal>0</Reversal>
<CardPresent>0</CardPresent>
<ProgramCode>101001</ProgramCode>
<LocalCurrencyISOCode>ZAR</LocalCurrencyISOCode>
<TraceID>0717213444ACC</TraceID>
</Transaction>
</CRMMessage>

Error:
Program Code :101001 cannot be found.

Any help or examples will be appreciated.

THanks!
 
Have you tried changing your program code to letters only? Never seen just numbers used before for this field. It should be A10 I think and work.....but its not. Just a thought. Or try "0000101001
 
Hello Wildbar
I have updated the program name to ICARES , and still get the same error. Program code not found.
I can find the program via the API thou .
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top