UpdateName()

Update an existing service request display's name.

Description

Update an existing service request display's name.

Package Details

Interface

IAddressManager

Syntax

IAddressManager.UpdateName(int serviceRequestId, int userId, string englishName, string frenchName)

API

[POST] /api/v1/servicerequests/{id}/updatename

Parameters

Parameter

Description

Type

Parameter

Description

Type

id

id of the service request

int

userId

id of the user updating the service request

int

englishName

Name of the service request in english

string

frenchName

Name of the service request in french

string

Returns

200 OK

Example

int id = 8448; int userId = 4127; string englishName = "Test_SR_English"; string frenchName = "Test_SR_French_Name_16itl8jsw"; await _serviceRequestManager.UpdateName(id, userId, englishName, frenchName);