POST api/RaisedTicket/CreateTicket

Request Information

URI Parameters

None.

Body Parameters

Ticket
NameDescriptionTypeAdditional information
TicketId

integer

None.

CategoryId

integer

None.

ClientId

integer

None.

ExpectedDueDate

string

None.

RequestTypeId

integer

None.

IsUrgent

boolean

None.

Comment

string

None.

DocumentPath

string

None.

TicketStatus

string

None.

MachineIp

string

None.

UserName

string

None.

LoggedInUserName

string

None.

Flag

integer

None.

TicketNo

string

None.

Remarks

string

None.

FromDate

string

None.

ToDate

string

None.

Request Formats

application/json, text/json

Sample:
{
  "TicketId": 1,
  "CategoryId": 2,
  "ClientId": 3,
  "ExpectedDueDate": "sample string 4",
  "RequestTypeId": 5,
  "IsUrgent": true,
  "Comment": "sample string 7",
  "DocumentPath": "sample string 8",
  "TicketStatus": "sample string 9",
  "MachineIp": "sample string 10",
  "UserName": "sample string 11",
  "LoggedInUserName": "sample string 12",
  "Flag": 13,
  "TicketNo": "sample string 14",
  "Remarks": "sample string 15",
  "FromDate": "sample string 16",
  "ToDate": "sample string 17"
}

application/xml, text/xml

Sample:
<Ticket xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/HRMSWebApi.Models">
  <CategoryId>2</CategoryId>
  <ClientId>3</ClientId>
  <Comment>sample string 7</Comment>
  <DocumentPath>sample string 8</DocumentPath>
  <ExpectedDueDate>sample string 4</ExpectedDueDate>
  <Flag>13</Flag>
  <FromDate>sample string 16</FromDate>
  <IsUrgent>true</IsUrgent>
  <LoggedInUserName>sample string 12</LoggedInUserName>
  <MachineIp>sample string 10</MachineIp>
  <Remarks>sample string 15</Remarks>
  <RequestTypeId>5</RequestTypeId>
  <TicketId>1</TicketId>
  <TicketNo>sample string 14</TicketNo>
  <TicketStatus>sample string 9</TicketStatus>
  <ToDate>sample string 17</ToDate>
  <UserName>sample string 11</UserName>
</Ticket>

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.