PUT api/Administration/JobRoles/Update   Administration   All Services

Update the JobRole based on the JobRoleID in the passed in model.

Request Information

Headers

Fields Type M/O/C Definition
AccountLoginName String(50) Mandatory Login name of an account used for logging into Galaxy application to perform the service call
AccountPassword String(50) Mandatory Password of an account used for logging into Galaxy application to perform the service call
SourceSystemID String(50) Mandatory Name or ID of application or system that initiated the call.
DomainID String(50) Mandatory Name or ID of the domain that the call is being made to. (Value will be 1, if the site only has one domain)
Accept String Optional Format in which client expects the response: [application/json] (default), [application/xml]
ContentType String Optional Format in which client is sending the request: [application/json] (default), [application/xml]

Parameters

NameDescriptionAdditional informationType
model

Define this parameter in the request body.

JobRoleDTO
JobRoleDTO:
PropertyNameTypeRequiredDescription
JobRoleID Int32 Conditional
Name String Mandatory
ParentJobRoleID Int32 Mandatory
IsDeleted Boolean Conditional
CreatedBy Int32 Optional
CreatedDate DateTime Optional
UpdatedBy Int32 Optional
UpdatedDate DateTime Optional

Request body formats

application/json, text/json

Sample:
{
  "JobRoleID": 1,
  "Name": "sample string 2",
  "ParentJobRoleID": 3,
  "IsDeleted": true,
  "CreatedBy": 5,
  "CreatedDate": "2025-07-01T13:37:07.3071603+00:00",
  "UpdatedBy": 7,
  "UpdatedDate": "2025-07-01T13:37:07.3071603+00:00"
}

application/xml, text/xml

Sample:
<JobRoleDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/LMS.API.Service.Models.Administration">
  <IsDeleted>true</IsDeleted>
  <JobRoleID>1</JobRoleID>
  <Name>sample string 2</Name>
  <ParentJobRoleID>3</ParentJobRoleID>
</JobRoleDTO>

Return Type

Return type null