POST api/SupportTicket/UpdateFromAdmin

Request Information

URI Parameters

None.

Body Parameters

SupportTicket
NameDescriptionTypeAdditional information
Id

integer

None.

TicketNumber

integer

None.

Title

string

None.

Description

string

None.

Machine

string

None.

SupportTicketStatusId

integer

None.

TicketDate

date

None.

SupportComment

string

None.

IsAdminRead

boolean

None.

CreatedDate

date

None.

CreatedBy

integer

None.

LastModifiedDate

date

None.

LastModifiedBy

integer

None.

DeletedDate

date

None.

DeletedBy

integer

None.

SupportTicketPhotos

Collection of SupportTicketPhoto

None.

SupportTicketStatusName

string

None.

SupportTicketClosedByName

string

None.

IsAdminReadCommentCount

integer

None.

IsCustomerReadCommentShowBadge

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "TicketNumber": 2,
  "Title": "sample string 3",
  "Description": "sample string 4",
  "Machine": "sample string 5",
  "SupportTicketStatusId": 6,
  "TicketDate": "2025-08-29T20:22:20.3582572+00:00",
  "SupportComment": "sample string 8",
  "IsAdminRead": true,
  "CreatedDate": "2025-08-29T20:22:20.3582572+00:00",
  "CreatedBy": 11,
  "LastModifiedDate": "2025-08-29T20:22:20.3582572+00:00",
  "LastModifiedBy": 13,
  "DeletedDate": "2025-08-29T20:22:20.3582572+00:00",
  "DeletedBy": 1,
  "SupportTicketPhotos": [
    {
      "Id": 1,
      "SupportTicketId": 2,
      "SupportTicketTypeId": 3,
      "ImagePath": "sample string 4",
      "CreatedDate": "2025-08-29T20:22:20.3582572+00:00",
      "CreatedBy": 6,
      "LastModifiedDate": "2025-08-29T20:22:20.3582572+00:00",
      "LastModifiedBy": 8,
      "DeletedDate": "2025-08-29T20:22:20.3582572+00:00",
      "DeletedBy": 1,
      "ImageBase64": "sample string 9",
      "SupportTicketTypeName": "sample string 10"
    },
    {
      "Id": 1,
      "SupportTicketId": 2,
      "SupportTicketTypeId": 3,
      "ImagePath": "sample string 4",
      "CreatedDate": "2025-08-29T20:22:20.3582572+00:00",
      "CreatedBy": 6,
      "LastModifiedDate": "2025-08-29T20:22:20.3582572+00:00",
      "LastModifiedBy": 8,
      "DeletedDate": "2025-08-29T20:22:20.3582572+00:00",
      "DeletedBy": 1,
      "ImageBase64": "sample string 9",
      "SupportTicketTypeName": "sample string 10"
    }
  ],
  "SupportTicketStatusName": "sample string 14",
  "SupportTicketClosedByName": "sample string 15",
  "IsAdminReadCommentCount": 16,
  "IsCustomerReadCommentShowBadge": true
}

application/xml, text/xml

Sample:
<SupportTicket xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MSCWebAPI.Domain">
  <CreatedBy>11</CreatedBy>
  <CreatedDate>2025-08-29T20:22:20.3582572+00:00</CreatedDate>
  <DeletedBy>1</DeletedBy>
  <DeletedDate>2025-08-29T20:22:20.3582572+00:00</DeletedDate>
  <Description>sample string 4</Description>
  <Id>1</Id>
  <IsAdminRead>true</IsAdminRead>
  <IsAdminReadCommentCount>16</IsAdminReadCommentCount>
  <IsCustomerReadCommentShowBadge>true</IsCustomerReadCommentShowBadge>
  <LastModifiedBy>13</LastModifiedBy>
  <LastModifiedDate>2025-08-29T20:22:20.3582572+00:00</LastModifiedDate>
  <Machine>sample string 5</Machine>
  <SupportComment>sample string 8</SupportComment>
  <SupportTicketClosedByName>sample string 15</SupportTicketClosedByName>
  <SupportTicketPhotos>
    <SupportTicketPhoto>
      <CreatedBy>6</CreatedBy>
      <CreatedDate>2025-08-29T20:22:20.3582572+00:00</CreatedDate>
      <DeletedBy>1</DeletedBy>
      <DeletedDate>2025-08-29T20:22:20.3582572+00:00</DeletedDate>
      <Id>1</Id>
      <ImageBase64>sample string 9</ImageBase64>
      <ImagePath>sample string 4</ImagePath>
      <LastModifiedBy>8</LastModifiedBy>
      <LastModifiedDate>2025-08-29T20:22:20.3582572+00:00</LastModifiedDate>
      <SupportTicketId>2</SupportTicketId>
      <SupportTicketTypeId>3</SupportTicketTypeId>
      <SupportTicketTypeName>sample string 10</SupportTicketTypeName>
    </SupportTicketPhoto>
    <SupportTicketPhoto>
      <CreatedBy>6</CreatedBy>
      <CreatedDate>2025-08-29T20:22:20.3582572+00:00</CreatedDate>
      <DeletedBy>1</DeletedBy>
      <DeletedDate>2025-08-29T20:22:20.3582572+00:00</DeletedDate>
      <Id>1</Id>
      <ImageBase64>sample string 9</ImageBase64>
      <ImagePath>sample string 4</ImagePath>
      <LastModifiedBy>8</LastModifiedBy>
      <LastModifiedDate>2025-08-29T20:22:20.3582572+00:00</LastModifiedDate>
      <SupportTicketId>2</SupportTicketId>
      <SupportTicketTypeId>3</SupportTicketTypeId>
      <SupportTicketTypeName>sample string 10</SupportTicketTypeName>
    </SupportTicketPhoto>
  </SupportTicketPhotos>
  <SupportTicketStatusId>6</SupportTicketStatusId>
  <SupportTicketStatusName>sample string 14</SupportTicketStatusName>
  <TicketDate>2025-08-29T20:22:20.3582572+00:00</TicketDate>
  <TicketNumber>2</TicketNumber>
  <Title>sample string 3</Title>
</SupportTicket>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.