Document Uploader
Body
Responses
200
OK
*/*
201
Created
401
Unauthorized
403
Forbidden
404
Not Found
post
POST /egov-document-uploader/egov-du/document/_create HTTP/1.1
Host: localhost:8080
Content-Type: application/json
Accept: */*
Content-Length: 446
{
"DocumentEntity": {
"active": true,
"auditDetails": {
"createdBy": "text",
"createdTime": 1,
"lastModifiedBy": "text",
"lastModifiedTime": 1
},
"category": "text",
"description": "text",
"documentLink": "text",
"filestoreId": "text",
"name": "text",
"postedBy": "text",
"tenantId": "text",
"tenantIds": [
"text"
],
"uuid": "text"
},
"RequestInfo": {
"apiId": "text",
"ver": "text",
"ts": 1,
"action": "text",
"did": "text",
"key": "text",
"msgId": "text",
"requesterId": "text",
"authToken": "text"
}
}
{
"Documents": [
{
"active": true,
"auditDetails": {
"createdBy": "text",
"createdTime": 1,
"lastModifiedBy": "text",
"lastModifiedTime": 1
},
"category": "text",
"description": "text",
"documentLink": "text",
"filestoreId": "text",
"name": "text",
"postedBy": "text",
"tenantId": "text",
"tenantIds": [
"text"
],
"uuid": "text"
}
],
"ResponseInfo": {
"apiId": "text",
"ver": "text",
"ts": 1,
"resMsgId": "text",
"msgId": "text",
"status": "SUCCESSFUL"
}
}
Body
Responses
200
OK
*/*
201
Created
401
Unauthorized
403
Forbidden
404
Not Found
post
POST /egov-document-uploader/egov-du/document/_delete HTTP/1.1
Host: localhost:8080
Content-Type: application/json
Accept: */*
Content-Length: 446
{
"DocumentEntity": {
"active": true,
"auditDetails": {
"createdBy": "text",
"createdTime": 1,
"lastModifiedBy": "text",
"lastModifiedTime": 1
},
"category": "text",
"description": "text",
"documentLink": "text",
"filestoreId": "text",
"name": "text",
"postedBy": "text",
"tenantId": "text",
"tenantIds": [
"text"
],
"uuid": "text"
},
"RequestInfo": {
"apiId": "text",
"ver": "text",
"ts": 1,
"action": "text",
"did": "text",
"key": "text",
"msgId": "text",
"requesterId": "text",
"authToken": "text"
}
}
{
"apiId": "text",
"ver": "text",
"ts": 1,
"resMsgId": "text",
"msgId": "text",
"status": "SUCCESSFUL"
}
Query parameters
categorystringOptional
namestringOptional
postedBystringOptional
tenantIdsstring[]Optional
uuidstringOptional
Body
Responses
200
OK
*/*
201
Created
401
Unauthorized
403
Forbidden
404
Not Found
post
POST /egov-document-uploader/egov-du/document/_search HTTP/1.1
Host: localhost:8080
Content-Type: application/json
Accept: */*
Content-Length: 149
{
"RequestInfo": {
"apiId": "text",
"ver": "text",
"ts": 1,
"action": "text",
"did": "text",
"key": "text",
"msgId": "text",
"requesterId": "text",
"authToken": "text"
}
}
{
"Documents": [
{
"active": true,
"auditDetails": {
"createdBy": "text",
"createdTime": 1,
"lastModifiedBy": "text",
"lastModifiedTime": 1
},
"category": "text",
"description": "text",
"documentLink": "text",
"filestoreId": "text",
"name": "text",
"postedBy": "text",
"tenantId": "text",
"tenantIds": [
"text"
],
"uuid": "text"
}
],
"ResponseInfo": {
"apiId": "text",
"ver": "text",
"ts": 1,
"resMsgId": "text",
"msgId": "text",
"status": "SUCCESSFUL"
}
}
Body
Responses
200
OK
*/*
201
Created
401
Unauthorized
403
Forbidden
404
Not Found
post
POST /egov-document-uploader/egov-du/document/_update HTTP/1.1
Host: localhost:8080
Content-Type: application/json
Accept: */*
Content-Length: 446
{
"DocumentEntity": {
"active": true,
"auditDetails": {
"createdBy": "text",
"createdTime": 1,
"lastModifiedBy": "text",
"lastModifiedTime": 1
},
"category": "text",
"description": "text",
"documentLink": "text",
"filestoreId": "text",
"name": "text",
"postedBy": "text",
"tenantId": "text",
"tenantIds": [
"text"
],
"uuid": "text"
},
"RequestInfo": {
"apiId": "text",
"ver": "text",
"ts": 1,
"action": "text",
"did": "text",
"key": "text",
"msgId": "text",
"requesterId": "text",
"authToken": "text"
}
}
{
"Documents": [
{
"active": true,
"auditDetails": {
"createdBy": "text",
"createdTime": 1,
"lastModifiedBy": "text",
"lastModifiedTime": 1
},
"category": "text",
"description": "text",
"documentLink": "text",
"filestoreId": "text",
"name": "text",
"postedBy": "text",
"tenantId": "text",
"tenantIds": [
"text"
],
"uuid": "text"
}
],
"ResponseInfo": {
"apiId": "text",
"ver": "text",
"ts": 1,
"resMsgId": "text",
"msgId": "text",
"status": "SUCCESSFUL"
}
}
Last updated
Was this helpful?