curl -L \
--request POST \
--url 'https://egov-micro-dev.egovernments.org/rainmaker-pgr/v2/v1/requests/_create' \
--header 'Content-Type: application/json' \
--data '{
"RequestInfo": {
"action": "text",
"apiId": "text",
"authToken": "text",
"correlationId": "text",
"did": "text",
"key": "text",
"msgId": "text",
"plainAccessRequest": {
"plainRequestFields": [
"text"
],
"recordId": "text"
},
"ts": 1,
"userInfo": {
"emailId": "text",
"id": 1,
"mobileNumber": "text",
"name": "text",
"roles": [
{
"code": "text",
"id": 1,
"name": "text",
"tenantId": "text"
}
],
"tenantId": "text",
"type": "text",
"userName": "text",
"uuid": "text"
},
"ver": "text"
},
"actionInfo": [
{
"action": "text",
"assignee": "text",
"businessKey": "text",
"by": "text",
"comments": "text",
"isInternal": true,
"media": [
"text"
],
"status": "text",
"tenantId": "text",
"uuid": "text",
"when": 1
}
],
"services": [
{
"accountId": "text",
"active": true,
"address": "text",
"addressDetail": {
"auditDetails": {
"createdBy": "text",
"createdTime": 1,
"lastModifiedBy": "text",
"lastModifiedTime": 1
},
"city": "text",
"houseNoAndStreetName": "text",
"landmark": "text",
"latitude": 1,
"locality": "text",
"longitude": 1,
"mohalla": "text",
"tenantId": "text",
"uuid": "text"
},
"addressId": "text",
"attributes": {},
"auditDetails": {
"createdBy": "text",
"createdTime": 1,
"lastModifiedBy": "text",
"lastModifiedTime": 1
},
"citizen": {
"aadhaarNumber": "text",
"active": true,
"emailId": "text",
"gender": "FEMALE",
"id": 1,
"mobileNumber": "text",
"name": "text",
"pan": "text",
"password": "text",
"permanentAddress": "text",
"roles": [
{
"code": "text",
"name": "text",
"tenantId": "text"
}
],
"tenantId": "text",
"type": "BUSINESS",
"userName": "text",
"uuid": "text"
},
"description": "text",
"deviceId": "text",
"email": "text",
"expectedTime": 1,
"feedback": "text",
"firstName": "text",
"landmark": "text",
"lastName": "text",
"lat": 1,
"long": 1,
"phone": "text",
"rating": "text",
"serviceCode": "text",
"serviceRequestId": "text",
"source": "RB Bot",
"status": "assigned",
"tenantId": "text"
}
]
}'