Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Notes:
1) Metadata structure should be defined for the service
2) Matching will ignore cases however where applicable accents must be specified in "SearchValue represents data stored in metadata for service request
3) "

Package Details

Interface

IServiceRequestManager

Syntax

Task<ServiceRequestCollectionDTO> SearchServiceRequest(ServiceRequestSearchDTO serviceRequestSearchDTO)

Returns

Task<ServiceRequestCollectionDTO>

API Endpoint

[POST] /api/servicerequests/search

Parameters

Type

Description

serviceRequestSearchDTO

ServiceRequestSearchDTO

Object used to filter service request metadata

Detail

The parameter, serviceRequestSearchDTO, consists of the following properties

Properties

Type

Description

Page

integer

The page number to be retrieved

PageSize

integer

Number of entries on a page

UserId

integer

User who has created the service request

ServiceId

integer

The service where the service request belongs

SearchValue

string

A string that will be used to list service request by matching metadata

SearchOption

string

A string that represents the KeyName in metadata structure used to determine which structure column will be filtered.

Note:

  1. SearchValue can be partial and should be minimum two characters in length after trimming

...

  1. .

...

  1. SearchOption determines the column structure to use for filtering metadata (i.e for Service 60, we want to filter by "project name" or "nom du projet"). It can be spedified in English or French.

...

Package Details

Interface

IServiceRequestManager

Syntax

Task<ServiceRequestCollectionDTO> SearchServiceRequest(ServiceRequestSearchDTO serviceRequestSearchDTO)

Returns

Task<ServiceRequestCollectionDTO>

API Endpoint

...