Service Request

Overview

Service request allows users to define a service and then create a service against service definitions. A service definition can be a survey or a checklist which the users might want to define and a service against the service definition can be a response against the survey or a filled out checklist.

Pre-requisites

  1. Prior Knowledge of Java/J2EE.

  2. Prior Knowledge of SpringBoot.

  3. Prior Knowledge of PostgresSQL.

  4. Prior Knowledge of REST APIs and related concepts like path parameters, headers, JSON etc.

Key Functionalities

Users can -

  1. Create and search service definitions.

  2. Create and search services.

API Details

  1. /service-request/service/definition/v1/_create - Takes RequestInfo and ServiceDefinition in request body. ServiceDefinition has all the parameters related to the service definition being created.

  2. /service-request/service/definition/v1/_search - Allows searching of existing service definitions. Takes RequestInfo, ServiceDefinitionCriteria and Pagination object in request body.

  3. /service-request/service/v1/_create - Takes RequestInfo and Service in request body. Service has all the parameters related to the service being created against a particular ServiceDefinition.

  4. /service-request/service/v1/_search - Allows searching of existing services created against service definitions. Takes RequestInfo, ServiceCriteria and Pagination object in request body.

 

Detailed API payloads for interacting with Service Request for all the four endpoints can be found in the following collection -

Service Request Collection

Swagger Documentation

Link to the swagger documentation can be found below -

Service Request Contract