POST api/userquery/createorupdate

Request Information

URI Parameters

None.

Body Parameters

Collection of 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
  },
  {
    "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:
<ArrayOfDTOSYSUserQueryParameter xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PTI.AF.DTO">
  <DTOSYSUserQueryParameter>
    <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>
  <DTOSYSUserQueryParameter>
    <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>
</ArrayOfDTOSYSUserQueryParameter>

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 'IList`1'.

Response Information

Resource Description

None.