POST ticketGroup/SaveTicketGroup

Request Information

URI Parameters

None.

Body Parameters

TicketGroupItem
NameDescriptionTypeAdditional information
TicketGroupId

integer

None.

TenantId

integer

None.

GroupName

string

None.

DiagnosisObjectTypeId

integer

None.

DiagnosisObjectTypeName

string

None.

IsActive

boolean

None.

LinkedTemplateId

integer

None.

LinkedTemplateName

string

None.

Request Formats

application/json, text/json

Sample:
{
  "TicketGroupId": 1,
  "TenantId": 2,
  "GroupName": "sample string 3",
  "DiagnosisObjectTypeId": 4,
  "DiagnosisObjectTypeName": "sample string 5",
  "IsActive": true,
  "LinkedTemplateId": 1,
  "LinkedTemplateName": "sample string 7"
}

text/html

Sample:
{"TicketGroupId":1,"TenantId":2,"GroupName":"sample string 3","DiagnosisObjectTypeId":4,"DiagnosisObjectTypeName":"sample string 5","IsActive":true,"LinkedTemplateId":1,"LinkedTemplateName":"sample string 7"}

application/xml, text/xml

Sample:
<TicketGroupItem xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ListenerOnline.BusinessEntities.Ticket">
  <DiagnosisObjectTypeId>4</DiagnosisObjectTypeId>
  <DiagnosisObjectTypeName>sample string 5</DiagnosisObjectTypeName>
  <GroupName>sample string 3</GroupName>
  <IsActive>true</IsActive>
  <LinkedTemplateId>1</LinkedTemplateId>
  <LinkedTemplateName>sample string 7</LinkedTemplateName>
  <TenantId>2</TenantId>
  <TicketGroupId>1</TicketGroupId>
</TicketGroupItem>

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 'TicketGroupItem'.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.