POST api/Administration/UserJobRoles/DefaultAction Administration All Services
Create a new User JobRole pairing.
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
Name | Description | Additional information | Type | ||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
model |
Define this parameter in the request body. |
UserJobRoleDTO | |||||||||||||||||||||||||||||||||||||||||||
|
Request body formats
application/json, text/json
Sample:
{ "UserJobRoleID": 1, "JobRoleID": 2, "JobRoleName": "sample string 3", "UserID": 4, "UserName": "sample string 5", "CreatedBy": 6, "CreatedDate": "2025-07-01T14:09:06.440891+00:00", "UpdatedBy": 8, "UpdatedDate": "2025-07-01T14:09:06.440891+00:00" }
application/xml, text/xml
Sample:
<UserJobRoleDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/LMS.API.Service.Models.Administration"> <JobRoleID>2</JobRoleID> <JobRoleName>sample string 3</JobRoleName> <UserID>4</UserID> <UserJobRoleID>1</UserJobRoleID> <UserName>sample string 5</UserName> </UserJobRoleDTO>
Return Type
Return type | Int32 |
Response Information
Response body formats
application/json, text/json
Sample:
1
application/xml, text/xml
Sample:
<int>1</int>