Autherization token


how to get this authorization token
@Sam @Simphiwe @Eldho

1 Like

Hello @harijp17 ,
I have already sent the Alpha Platform Sandbox Access CURL request for token generation. Could you please check your email and confirm if you have received it?

1 Like

Oh! Sorry about that, got it :+1:

1 Like

What are the mandatory data fields that need to be passed in this API call, and how can we map these fields to the Reels workflow so that our provided data gets connected correctly?
@Sam

1 Like

Hello @harijp17 ,
In the request body, you can include caseType, caseData, and wfData.
The wfData parameter should contain the necessary information on how you define the workflow.
If you do not wish to use wfData, you can simply pass it as an empty object, along with the required caseType and caseData.

1 Like

Is this api is enough for reels connection ?

1 Like

@Sam @Shamnad_KS @Simphiwe @Rocky please support

Hi @harijp17

This API is only used for case creation and has nothing to do with Reels. CaseService is a separate service, and you can find all the related APIs in the CaseService Swagger documentation: Swagger Docs

For the Case Create API, use the following payload:

{
  "caseType": "string",
  "caseData": {},
  "wfData": {}
}

  • caseType: The type of case you onboarded in CaseService
  • caseData: Your complete case object
  • wfData: Used for BPM workflow

Hello @harijp17 ,
If you include wfdata in your request object, the system will execute the rules. However, if you pass wfdata as an empty object, the system will set executeRule to false, preventing the rules from running. As a result, the case will be treated as Non-STP and will be assigned to the underwriter group.