create async request
curl --location --request POST 'http://localhost:8081/api/v1/TrainingCertificate?mode=async&callback=http://callback-service:3652/callback' \
--header 'Content-Type: application/json' \
--header 'Cookie: JSESSIONID=6B219ABC5B374AEAB6E95B4536A93C18; OAuth_Token_Request_State=ba5cc26a-ec3d-47da-9c68-53d09484cfa3' \
--data-raw '{
"recipient": {
"id": "e422727a-a9c0-4cd9-afe8-92f937905f28",
"name": "Suman bh"
},
"name": "as",
"contact": "12321",
"issuer": {
"url": "https://diksha.gov.in/br/",
"name": "br",
"kid": "1-d46feac5-453a-4e7d-9370-b2932a7a315"
},
"training": {
"id": "do_3135098034420531201142",
"name": "BH_दक्षता ",
"type": "Course",
"batchId": "0135098157023395844"
},
"templateUrl": "https://ntpproductionall.blob.core.windows.net/ntp-content-production/content/brnishthaflnsvgtemplate/artifact/brnishthaflnsvgtemplate_1630058044665_br.svg",
"status": "ACTIVE",
"signatory": [
{
"image": "https://diksha.gov.in/br/images/SCERT LOGO.jpg",
"name": "Bihar",
"id": "br",
"designation": "Bihar"
}
],
"certificateLabel": "BRNISHTHAFLNSVGTemplate"
}'