Document Uploader

create

post
Body
Responses
200
OK
*/*
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"
  }
}

delete

post
Body
Responses
200
OK
*/*
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"
}

search

post
Query parameters
categorystringOptional
namestringOptional
postedBystringOptional
tenantIdsstring[]Optional
uuidstringOptional
Body
Responses
200
OK
*/*
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"
  }
}

update

post
Body
Responses
200
OK
*/*
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?