POST api/admin/CreateMSTeamsTicket?type={type}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
type

string

Required

Body Parameters

TicketDTO
NameDescriptionTypeAdditional information
TicketId

string

None.

TicketType

string

None.

LocationAccountNumber

string

None.

AccountId

string

None.

Subject

string

None.

Description

string

None.

Category

string

None.

SubCategory

string

None.

OtherCategory

string

None.

Priority

string

None.

Status

string

None.

Escalated

boolean

None.

Starred

boolean

None.

Department

string

None.

PreferredCommunication

string

None.

ContactId

string

None.

CircuitId

string

None.

Request Formats

application/json, text/json

Sample:
{
  "TicketId": "sample string 1",
  "TicketType": "sample string 2",
  "LocationAccountNumber": "sample string 3",
  "AccountId": "sample string 4",
  "Subject": "sample string 5",
  "Description": "sample string 6",
  "Category": "sample string 7",
  "SubCategory": "sample string 8",
  "OtherCategory": "sample string 9",
  "Priority": "sample string 10",
  "Status": "sample string 11",
  "Escalated": true,
  "Starred": true,
  "Department": "sample string 12",
  "PreferredCommunication": "sample string 13",
  "ContactId": "sample string 14",
  "CircuitId": "sample string 15"
}

application/xml, text/xml

Sample:
<TicketDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MSPApi.DTO.Ticketing">
  <AccountId>sample string 4</AccountId>
  <Category>sample string 7</Category>
  <CircuitId>sample string 15</CircuitId>
  <ContactId>sample string 14</ContactId>
  <Department>sample string 12</Department>
  <Description>sample string 6</Description>
  <Escalated>true</Escalated>
  <LocationAccountNumber>sample string 3</LocationAccountNumber>
  <OtherCategory>sample string 9</OtherCategory>
  <PreferredCommunication>sample string 13</PreferredCommunication>
  <Priority>sample string 10</Priority>
  <Starred>true</Starred>
  <Status>sample string 11</Status>
  <SubCategory>sample string 8</SubCategory>
  <Subject>sample string 5</Subject>
  <TicketId>sample string 1</TicketId>
  <TicketType>sample string 2</TicketType>
</TicketDTO>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

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.