i want to use api method (https://exsto-uat.ifs.cloud/main/ifsapplications/projection/v1/VoucherHandling.svc/VoucherSet) but i dont know the json template to use, i read the api document in api explorer windows, but i don't understand the json template to use, i try to use the same method in get to reuse the result json, but few values "can not be mapped as a property or an annotation", if i delete this values i have a new message "Unable to fulfill the request due to unexpected server state". can you help me ? with a json example ?
Product Version: 24.2.3
Solved
how to use api voucher
Best answer by jboyron
the ifs support help me to create a voucher with api, you need to run the 3 call :
1. Initialize Objkey
https://..../main/ifsapplications/projection/v1/VoucherEntryAssistantHandling.svc/VoucherSet
2. Add New Entity to VoucherPostingArray (add rows)
https://..../main/ifsapplications/projection/v1/VoucherEntryAssistantHandling.svc/VoucherSet(Objkey=<ID_STEP1>)/VoucherPostingArray
3. Invoke Action: CreateVoucher
https://..../main/ifsapplications/projection/v1/VoucherEntryAssistantHandling.svc/VoucherSet(Objkey=<ID_STEP1>)/IfsApp.VoucherEntryAssistantHandling.VoucherEntry_CreateVoucher
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.
