Update() [ServiceRequestManager]
Update an existing Service Request
Description
Update an existing Service Request
and return an updated Service Request
Package Details
Interface
IAddressManager
Syntax
IAddressManager.Update(BaseServiceRequest serviceRequest)
Returns
ServiceRequest
API
[PUT] /api/v1/servicerequests
Parameter
Service Request
Returns
200 OK - Updated Service Request
Example
ServiceRequest serviceRequest{
Id = 0,
Guid = "string",
UserId = 0,
ServiceId = 0,
OrganizationId = 0,
RequestStatus = "Unknown",
EnglishDisplayName = "string",
FrenchDisplayName = "string",
MetadataStructureId = 0,
ServiceAttributeId = 0,
Comment = "string",
RequesterId = 0,
MailCoordinateId = 0,
PlaceOfSupply = "string",
RequesterOrganizationId = 0
}
var updatedServiceRequest = await _serviceRequestManager.Update(serviceRequest);