POST api/Ticket/Create

Request Information

URI Parameters

None.

Body Parameters

IncidentCreateModel
NameDescriptionTypeAdditional information
Id

globally unique identifier

None.

AuthKey

string

None.

Title

string

None.

EntitlementPINCode

string

None.

ContactNumber

string

None.

Description

string

None.

isConnectedToSupport

boolean

None.

Source

TicketSource

None.

Reason

TicketReason

None.

Severity

TicketSeverity

None.

CustomerType

Customertype

None.

BusinesUnit

string

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": "cc4c507d-832b-441c-8f9b-66941286f7cd",
  "AuthKey": "sample string 2",
  "Title": "sample string 3",
  "EntitlementPINCode": "sample string 4",
  "ContactNumber": "sample string 5",
  "Description": "sample string 6",
  "isConnectedToSupport": true,
  "Source": 1,
  "Reason": 1,
  "Severity": 1,
  "CustomerType": 1,
  "BusinesUnit": "sample string 8"
}

application/xml, text/xml

Sample:
<IncidentCreateModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SestekCrm.Entities.Concrete.IncidentModels">
  <AuthKey>sample string 2</AuthKey>
  <BusinesUnit>sample string 8</BusinesUnit>
  <ContactNumber>sample string 5</ContactNumber>
  <CustomerType>Internal</CustomerType>
  <Description>sample string 6</Description>
  <EntitlementPINCode>sample string 4</EntitlementPINCode>
  <Id>cc4c507d-832b-441c-8f9b-66941286f7cd</Id>
  <Reason>Problem</Reason>
  <Severity>S1</Severity>
  <Source>CRM</Source>
  <Title>sample string 3</Title>
  <isConnectedToSupport>true</isConnectedToSupport>
</IncidentCreateModel>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'IncidentCreateModel'.

Response Information

Resource Description

ApiResponse
NameDescriptionTypeAdditional information
Flag

boolean

None.

Message

string

None.

Response Formats

application/json, text/json

Sample:
{
  "Flag": true,
  "Message": "sample string 2"
}

application/xml, text/xml

Sample:
<ApiResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SestekCrm.Entities">
  <Flag>true</Flag>
  <Message>sample string 2</Message>
</ApiResponse>