POST api/InsertSupportTicket

Request Information

URI Parameters

None.

Body Parameters

CreateSupportTicket
NameDescriptionTypeAdditional information
MainSupportTktId

integer

None.

CustomerId

integer

None.

ProjectId

integer

None.

Title

string

None.

FlatId

integer

None.

MobileNo

string

None.

Topic

string

None.

Subject

string

None.

Description

string

None.

ImagePath

string

None.

Request Formats

application/json, text/json

Sample:
{
  "MainSupportTktId": 1,
  "CustomerId": 2,
  "ProjectId": 3,
  "Title": "sample string 4",
  "FlatId": 5,
  "MobileNo": "sample string 6",
  "Topic": "sample string 7",
  "Subject": "sample string 8",
  "Description": "sample string 9",
  "ImagePath": "sample string 10"
}

application/xml, text/xml

Sample:
<SupportTicketInsert.CreateSupportTicket xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/RECOSMart_Api">
  <CustomerId>2</CustomerId>
  <Description>sample string 9</Description>
  <FlatId>5</FlatId>
  <ImagePath>sample string 10</ImagePath>
  <MainSupportTktId>1</MainSupportTktId>
  <MobileNo>sample string 6</MobileNo>
  <ProjectId>3</ProjectId>
  <Subject>sample string 8</Subject>
  <Title>sample string 4</Title>
  <Topic>sample string 7</Topic>
</SupportTicketInsert.CreateSupportTicket>

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

Response Information

Resource Description

Object

None.

Response Formats

application/json, text/json

Sample:
{}

application/xml, text/xml

Sample:
<z:anyType xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns:z="http://schemas.microsoft.com/2003/10/Serialization/" />