POST api/userquery/createuserqueryparameter

Request Information

URI Parameters

None.

Body Parameters

DTOSYSUserQueryParameter
NameDescriptionTypeAdditional information
UserQueryParameterID

integer

None.

UserQueryID

integer

None.

Name

string

None.

Value

string

None.

DataType

string

None.

IsRequired

boolean

None.

FlagDeleted

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "UserQueryParameterID": 1,
  "UserQueryID": 2,
  "Name": "sample string 3",
  "Value": "sample string 4",
  "DataType": "sample string 5",
  "IsRequired": true,
  "FlagDeleted": true
}

application/xml, text/xml

Sample:
<DTOSYSUserQueryParameter xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PTI.AF.DTO">
  <DataType>sample string 5</DataType>
  <FlagDeleted>true</FlagDeleted>
  <IsRequired>true</IsRequired>
  <Name>sample string 3</Name>
  <UserQueryID>2</UserQueryID>
  <UserQueryParameterID>1</UserQueryParameterID>
  <Value>sample string 4</Value>
</DTOSYSUserQueryParameter>

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

Response Information

Resource Description

DTOSYSUserQueryParameter
NameDescriptionTypeAdditional information
UserQueryParameterID

integer

None.

UserQueryID

integer

None.

Name

string

None.

Value

string

None.

DataType

string

None.

IsRequired

boolean

None.

FlagDeleted

boolean

None.

Response Formats

application/json, text/json

Sample:
{
  "UserQueryParameterID": 1,
  "UserQueryID": 2,
  "Name": "sample string 3",
  "Value": "sample string 4",
  "DataType": "sample string 5",
  "IsRequired": true,
  "FlagDeleted": true
}

application/xml, text/xml

Sample:
<DTOSYSUserQueryParameter xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PTI.AF.DTO">
  <DataType>sample string 5</DataType>
  <FlagDeleted>true</FlagDeleted>
  <IsRequired>true</IsRequired>
  <Name>sample string 3</Name>
  <UserQueryID>2</UserQueryID>
  <UserQueryParameterID>1</UserQueryParameterID>
  <Value>sample string 4</Value>
</DTOSYSUserQueryParameter>