PATCH api/Contacts/UpdateSystemUser?id={id}

The update system user.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

The id.

string

Required

Body Parameters

The EMOS user request.

UserRequest
NameDescriptionTypeAdditional information
IsSystemAdministrator

boolean

None.

UserId

string

None.

Password

string

None.

IsUserActive

boolean

None.

DefaultRoleName

string

None.

AccessLevelAssignmentRequests

Collection of AccessLevelAssignmentRequest

None.

CopyUserToOtherEnvironment

boolean

None.

NotificationRequest

NotificationRequest

None.

Request Formats

application/json, text/json

Sample:
{
  "IsSystemAdministrator": true,
  "UserId": "sample string 2",
  "Password": "sample string 3",
  "IsUserActive": true,
  "DefaultRoleName": "sample string 5",
  "AccessLevelAssignmentRequests": [
    {
      "Expiry": "2024-12-01T06:49:48.5095283+00:00",
      "AccessLevelTypeKey": "sample string 2",
      "EocId": "sample string 3"
    },
    {
      "Expiry": "2024-12-01T06:49:48.5095283+00:00",
      "AccessLevelTypeKey": "sample string 2",
      "EocId": "sample string 3"
    }
  ],
  "CopyUserToOtherEnvironment": true,
  "NotificationRequest": {
    "NotificationID": "sample string 1",
    "ReferenceID": "sample string 2",
    "Subject": "sample string 3",
    "Message": "sample string 4",
    "CreatedByUserName": "sample string 5",
    "Date": "2024-12-01T06:49:48.5095283+00:00",
    "ToContacts": [
      {
        "Id": "sample string 1",
        "Noticed": true,
        "Read": true,
        "Expired": true,
        "Name": "sample string 5",
        "EmailId": "sample string 6",
        "PhoneNumber": "sample string 7"
      },
      {
        "Id": "sample string 1",
        "Noticed": true,
        "Read": true,
        "Expired": true,
        "Name": "sample string 5",
        "EmailId": "sample string 6",
        "PhoneNumber": "sample string 7"
      }
    ],
    "ToDistributionList": [
      {
        "DistributionListId": "sample string 1",
        "EocId": "sample string 2",
        "EocName": "sample string 3",
        "Name": "sample string 4",
        "Description": "sample string 5",
        "Contacts": [
          {
            "Id": "sample string 1",
            "Name": "sample string 2",
            "Email": "sample string 3",
            "PhoneNumber": "sample string 4",
            "Noticed": true,
            "Read": true,
            "Expired": true
          },
          {
            "Id": "sample string 1",
            "Name": "sample string 2",
            "Email": "sample string 3",
            "PhoneNumber": "sample string 4",
            "Noticed": true,
            "Read": true,
            "Expired": true
          }
        ],
        "Created": "2024-12-01T06:49:48.5095283+00:00"
      },
      {
        "DistributionListId": "sample string 1",
        "EocId": "sample string 2",
        "EocName": "sample string 3",
        "Name": "sample string 4",
        "Description": "sample string 5",
        "Contacts": [
          {
            "Id": "sample string 1",
            "Name": "sample string 2",
            "Email": "sample string 3",
            "PhoneNumber": "sample string 4",
            "Noticed": true,
            "Read": true,
            "Expired": true
          },
          {
            "Id": "sample string 1",
            "Name": "sample string 2",
            "Email": "sample string 3",
            "PhoneNumber": "sample string 4",
            "Noticed": true,
            "Read": true,
            "Expired": true
          }
        ],
        "Created": "2024-12-01T06:49:48.5095283+00:00"
      }
    ],
    "ToEmail": [
      "sample string 1",
      "sample string 2"
    ],
    "ToSms": [
      "sample string 1",
      "sample string 2"
    ],
    "TypeOfNotification": null,
    "FromContact": "sample string 7",
    "TypeOfTriggerEventKey": "sample string 8",
    "Documents": null,
    "Replies": null,
    "NotificationCategoryKey": "sample string 9",
    "FirstRef": "sample string 10",
    "SecondRef": "sample string 11",
    "EMOS": true,
    "Email": true,
    "SMS": true,
    "Priority": "sample string 15"
  }
}

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

The .

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.